@nativewrappers/common 0.0.125 → 0.0.127

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 (103) hide show
  1. package/common-game/CommonGameConstants.d.ts +7 -0
  2. package/common-game/CommonGameConstants.js +24 -0
  3. package/common-game/CommonModel.d.ts +99 -0
  4. package/common-game/CommonModel.js +172 -0
  5. package/common-game/CommonTasks.d.ts +44 -0
  6. package/common-game/CommonTasks.js +233 -0
  7. package/common-game/cfx/StateBagChangeHandler.d.ts +1 -0
  8. package/common-game/cfx/StateBagChangeHandler.js +0 -0
  9. package/common-game/cfx/cfx.d.ts +6 -0
  10. package/common-game/cfx/cfx.js +4 -0
  11. package/common-game/common/Command.d.ts +77 -0
  12. package/common-game/common/Command.js +152 -0
  13. package/common-game/common/Convar.d.ts +13 -0
  14. package/common-game/common/Convar.js +58 -0
  15. package/common-game/common/GlobalData.d.ts +12 -0
  16. package/common-game/common/GlobalData.js +20 -0
  17. package/common-game/common/Kvp.d.ts +69 -0
  18. package/common-game/common/Kvp.js +137 -0
  19. package/common-game/common/Resource.d.ts +14 -0
  20. package/common-game/common/Resource.js +54 -0
  21. package/common-game/common/decors/ConVar.d.ts +14 -0
  22. package/common-game/common/decors/ConVar.js +70 -0
  23. package/common-game/common/decors/Events.d.ts +66 -0
  24. package/common-game/common/decors/Events.js +163 -0
  25. package/common-game/common/decors/Exports.d.ts +1 -0
  26. package/common-game/common/decors/Exports.js +53 -0
  27. package/common-game/common/decors/Permissions.d.ts +3 -0
  28. package/common-game/common/decors/Permissions.js +49 -0
  29. package/common-game/common/decors/Resources.d.ts +8 -0
  30. package/common-game/common/decors/Resources.js +94 -0
  31. package/common-game/common/decors/Ticks.d.ts +9 -0
  32. package/common-game/common/decors/Ticks.js +32 -0
  33. package/common-game/common/net/NetworkedMap.d.ts +28 -0
  34. package/common-game/common/net/NetworkedMap.js +225 -0
  35. package/common-game/common/types.d.ts +5 -0
  36. package/common-game/common/types.js +0 -0
  37. package/common-game/common/utils/ClassTypes.d.ts +11 -0
  38. package/common-game/common/utils/ClassTypes.js +15 -0
  39. package/common-game/common/utils/Color.d.ts +14 -0
  40. package/common-game/common/utils/Color.js +33 -0
  41. package/common-game/common/utils/Delay.d.ts +1 -0
  42. package/common-game/common/utils/Delay.js +6 -0
  43. package/common-game/common/utils/Maths.d.ts +4 -0
  44. package/common-game/common/utils/Maths.js +18 -0
  45. package/common-game/common/utils/Point.d.ts +9 -0
  46. package/common-game/common/utils/Point.js +36 -0
  47. package/common-game/common/utils/PointF.d.ts +7 -0
  48. package/common-game/common/utils/PointF.js +18 -0
  49. package/common-game/common/utils/Quaternion.d.ts +10 -0
  50. package/common-game/common/utils/Quaternion.js +33 -0
  51. package/common-game/common/utils/Vector.d.ts +429 -0
  52. package/common-game/common/utils/Vector.js +589 -0
  53. package/common-game/common/utils/cleanPlayerName.d.ts +6 -0
  54. package/common-game/common/utils/cleanPlayerName.js +17 -0
  55. package/common-game/common/utils/enumValues.d.ts +12 -0
  56. package/common-game/common/utils/enumValues.js +20 -0
  57. package/common-game/common/utils/getStringFromUInt8Array.d.ts +8 -0
  58. package/common-game/common/utils/getStringFromUInt8Array.js +6 -0
  59. package/common-game/common/utils/getUInt32FromUint8Array.d.ts +8 -0
  60. package/common-game/common/utils/getUInt32FromUint8Array.js +6 -0
  61. package/common-game/common/utils/randomInt.d.ts +1 -0
  62. package/common-game/common/utils/randomInt.js +9 -0
  63. package/common-game/definitions/index.d.js +0 -0
  64. package/common-game/definitions/redm.d.js +0 -0
  65. package/common-game/entities/CommonBaseEntity.d.ts +116 -0
  66. package/common-game/entities/CommonBaseEntity.js +266 -0
  67. package/common-game/entities/CommonBaseEntityBone.d.ts +11 -0
  68. package/common-game/entities/CommonBaseEntityBone.js +32 -0
  69. package/common-game/entities/CommonBaseEntityBoneCollection.d.ts +9 -0
  70. package/common-game/entities/CommonBaseEntityBoneCollection.js +17 -0
  71. package/common-game/entities/CommonEntityBone.d.ts +5 -0
  72. package/common-game/entities/CommonEntityBone.js +14 -0
  73. package/common-game/entities/CommonEntityBoneCollection.d.ts +9 -0
  74. package/common-game/entities/CommonEntityBoneCollection.js +24 -0
  75. package/common-game/entities/CommonEntityType.d.ts +4 -0
  76. package/common-game/entities/CommonEntityType.js +0 -0
  77. package/common-game/entities/CommonPed.d.ts +16 -0
  78. package/common-game/entities/CommonPed.js +52 -0
  79. package/common-game/entities/CommonPedBone.d.ts +6 -0
  80. package/common-game/entities/CommonPedBone.js +17 -0
  81. package/common-game/entities/CommonPedBoneCollection.d.ts +10 -0
  82. package/common-game/entities/CommonPedBoneCollection.js +31 -0
  83. package/common-game/entities/CommonPlayer.d.ts +61 -0
  84. package/common-game/entities/CommonPlayer.js +156 -0
  85. package/common-game/entities/CommonProp.d.ts +15 -0
  86. package/common-game/entities/CommonProp.js +43 -0
  87. package/common-game/entities/CommonVehicle.d.ts +11 -0
  88. package/common-game/entities/CommonVehicle.js +36 -0
  89. package/common-game/entities/GetEntityClassIdFromHandle.d.ts +2 -0
  90. package/common-game/entities/GetEntityClassIdFromHandle.js +23 -0
  91. package/common-game/entities/IHandle.d.ts +6 -0
  92. package/common-game/entities/IHandle.js +20 -0
  93. package/common-game/enums/VehicleSeat.d.ts +13 -0
  94. package/common-game/enums/VehicleSeat.js +17 -0
  95. package/common-game/index.d.ts +50 -0
  96. package/common-game/index.js +50 -0
  97. package/common-game/interfaces/Dimension.d.ts +5 -0
  98. package/common-game/interfaces/Dimension.js +0 -0
  99. package/common-game/utils/Animations.d.ts +19 -0
  100. package/common-game/utils/Animations.js +43 -0
  101. package/index.d.ts +52 -1
  102. package/index.js +52 -1
  103. package/package.json +1 -1
package/index.js CHANGED
@@ -23,4 +23,55 @@ export * from "./decors/Events";
23
23
  export * from "./decors/Exports";
24
24
  export * from "./decors/Permissions";
25
25
  export * from "./decors/Resources";
26
- export * from "./decors/Ticks";
26
+ export * from "./decors/Ticks";
27
+ export * from "./common-game/CommonGameConstants";
28
+ export * from "./common-game/CommonModel";
29
+ export * from "./common-game/CommonTasks";
30
+ export * from "./common-game/index";
31
+ export * from "./common-game/utils/Animations";
32
+ export * from "./common-game/interfaces/Dimension";
33
+ export * from "./common-game/enums/VehicleSeat";
34
+ export * from "./common-game/entities/CommonBaseEntity";
35
+ export * from "./common-game/entities/CommonBaseEntityBone";
36
+ export * from "./common-game/entities/CommonBaseEntityBoneCollection";
37
+ export * from "./common-game/entities/CommonEntityBone";
38
+ export * from "./common-game/entities/CommonEntityBoneCollection";
39
+ export * from "./common-game/entities/CommonEntityType";
40
+ export * from "./common-game/entities/CommonPed";
41
+ export * from "./common-game/entities/CommonPedBone";
42
+ export * from "./common-game/entities/CommonPedBoneCollection";
43
+ export * from "./common-game/entities/CommonPlayer";
44
+ export * from "./common-game/entities/CommonProp";
45
+ export * from "./common-game/entities/CommonVehicle";
46
+ export * from "./common-game/entities/GetEntityClassIdFromHandle";
47
+ export * from "./common-game/entities/IHandle";
48
+ export * from "./common-game/definitions/index.d";
49
+ export * from "./common-game/definitions/redm.d";
50
+ export * from "./common-game/common/Command";
51
+ export * from "./common-game/common/Convar";
52
+ export * from "./common-game/common/GlobalData";
53
+ export * from "./common-game/common/Kvp";
54
+ export * from "./common-game/common/Resource";
55
+ export * from "./common-game/common/types";
56
+ export * from "./common-game/common/utils/ClassTypes";
57
+ export * from "./common-game/common/utils/Color";
58
+ export * from "./common-game/common/utils/Delay";
59
+ export * from "./common-game/common/utils/Maths";
60
+ export * from "./common-game/common/utils/Point";
61
+ export * from "./common-game/common/utils/PointF";
62
+ export * from "./common-game/common/utils/Quaternion";
63
+ export * from "./common-game/common/utils/Vector";
64
+ export * from "./common-game/common/utils/cleanPlayerName";
65
+ export * from "./common-game/common/utils/enumValues";
66
+ export * from "./common-game/common/utils/getStringFromUInt8Array";
67
+ export * from "./common-game/common/utils/getUInt32FromUint8Array";
68
+ export * from "./common-game/common/utils/randomInt";
69
+ export * from "./common-game/common/net/NetworkedMap";
70
+ export * from "./common-game/common/decors/ConVar";
71
+ export * from "./common-game/common/decors/Events";
72
+ export * from "./common-game/common/decors/Exports";
73
+ export * from "./common-game/common/decors/Permissions";
74
+ export * from "./common-game/common/decors/Resources";
75
+ export * from "./common-game/common/decors/Ticks";
76
+ export * from "./common-game/cfx/StateBagChangeHandler";
77
+ export * from "./common-game/cfx/cfx";
package/package.json CHANGED
@@ -8,7 +8,7 @@
8
8
  ],
9
9
  "license": "MIT",
10
10
  "type": "module",
11
- "version": "0.0.125",
11
+ "version": "0.0.127",
12
12
  "repository": {
13
13
  "type": "git",
14
14
  "url": "https://github.com/nativewrappers/nativewrappers.git"