@nativewrappers/redm 0.0.65 → 0.0.73

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 (76) hide show
  1. package/Attribute.d.ts +2 -2
  2. package/Controls.d.ts +1 -1
  3. package/Model.d.ts +1 -1
  4. package/README.md +45 -0
  5. package/RawControls.d.ts +1 -1
  6. package/RelationshipGroup.d.ts +1 -1
  7. package/Volume.d.ts +1 -1
  8. package/common/Command.d.ts +30 -0
  9. package/common/Convar.d.ts +13 -0
  10. package/common/GlobalData.d.ts +8 -0
  11. package/common/Kvp.d.ts +69 -0
  12. package/common/Resource.d.ts +14 -0
  13. package/common/decors/Events.d.ts +54 -0
  14. package/common/index.d.ts +8 -0
  15. package/common/net/NetworkedMap.d.ts +28 -0
  16. package/common/types.d.ts +5 -0
  17. package/common/utils/ClassTypes.d.ts +11 -0
  18. package/common/utils/Color.d.ts +14 -0
  19. package/common/utils/Maths.d.ts +4 -0
  20. package/common/utils/PointF.d.ts +7 -0
  21. package/common/utils/Quaternion.d.ts +10 -0
  22. package/common/utils/Vector.d.ts +429 -0
  23. package/common/utils/Vector2.d.ts +1 -0
  24. package/common/utils/Vector3.d.ts +1 -0
  25. package/common/utils/Vector4.d.ts +1 -0
  26. package/common/utils/cleanPlayerName.d.ts +6 -0
  27. package/common/utils/enumValues.d.ts +12 -0
  28. package/common/utils/getStringFromUInt8Array.d.ts +8 -0
  29. package/common/utils/getUInt32FromUint8Array.d.ts +8 -0
  30. package/common/utils/index.d.ts +12 -0
  31. package/entities/BaseEntity.d.ts +1 -1
  32. package/entities/Entity.d.ts +3 -3
  33. package/entities/Ped.d.ts +4 -4
  34. package/entities/Vehicle.d.ts +1 -1
  35. package/index.d.ts +1 -1
  36. package/index.js +3167 -11
  37. package/interfaces/Dimensions.d.ts +1 -1
  38. package/package.json +6 -4
  39. package/utils/index.d.ts +1 -1
  40. package/world/createDraftVehicle.d.ts +3 -3
  41. package/world/createPed.d.ts +3 -3
  42. package/world/createProp.d.ts +3 -3
  43. package/world/createVehicle.d.ts +3 -3
  44. package/Attribute.js +0 -143
  45. package/Controls.js +0 -14
  46. package/Game.js +0 -10
  47. package/GameConstants.js +0 -20
  48. package/Model.js +0 -153
  49. package/RawControls.js +0 -14
  50. package/RelationshipGroup.js +0 -67
  51. package/Volume.js +0 -13
  52. package/entities/BaseEntity.js +0 -91
  53. package/entities/Entity.js +0 -59
  54. package/entities/Ped.js +0 -331
  55. package/entities/Player.js +0 -51
  56. package/entities/Prop.js +0 -3
  57. package/entities/Vehicle.js +0 -15
  58. package/entities/index.js +0 -4
  59. package/enums/Attributes.js +0 -51
  60. package/enums/Entity.js +0 -16
  61. package/enums/Keys.js +0 -806
  62. package/enums/Ped.js +0 -26
  63. package/enums/RawKeys.js +0 -246
  64. package/enums/Relationship.js +0 -10
  65. package/enums/VehicleSeat.js +0 -14
  66. package/enums/index.js +0 -6
  67. package/game/index.js +0 -1
  68. package/interfaces/Dimensions.js +0 -1
  69. package/types/Throwable.js +0 -4
  70. package/utils/Native.js +0 -9
  71. package/utils/index.js +0 -2
  72. package/world/createDraftVehicle.js +0 -17
  73. package/world/createPed.js +0 -16
  74. package/world/createProp.js +0 -16
  75. package/world/createVehicle.js +0 -16
  76. package/world/index.js +0 -4
package/entities/Ped.js DELETED
@@ -1,331 +0,0 @@
1
- import { Attributes } from "../Attribute";
2
- import { _N } from "../utils";
3
- import { BaseEntity } from "./BaseEntity";
4
- import { Vehicle } from "./Vehicle";
5
- export class Ped extends BaseEntity {
6
- attributes;
7
- constructor(handle) {
8
- super(handle);
9
- }
10
- /**
11
- * Blocks scenarios inbetween the specified vectors
12
- * @todo Move to Game
13
- * @param vec1
14
- * @param vec2
15
- * @param blockingFlags you can find blocking flags [here](https://github.com/Halen84/RDR3-Native-Flags-And-Enums/blob/main/ADD_SCENARIO_BLOCKING_AREA/README.md)
16
- * @returns the scenarioId that can be used in {@link removeScenarioBlock} to unblock
17
- */
18
- static blockScenariosInArea(vec1, vec2, blockingFlags) {
19
- return AddScenarioBlockingArea(vec1.x, vec1.y, vec1.z, vec2.x, vec2.y, vec2.z, true, blockingFlags);
20
- }
21
- /**
22
- * Removes the blocking of scenarios in the specified area
23
- * @param scenarioId the number returned from {@link blockScenariosInArea}
24
- */
25
- static removeScenarioBlock(scenarioId) {
26
- RemoveScenarioBlockingArea(scenarioId, false);
27
- }
28
- /**
29
- * While this increases the peds max health, if used on a player it wont increase the max core value on the hud
30
- */
31
- set MaxHealth(amount) {
32
- SetPedMaxHealth(this.Handle, amount);
33
- }
34
- /**
35
- * @returns the maximum health of the ped
36
- */
37
- get MaxHealth() {
38
- return GetPedMaxHealth(this.Handle);
39
- }
40
- /**
41
- * @returns the {@link Attributes} for the current ped
42
- */
43
- get Attributes() {
44
- if (this.attributes)
45
- return this.attributes;
46
- return (this.attributes = new Attributes(this));
47
- }
48
- get InVehicle() {
49
- return IsPedInAnyVehicle(this.Handle, true);
50
- }
51
- get IsInjured() {
52
- return IsPedInjured(this.Handle);
53
- }
54
- get IsFatallyInjured() {
55
- return IsPedFatallyInjured(this.Handle);
56
- }
57
- get IsPlayer() {
58
- return IsPedAPlayer(this.Handle);
59
- }
60
- get IsShooting() {
61
- return IsPedShooting(this.Handle);
62
- }
63
- get Accuracy() {
64
- return GetPedAccuracy(this.Handle);
65
- }
66
- set Accuracy(accuracy) {
67
- SetPedAccuracy(this.Handle, accuracy);
68
- }
69
- get CanBeKnockedOffVehicle() {
70
- return CanKnockPedOffVehicle(this.Handle);
71
- }
72
- get IsMale() {
73
- return IsPedMale(this.Handle);
74
- }
75
- get IsHuman() {
76
- return IsPedHuman(this.Handle);
77
- }
78
- get IsOnTopOfVehicle() {
79
- return IsPedOnVehicle(this.Handle, false);
80
- }
81
- get Vehicle() {
82
- const vehicle = GetVehiclePedIsIn(this.Handle, false);
83
- if (vehicle === 0) {
84
- return null;
85
- }
86
- return new Vehicle(vehicle);
87
- }
88
- /**
89
- * @returns the last mount that this ped was on, or null if it doesn't exist
90
- */
91
- get Mount() {
92
- // GET_LAST_MOUNT
93
- const pedId = _N("0x4C8B59171957BCF7", this.Handle, Citizen.resultAsInteger());
94
- return pedId ? new Ped(pedId) : null;
95
- }
96
- /**
97
- * returns the horse that this ped is leading
98
- */
99
- get LeadingHorse() {
100
- // GET_LAST_LED_MOUNT
101
- const pedId = _N("0x693126B5D0457D0D", this.Handle, Citizen.resultAsInteger());
102
- return pedId ? new Ped(pedId) : null;
103
- }
104
- /**
105
- * returns the owner of the current animal
106
- */
107
- get Owner() {
108
- // _GET_ACTIVE_ANIMAL_OWNER
109
- const pedId = _N("0xF103823FFE72BB49", this.Handle, Citizen.resultAsInteger());
110
- return pedId ? new Ped(pedId) : null;
111
- }
112
- get TamingState() {
113
- // _GET_HORSE_TAMING_STATE
114
- return _N("0x454AD4DA6C41B5BD", this.Handle, Citizen.resultAsInteger());
115
- }
116
- get IsInteractingWithAnimal() {
117
- // _IS_ANIMAL_INTERACTION_RUNNING
118
- return _N("0x7FC84E85D98F063D", this.Handle, Citizen.resultAsInteger());
119
- }
120
- get IsSittingInAnyVehicle() {
121
- return IsPedSittingInAnyVehicle(this.Handle);
122
- }
123
- get IsPlantingBomb() {
124
- return IsPedPlantingBomb(this.Handle);
125
- }
126
- get IsInAnyBoat() {
127
- return IsPedInAnyBoat(this.Handle);
128
- }
129
- get IsInAnyHeli() {
130
- return IsPedInAnyHeli(this.Handle);
131
- }
132
- get IsInAnyPlane() {
133
- return IsPedInAnyPlane(this.Handle);
134
- }
135
- get IsInFlyingVehicle() {
136
- return IsPedInFlyingVehicle(this.Handle);
137
- }
138
- get IsFalling() {
139
- return IsPedFalling(this.Handle);
140
- }
141
- get IsSliding() {
142
- // _IS_PED_SLIDING
143
- return _N("0xD6740E14E4CEFC0B", this.Handle, Citizen.resultAsInteger());
144
- }
145
- get IsJumping() {
146
- return IsPedJumping(this.Handle);
147
- }
148
- get IsClimbing() {
149
- return IsPedClimbing(this.Handle);
150
- }
151
- get IsClimbingLadder() {
152
- // _IS_PED_CLIMBING_LADDER
153
- return _N("0x59643424B68D52B5", this.Handle, Citizen.resultAsInteger());
154
- }
155
- get IsVaulting() {
156
- return IsPedVaulting(this.Handle);
157
- }
158
- get IsDiving() {
159
- return IsPedDiving(this.Handle);
160
- }
161
- get IsOpeningADoor() {
162
- return IsPedOpeningADoor(this.Handle);
163
- }
164
- set SeeingRange(value) {
165
- SetPedSeeingRange(this.Handle, value);
166
- }
167
- set HearingRange(value) {
168
- SetPedHearingRange(this.Handle, value);
169
- }
170
- get IsStealthed() {
171
- return GetPedStealthMovement(this.Handle);
172
- }
173
- get IsJacking() {
174
- return IsPedJacking(this.Handle);
175
- }
176
- get IsStunned() {
177
- return IsPedBeingStunned(this.Handle, 0);
178
- }
179
- get IsBeingJacked() {
180
- return IsPedBeingJacked(this.Handle);
181
- }
182
- get IsInCombatRoll() {
183
- return _N("0xC48A9EB0D499B3E5", this.Handle, Citizen.resultAsInteger());
184
- }
185
- get CrouchMovement() {
186
- return _N("0xD5FE956C70FF370B", this.Handle, Citizen.resultAsInteger());
187
- }
188
- /**
189
- * returns true if {@link DamageCleanliness} was ever lower than {@link eDamageCleanliness.Good}
190
- */
191
- get IsDamaged() {
192
- return _N("0x6CFC373008A1EDAF", this.Handle, Citizen.resultAsInteger());
193
- }
194
- set IsDamaged(damaged) {
195
- // _SET_PED_DAMAGED
196
- _N("0xDACE03C65C6666DB", this.Handle, damaged);
197
- }
198
- get DamageCleanliness() {
199
- return _N("0x88EFFED5FE8B0B4A", this.Handle, Citizen.resultAsInteger());
200
- }
201
- set DamageCleanliness(cleanliness) {
202
- _N("0x7528720101A807A5", this.Handle, cleanliness);
203
- }
204
- set DefenseModifier(amount) {
205
- _N("0x9B6808EC46BE849B", this.Handle, amount);
206
- }
207
- set CanBeTargeted(toggle) {
208
- SetPedCanBeTargetted(this.Handle, toggle);
209
- }
210
- // TODO: Team class wrapper
211
- // TODO: Bone wrapper `GET_PED_LAST_DAMAGE_BONE`
212
- /**
213
- * returns the ped who jacked this ped
214
- */
215
- getJacker() {
216
- return new Ped(GetPedsJacker(this.Handle));
217
- }
218
- setCrouchMovement(state, immediately = false) {
219
- // SET_PED_CROUCH_MOVEMENT
220
- _N("0x7DE9692C6F64CFE8", this.Handle, state, 0, immediately);
221
- }
222
- canBeTargetedByPlayer(player, toggle) {
223
- SetPedCanBeTargettedByPlayer(this.Handle, player.Handle, toggle);
224
- }
225
- clearLastBoneDamage() {
226
- ClearPedLastDamageBone(this.Handle);
227
- }
228
- set OwnsAnimal(animal) {
229
- // SET_PED_OWNS_ANIMAL
230
- _N("0x931B241409216C1F", this.Handle, animal.Handle, false);
231
- }
232
- isInteractionPossible(animal) {
233
- // IS_ANIMAL_INTERACTION_POSSIBLE
234
- return _N("0xD543D3A8FDE4F185", this.Handle, animal.Handle, Citizen.resultAsInteger());
235
- }
236
- isOnVehicle(vehicle) {
237
- return IsPedOnSpecificVehicle(this.Handle, vehicle.Handle);
238
- }
239
- isSittingInVehicle(vehicle) {
240
- return IsPedSittingInVehicle(this.Handle, vehicle.Handle);
241
- }
242
- warpOutOfVehicle() {
243
- // _WARP_PED_OUT_OF_VEHICLE
244
- _N("0xE0B61ED8BB37712F", this.Handle);
245
- }
246
- /**
247
- * puts the ped onto the specified mount
248
- * @param targetPed the horse to put the ped on
249
- * @param seatIndex the seat index to put the ped on
250
- */
251
- setOntoMount(targetPed, seatIndex) {
252
- // SET_PED_ONTO_MOUNT
253
- _N("0x028F76B6E78246EB", this.Handle, targetPed.Handle, seatIndex, true);
254
- }
255
- removeFromMount() {
256
- // REMOVE_PED_FROM_MOUNT
257
- _N("0x5337B721C51883A9", this.Handle, true, true);
258
- }
259
- /**
260
- * Sets the ped into the specified vehicle
261
- * @param vehicle the vehicle to put the ped into
262
- * @param seatIndex the seat index to put the ped into
263
- */
264
- setIntoVehicle(vehicle, seatIndex) {
265
- SetPedIntoVehicle(this.Handle, vehicle.Handle, seatIndex);
266
- }
267
- /**
268
- * kills the ped and optionally sets the killer
269
- * @param killer the entity that killed the ped
270
- */
271
- killPed(killer) {
272
- SetEntityHealth(this.Handle, 0, killer ? killer.Handle : 0);
273
- }
274
- damage(amount, boneId = 0, killer) {
275
- ApplyDamageToPed(this.Handle, amount, 0, boneId, killer ? killer.Handle : 0);
276
- }
277
- /**
278
- * this returns a different type then the getter so we can't use set, maybe ts will fix soon (tm)
279
- * @param state how hard it will be to knock a ped off their vehicle
280
- */
281
- setCanBeKnockedOffVehicle(state) {
282
- SetPedCanBeKnockedOffVehicle(this.Handle, state);
283
- }
284
- /**
285
- * Removes the specified ped if its not a player entity
286
- */
287
- delete() {
288
- SetEntityAsMissionEntity(this.Handle, true, true);
289
- DeletePed(this.Handle);
290
- }
291
- /**
292
- * creates a clone of the ped
293
- * @param network if the ped should be a networked entity
294
- * @param bScriptHostPed whether to register the ped as pinned to the script host in the R* network model.
295
- * @param copyHeadBlend whether to copy the peds head blend
296
- * @returns the cloned ped
297
- */
298
- clone(network, bScriptHostPed, copyHeadBlend) {
299
- return new Ped(ClonePed(this.Handle, network, bScriptHostPed, copyHeadBlend));
300
- }
301
- /**
302
- * clones the ped onto the target ped
303
- * @param targetPed the ped to clone onto
304
- */
305
- cloneTo(targetPed) {
306
- ClonePedToTarget(this.Handle, targetPed.Handle);
307
- }
308
- /**
309
- * @param amount - the amount of armour to add to the ped
310
- */
311
- addArmour(amount) {
312
- AddArmourToPed(this.Handle, amount);
313
- }
314
- applyDamage(damageAmount, boneId = 0, pedKiller = null) {
315
- ApplyDamageToPed(this.Handle, damageAmount, 0, boneId, pedKiller ? pedKiller.Handle : 0);
316
- }
317
- /**
318
- * @param damagePack - the damage decal to apply see [here](https://github.com/femga/rdr3_discoveries/blob/master/peds_customization/ped_decals.lua) for more documentation
319
- * @param damage - the damage to apply
320
- * @param mult - the multiplier?
321
- */
322
- applyDamagePack(damagePack, damage, mult) {
323
- ApplyPedDamagePack(this.Handle, damagePack, damage, mult);
324
- }
325
- get CurrentVehicle() {
326
- const veh = GetVehiclePedIsIn(this.Handle, false);
327
- if (veh === 0)
328
- return null;
329
- return new Vehicle(veh);
330
- }
331
- }
@@ -1,51 +0,0 @@
1
- import { GameConstants } from "../../redm/GameConstants";
2
- import { _N } from "../utils/Native";
3
- const handleUpgrade = (name, amount) => {
4
- const b1 = new ArrayBuffer(8 * 24);
5
- const a2 = new DataView(b1);
6
- const b2 = new ArrayBuffer(8 * 12);
7
- const a3 = new DataView(b2);
8
- // _INVENTORY_ADD_ITEM_WITH_GUID
9
- _N("0xCB5D11F9508A928D", 1, a2, a3, GetHashKey(name), 1084182731, amount, 752097756);
10
- };
11
- export class Player {
12
- handle;
13
- static fromPedHandle(handle) {
14
- return new Player(NetworkGetPlayerIndexFromPed(handle));
15
- }
16
- /**
17
- * Gets the player from the specified {@param serverId}
18
- * @returns the player object, or null if the player didn't exist
19
- */
20
- static fromServerId(serverId) {
21
- if (serverId === GameConstants.ServerId) {
22
- return GameConstants.Player;
23
- }
24
- const player = GetPlayerFromServerId(serverId);
25
- if (player === -1)
26
- return null;
27
- return new Player(player);
28
- }
29
- /**
30
- * @param handle the player handle
31
- */
32
- constructor(handle) {
33
- this.handle = handle;
34
- }
35
- get Handle() {
36
- return this.handle;
37
- }
38
- /**
39
- * Adds the amount of stamina player has on the hud
40
- * @param amount the amount of upgrade to give 6 is half the bar while 12 is the full bar
41
- */
42
- addStaminaUpgrade(amount) {
43
- handleUpgrade("UPGRADE_STAMINA_TANK_1", amount);
44
- }
45
- addHealthUpgrade(amount) {
46
- handleUpgrade("UPGRADE_HEALTH_TANK_1", amount);
47
- }
48
- addDeadeyeUpgrade(amount) {
49
- handleUpgrade("UPGRADE_DEADEYE_TANK_1", amount);
50
- }
51
- }
package/entities/Prop.js DELETED
@@ -1,3 +0,0 @@
1
- import { BaseEntity } from "./BaseEntity";
2
- export class Prop extends BaseEntity {
3
- }
@@ -1,15 +0,0 @@
1
- import { BaseEntity } from "./BaseEntity";
2
- import { _N } from "../../redm/utils";
3
- export class Vehicle extends BaseEntity {
4
- constructor(handle) {
5
- super(handle);
6
- }
7
- /**
8
- *
9
- * @param seatIndex the seat index to check
10
- * @returns true of the specified seat is free on the mount
11
- */
12
- isSeatFree(seatIndex) {
13
- return _N("0xAAB0FE202E9FC9F0", this.Handle, seatIndex, Citizen.resultAsInteger());
14
- }
15
- }
package/entities/index.js DELETED
@@ -1,4 +0,0 @@
1
- export * from "./Entity";
2
- export * from "./Ped";
3
- export * from "./Player";
4
- export * from "./Vehicle";
@@ -1,51 +0,0 @@
1
- export var ePedAttribute;
2
- (function (ePedAttribute) {
3
- ePedAttribute[ePedAttribute["Health"] = 0] = "Health";
4
- ePedAttribute[ePedAttribute["Stamina"] = 1] = "Stamina";
5
- ePedAttribute[ePedAttribute["SpecialAbility"] = 2] = "SpecialAbility";
6
- ePedAttribute[ePedAttribute["Courage"] = 3] = "Courage";
7
- ePedAttribute[ePedAttribute["Agility"] = 4] = "Agility";
8
- ePedAttribute[ePedAttribute["Speed"] = 5] = "Speed";
9
- ePedAttribute[ePedAttribute["Acceleration"] = 6] = "Acceleration";
10
- ePedAttribute[ePedAttribute["Bonding"] = 7] = "Bonding";
11
- ePedAttribute[ePedAttribute["Hunger"] = 8] = "Hunger";
12
- ePedAttribute[ePedAttribute["Fatigued"] = 9] = "Fatigued";
13
- ePedAttribute[ePedAttribute["Inebriated"] = 10] = "Inebriated";
14
- ePedAttribute[ePedAttribute["Poisoned"] = 11] = "Poisoned";
15
- ePedAttribute[ePedAttribute["BodyHeat"] = 12] = "BodyHeat";
16
- ePedAttribute[ePedAttribute["BodyWeight"] = 13] = "BodyWeight";
17
- ePedAttribute[ePedAttribute["Overfed"] = 14] = "Overfed";
18
- ePedAttribute[ePedAttribute["Sickness"] = 15] = "Sickness";
19
- ePedAttribute[ePedAttribute["Dirtiness"] = 16] = "Dirtiness";
20
- ePedAttribute[ePedAttribute["DirtinessHat"] = 17] = "DirtinessHat";
21
- ePedAttribute[ePedAttribute["Strength"] = 18] = "Strength";
22
- ePedAttribute[ePedAttribute["Grit"] = 19] = "Grit";
23
- ePedAttribute[ePedAttribute["Instinct"] = 20] = "Instinct";
24
- ePedAttribute[ePedAttribute["Unruliness"] = 21] = "Unruliness";
25
- ePedAttribute[ePedAttribute["DirtinessSkin"] = 22] = "DirtinessSkin";
26
- })(ePedAttribute || (ePedAttribute = {}));
27
- export var eAttributeCore;
28
- (function (eAttributeCore) {
29
- eAttributeCore[eAttributeCore["Health"] = 0] = "Health";
30
- eAttributeCore[eAttributeCore["Stamina"] = 1] = "Stamina";
31
- eAttributeCore[eAttributeCore["Deadeye"] = 2] = "Deadeye";
32
- })(eAttributeCore || (eAttributeCore = {}));
33
- export var eHudStatusEffect;
34
- (function (eHudStatusEffect) {
35
- eHudStatusEffect[eHudStatusEffect["None"] = 0] = "None";
36
- eHudStatusEffect[eHudStatusEffect["Cold"] = 1] = "Cold";
37
- eHudStatusEffect[eHudStatusEffect["Hot"] = 2] = "Hot";
38
- eHudStatusEffect[eHudStatusEffect["Overfed"] = 3] = "Overfed";
39
- eHudStatusEffect[eHudStatusEffect["Dirty"] = 4] = "Dirty";
40
- eHudStatusEffect[eHudStatusEffect["SnakeVenom"] = 5] = "SnakeVenom";
41
- eHudStatusEffect[eHudStatusEffect["ArrowWounded"] = 6] = "ArrowWounded";
42
- eHudStatusEffect[eHudStatusEffect["ArrowDrained"] = 7] = "ArrowDrained";
43
- eHudStatusEffect[eHudStatusEffect["ArrowDisoriented"] = 8] = "ArrowDisoriented";
44
- eHudStatusEffect[eHudStatusEffect["ArrowTracked"] = 9] = "ArrowTracked";
45
- eHudStatusEffect[eHudStatusEffect["ArrowConfusion"] = 10] = "ArrowConfusion";
46
- eHudStatusEffect[eHudStatusEffect["Underweight"] = 11] = "Underweight";
47
- eHudStatusEffect[eHudStatusEffect["Overweight"] = 12] = "Overweight";
48
- eHudStatusEffect[eHudStatusEffect["Sick1"] = 13] = "Sick1";
49
- eHudStatusEffect[eHudStatusEffect["Sick2"] = 14] = "Sick2";
50
- eHudStatusEffect[eHudStatusEffect["PredatorInvulnerable"] = 15] = "PredatorInvulnerable";
51
- })(eHudStatusEffect || (eHudStatusEffect = {}));
package/enums/Entity.js DELETED
@@ -1,16 +0,0 @@
1
- export var ForceType;
2
- (function (ForceType) {
3
- ForceType[ForceType["MinForce"] = 0] = "MinForce";
4
- ForceType[ForceType["MaxForceRot"] = 1] = "MaxForceRot";
5
- ForceType[ForceType["MinForce2"] = 2] = "MinForce2";
6
- ForceType[ForceType["MaxForceRot2"] = 3] = "MaxForceRot2";
7
- ForceType[ForceType["ForceNoRot"] = 4] = "ForceNoRot";
8
- ForceType[ForceType["ForceRotPlusForce"] = 5] = "ForceRotPlusForce";
9
- })(ForceType || (ForceType = {}));
10
- export var EntityType;
11
- (function (EntityType) {
12
- EntityType[EntityType["Invalid"] = 0] = "Invalid";
13
- EntityType[EntityType["Ped"] = 1] = "Ped";
14
- EntityType[EntityType["Vehicle"] = 2] = "Vehicle";
15
- EntityType[EntityType["Object"] = 3] = "Object";
16
- })(EntityType || (EntityType = {}));