@nativewrappers/redm 0.0.79 → 0.0.81

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (82) hide show
  1. package/Attribute.js +143 -0
  2. package/Controls.js +22 -0
  3. package/Game.d.ts +2 -2
  4. package/Game.js +18 -0
  5. package/GameConstants.d.ts +1 -1
  6. package/GameConstants.js +24 -0
  7. package/Model.js +153 -0
  8. package/RawControls.d.ts +1 -1
  9. package/RawControls.js +22 -0
  10. package/RelationshipGroup.js +72 -0
  11. package/Volume.d.ts +1 -1
  12. package/Volume.js +32 -0
  13. package/common/Command.js +111 -0
  14. package/common/Convar.js +58 -0
  15. package/common/GlobalData.js +16 -0
  16. package/common/Kvp.js +137 -0
  17. package/common/Resource.js +54 -0
  18. package/common/decors/Events.js +170 -0
  19. package/common/net/NetworkedMap.js +225 -0
  20. package/common/utils/ClassTypes.js +15 -0
  21. package/common/utils/Color.js +33 -0
  22. package/common/utils/Delay.d.ts +1 -0
  23. package/common/utils/Delay.js +6 -0
  24. package/common/utils/Maths.js +18 -0
  25. package/common/utils/Point.d.ts +9 -0
  26. package/common/utils/Point.js +36 -0
  27. package/common/utils/PointF.d.ts +1 -1
  28. package/common/utils/PointF.js +18 -0
  29. package/common/utils/Quaternion.d.ts +1 -1
  30. package/common/utils/Quaternion.js +33 -0
  31. package/common/utils/Vector.js +589 -0
  32. package/common/utils/cleanPlayerName.js +17 -0
  33. package/common/utils/enumValues.js +20 -0
  34. package/common/utils/getStringFromUInt8Array.js +6 -0
  35. package/common/utils/getUInt32FromUint8Array.js +6 -0
  36. package/definitions/Citizen.d.js +0 -0
  37. package/definitions/index.d.js +0 -0
  38. package/definitions/redm.d.js +0 -0
  39. package/entities/BaseEntity.d.ts +1 -1
  40. package/entities/BaseEntity.js +99 -0
  41. package/entities/Entity.d.ts +1 -1
  42. package/entities/Entity.js +99 -0
  43. package/entities/Ped.d.ts +1 -1
  44. package/entities/Ped.js +336 -0
  45. package/entities/Pickup.d.ts +4 -0
  46. package/entities/Pickup.js +14 -0
  47. package/entities/Player.js +57 -0
  48. package/entities/Prop.js +11 -0
  49. package/entities/Vehicle.d.ts +1 -1
  50. package/entities/Vehicle.js +23 -0
  51. package/enums/Attributes.js +56 -0
  52. package/enums/Entity.js +20 -0
  53. package/enums/Keys.js +809 -0
  54. package/enums/Ped.js +31 -0
  55. package/enums/RawKeys.js +234 -0
  56. package/enums/Relationship.js +13 -0
  57. package/enums/VehicleSeat.js +17 -0
  58. package/interfaces/Dimensions.d.ts +1 -1
  59. package/interfaces/Dimensions.js +0 -0
  60. package/package.json +2 -2
  61. package/types/Throwable.js +0 -0
  62. package/utils/Native.js +8 -0
  63. package/world/createDraftVehicle.d.ts +2 -2
  64. package/world/createDraftVehicle.js +32 -0
  65. package/world/createPed.d.ts +2 -2
  66. package/world/createPed.js +28 -0
  67. package/world/createProp.d.ts +1 -1
  68. package/world/createProp.js +28 -0
  69. package/world/createVehicle.d.ts +2 -2
  70. package/world/createVehicle.js +28 -0
  71. package/common/index.d.ts +0 -8
  72. package/common/utils/Vector2.d.ts +0 -1
  73. package/common/utils/Vector3.d.ts +0 -1
  74. package/common/utils/Vector4.d.ts +0 -1
  75. package/common/utils/index.d.ts +0 -12
  76. package/entities/index.d.ts +0 -4
  77. package/enums/index.d.ts +0 -6
  78. package/index.d.ts +0 -11
  79. package/index.js +0 -3613
  80. package/utils/index.d.ts +0 -2
  81. package/world/index.d.ts +0 -4
  82. /package/{game/index.d.ts → common/types.js} +0 -0
package/utils/index.d.ts DELETED
@@ -1,2 +0,0 @@
1
- export * from "./Native";
2
- export { Vector2, Vector3, Vector4, Maths, Color, Quaternion, Delay, enumValues, getStringFromUInt8Array, getUInt32FromUint8Array, } from "../common/utils/index";
package/world/index.d.ts DELETED
@@ -1,4 +0,0 @@
1
- export { createPed } from "./createPed";
2
- export { createProp } from "./createProp";
3
- export { createVehicle } from "./createVehicle";
4
- export { createDraftVehicle } from "./createDraftVehicle";
File without changes