@nativewrappers/redm-codegen 0.0.4 → 0.0.6

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 (317) hide show
  1. package/dist/classes/AnimScene.d.ts +109 -109
  2. package/dist/classes/AnimScene.d.ts.map +1 -1
  3. package/dist/classes/AnimScene.js +158 -158
  4. package/dist/classes/BaseModel.d.ts +34 -34
  5. package/dist/classes/BaseModel.d.ts.map +1 -1
  6. package/dist/classes/BaseModel.js +53 -53
  7. package/dist/classes/BaseTask.d.ts +36 -36
  8. package/dist/classes/BaseTask.d.ts.map +1 -1
  9. package/dist/classes/BaseTask.js +44 -44
  10. package/dist/classes/Cam.d.ts +91 -91
  11. package/dist/classes/Cam.d.ts.map +1 -1
  12. package/dist/classes/Cam.js +124 -124
  13. package/dist/classes/Entity.d.ts +507 -502
  14. package/dist/classes/Entity.d.ts.map +1 -1
  15. package/dist/classes/Entity.js +723 -714
  16. package/dist/classes/Interior.d.ts +27 -27
  17. package/dist/classes/Interior.d.ts.map +1 -1
  18. package/dist/classes/Interior.js +42 -42
  19. package/dist/classes/ItemSet.d.ts +2 -2
  20. package/dist/classes/ItemSet.d.ts.map +1 -1
  21. package/dist/classes/ItemSet.js +3 -3
  22. package/dist/classes/Ped.d.ts +286 -286
  23. package/dist/classes/Ped.d.ts.map +1 -1
  24. package/dist/classes/Ped.js +425 -425
  25. package/dist/classes/PedModel.d.ts +1 -1
  26. package/dist/classes/PedModel.d.ts.map +1 -1
  27. package/dist/classes/PedModel.js +2 -2
  28. package/dist/classes/PedTask.d.ts +770 -770
  29. package/dist/classes/PedTask.d.ts.map +1 -1
  30. package/dist/classes/PedTask.js +985 -985
  31. package/dist/classes/PersChar.d.ts +11 -11
  32. package/dist/classes/PersChar.d.ts.map +1 -1
  33. package/dist/classes/PersChar.js +23 -23
  34. package/dist/classes/Pickup.d.ts +6 -6
  35. package/dist/classes/Pickup.d.ts.map +1 -1
  36. package/dist/classes/Pickup.js +12 -12
  37. package/dist/classes/Player.d.ts +237 -233
  38. package/dist/classes/Player.d.ts.map +1 -1
  39. package/dist/classes/Player.js +309 -303
  40. package/dist/classes/Prop.d.ts +126 -126
  41. package/dist/classes/Prop.d.ts.map +1 -1
  42. package/dist/classes/Prop.js +180 -180
  43. package/dist/classes/PropSet.d.ts +16 -16
  44. package/dist/classes/PropSet.d.ts.map +1 -1
  45. package/dist/classes/PropSet.js +22 -22
  46. package/dist/classes/Vehicle.d.ts +122 -122
  47. package/dist/classes/Vehicle.d.ts.map +1 -1
  48. package/dist/classes/Vehicle.js +147 -147
  49. package/dist/classes/VehicleModel.d.ts +1 -1
  50. package/dist/classes/VehicleModel.d.ts.map +1 -1
  51. package/dist/classes/VehicleModel.js +2 -2
  52. package/dist/classes/VehicleTask.d.ts +17 -17
  53. package/dist/classes/VehicleTask.d.ts.map +1 -1
  54. package/dist/classes/VehicleTask.js +24 -24
  55. package/dist/classes/Volume.d.ts +44 -44
  56. package/dist/classes/Volume.d.ts.map +1 -1
  57. package/dist/classes/Volume.js +58 -58
  58. package/dist/classes/Weapon.d.ts +243 -243
  59. package/dist/classes/Weapon.d.ts.map +1 -1
  60. package/dist/classes/Weapon.js +339 -339
  61. package/dist/namespaces/Aicoverpoint.d.ts +23 -23
  62. package/dist/namespaces/Aicoverpoint.d.ts.map +1 -1
  63. package/dist/namespaces/Aicoverpoint.js +35 -35
  64. package/dist/namespaces/Aitransport.d.ts +78 -78
  65. package/dist/namespaces/Aitransport.d.ts.map +1 -1
  66. package/dist/namespaces/Aitransport.js +95 -95
  67. package/dist/namespaces/Animscene.d.ts +37 -37
  68. package/dist/namespaces/Animscene.d.ts.map +1 -1
  69. package/dist/namespaces/Animscene.js +51 -51
  70. package/dist/namespaces/Audio.d.ts +395 -395
  71. package/dist/namespaces/Audio.d.ts.map +1 -1
  72. package/dist/namespaces/Audio.js +530 -530
  73. package/dist/namespaces/Bounty.d.ts +23 -23
  74. package/dist/namespaces/Bounty.d.ts.map +1 -1
  75. package/dist/namespaces/Bounty.js +40 -40
  76. package/dist/namespaces/Brain.d.ts +15 -15
  77. package/dist/namespaces/Brain.d.ts.map +1 -1
  78. package/dist/namespaces/Brain.js +20 -20
  79. package/dist/namespaces/CamStatics.d.ts +483 -483
  80. package/dist/namespaces/CamStatics.d.ts.map +1 -1
  81. package/dist/namespaces/CamStatics.js +693 -693
  82. package/dist/namespaces/Clock.d.ts +51 -51
  83. package/dist/namespaces/Clock.d.ts.map +1 -1
  84. package/dist/namespaces/Clock.js +73 -73
  85. package/dist/namespaces/Collection.d.ts +6 -6
  86. package/dist/namespaces/Collection.d.ts.map +1 -1
  87. package/dist/namespaces/Collection.js +11 -11
  88. package/dist/namespaces/Compapp.js +1 -1
  89. package/dist/namespaces/Compendium.d.ts +58 -58
  90. package/dist/namespaces/Compendium.d.ts.map +1 -1
  91. package/dist/namespaces/Compendium.js +83 -83
  92. package/dist/namespaces/Crashlog.js +9 -9
  93. package/dist/namespaces/Crew.d.ts +9 -9
  94. package/dist/namespaces/Crew.d.ts.map +1 -1
  95. package/dist/namespaces/Crew.js +18 -18
  96. package/dist/namespaces/Databinding.d.ts +146 -146
  97. package/dist/namespaces/Databinding.d.ts.map +1 -1
  98. package/dist/namespaces/Databinding.js +218 -218
  99. package/dist/namespaces/Datafile.js +4 -4
  100. package/dist/namespaces/Decorator.d.ts +19 -19
  101. package/dist/namespaces/Decorator.d.ts.map +1 -1
  102. package/dist/namespaces/Decorator.js +34 -34
  103. package/dist/namespaces/Dlc.js +2 -2
  104. package/dist/namespaces/EntityStatics.d.ts +186 -186
  105. package/dist/namespaces/EntityStatics.d.ts.map +1 -1
  106. package/dist/namespaces/EntityStatics.js +249 -249
  107. package/dist/namespaces/Event.js +4 -4
  108. package/dist/namespaces/Fire.d.ts +89 -89
  109. package/dist/namespaces/Fire.d.ts.map +1 -1
  110. package/dist/namespaces/Fire.js +115 -115
  111. package/dist/namespaces/Flock.js +2 -2
  112. package/dist/namespaces/Gang.js +2 -2
  113. package/dist/namespaces/GoogleAnalytics.js +2 -2
  114. package/dist/namespaces/Graphics.d.ts +776 -776
  115. package/dist/namespaces/Graphics.d.ts.map +1 -1
  116. package/dist/namespaces/Graphics.js +1120 -1120
  117. package/dist/namespaces/Hud.d.ts +497 -497
  118. package/dist/namespaces/Hud.d.ts.map +1 -1
  119. package/dist/namespaces/Hud.js +748 -748
  120. package/dist/namespaces/Ik.js +1 -1
  121. package/dist/namespaces/Interaction.js +3 -3
  122. package/dist/namespaces/InteriorStatics.d.ts +40 -40
  123. package/dist/namespaces/InteriorStatics.d.ts.map +1 -1
  124. package/dist/namespaces/InteriorStatics.js +57 -57
  125. package/dist/namespaces/Inventory.d.ts +205 -205
  126. package/dist/namespaces/Inventory.d.ts.map +1 -1
  127. package/dist/namespaces/Inventory.js +340 -340
  128. package/dist/namespaces/Itemdatabase.d.ts +78 -78
  129. package/dist/namespaces/Itemdatabase.d.ts.map +1 -1
  130. package/dist/namespaces/Itemdatabase.js +109 -109
  131. package/dist/namespaces/Itemset.js +2 -2
  132. package/dist/namespaces/Law.d.ts +1 -1
  133. package/dist/namespaces/Law.d.ts.map +1 -1
  134. package/dist/namespaces/Law.js +19 -19
  135. package/dist/namespaces/Localization.js +1 -1
  136. package/dist/namespaces/Map.d.ts +156 -156
  137. package/dist/namespaces/Map.d.ts.map +1 -1
  138. package/dist/namespaces/Map.js +209 -209
  139. package/dist/namespaces/Minigame.d.ts +66 -66
  140. package/dist/namespaces/Minigame.d.ts.map +1 -1
  141. package/dist/namespaces/Minigame.js +111 -111
  142. package/dist/namespaces/Misc.d.ts +3 -3
  143. package/dist/namespaces/Misc.d.ts.map +1 -1
  144. package/dist/namespaces/Misc.js +35 -35
  145. package/dist/namespaces/Missiondata.js +1 -1
  146. package/dist/namespaces/Money.js +3 -3
  147. package/dist/namespaces/Netshopping.d.ts +58 -58
  148. package/dist/namespaces/Netshopping.d.ts.map +1 -1
  149. package/dist/namespaces/Netshopping.js +89 -89
  150. package/dist/namespaces/Network.d.ts +1199 -1199
  151. package/dist/namespaces/Network.d.ts.map +1 -1
  152. package/dist/namespaces/Network.js +1650 -1650
  153. package/dist/namespaces/Object.d.ts +262 -262
  154. package/dist/namespaces/Object.d.ts.map +1 -1
  155. package/dist/namespaces/Object.js +367 -367
  156. package/dist/namespaces/Pad.d.ts +102 -102
  157. package/dist/namespaces/Pad.d.ts.map +1 -1
  158. package/dist/namespaces/Pad.js +141 -141
  159. package/dist/namespaces/Pathfind.js +10 -10
  160. package/dist/namespaces/PedStatics.d.ts +2 -2
  161. package/dist/namespaces/PedStatics.d.ts.map +1 -1
  162. package/dist/namespaces/PedStatics.js +10 -10
  163. package/dist/namespaces/Perschar.d.ts +42 -42
  164. package/dist/namespaces/Perschar.d.ts.map +1 -1
  165. package/dist/namespaces/Perschar.js +59 -59
  166. package/dist/namespaces/Physics.d.ts +37 -37
  167. package/dist/namespaces/Physics.d.ts.map +1 -1
  168. package/dist/namespaces/Physics.js +54 -54
  169. package/dist/namespaces/PlayerStatics.d.ts +68 -68
  170. package/dist/namespaces/PlayerStatics.d.ts.map +1 -1
  171. package/dist/namespaces/PlayerStatics.js +104 -104
  172. package/dist/namespaces/Population.d.ts +86 -86
  173. package/dist/namespaces/Population.d.ts.map +1 -1
  174. package/dist/namespaces/Population.js +116 -116
  175. package/dist/namespaces/Posse.d.ts +48 -48
  176. package/dist/namespaces/Posse.d.ts.map +1 -1
  177. package/dist/namespaces/Posse.js +78 -78
  178. package/dist/namespaces/Propset.d.ts +59 -59
  179. package/dist/namespaces/Propset.d.ts.map +1 -1
  180. package/dist/namespaces/Propset.js +81 -81
  181. package/dist/namespaces/Replay.d.ts +1 -1
  182. package/dist/namespaces/Replay.d.ts.map +1 -1
  183. package/dist/namespaces/Replay.js +2 -2
  184. package/dist/namespaces/Scripts.d.ts +1 -1
  185. package/dist/namespaces/Scripts.d.ts.map +1 -1
  186. package/dist/namespaces/Scripts.js +12 -12
  187. package/dist/namespaces/Socialclub.js +8 -8
  188. package/dist/namespaces/Socialclubfeed.js +1 -1
  189. package/dist/namespaces/Spactionproxy.js +4 -4
  190. package/dist/namespaces/Stats.d.ts +203 -203
  191. package/dist/namespaces/Stats.d.ts.map +1 -1
  192. package/dist/namespaces/Stats.js +294 -294
  193. package/dist/namespaces/Streaming.d.ts +128 -128
  194. package/dist/namespaces/Streaming.d.ts.map +1 -1
  195. package/dist/namespaces/Streaming.js +202 -202
  196. package/dist/namespaces/Task.d.ts +366 -366
  197. package/dist/namespaces/Task.d.ts.map +1 -1
  198. package/dist/namespaces/Task.js +517 -517
  199. package/dist/namespaces/Telemetry.d.ts +83 -83
  200. package/dist/namespaces/Telemetry.d.ts.map +1 -1
  201. package/dist/namespaces/Telemetry.js +111 -111
  202. package/dist/namespaces/Txd.js +1 -1
  203. package/dist/namespaces/Uiapps.d.ts +25 -25
  204. package/dist/namespaces/Uiapps.d.ts.map +1 -1
  205. package/dist/namespaces/Uiapps.js +36 -36
  206. package/dist/namespaces/Uievents.js +1 -1
  207. package/dist/namespaces/Uifeed.js +1 -1
  208. package/dist/namespaces/Uistickyfeed.d.ts +16 -16
  209. package/dist/namespaces/Uistickyfeed.d.ts.map +1 -1
  210. package/dist/namespaces/Uistickyfeed.js +21 -21
  211. package/dist/namespaces/Unlock.js +5 -5
  212. package/dist/namespaces/VehicleStatics.js +12 -12
  213. package/dist/namespaces/Voice.js +7 -7
  214. package/dist/namespaces/VolumeStatics.d.ts +99 -99
  215. package/dist/namespaces/VolumeStatics.d.ts.map +1 -1
  216. package/dist/namespaces/VolumeStatics.js +137 -137
  217. package/dist/namespaces/Water.d.ts +27 -27
  218. package/dist/namespaces/Water.d.ts.map +1 -1
  219. package/dist/namespaces/Water.js +41 -41
  220. package/dist/namespaces/WeaponStatics.d.ts +206 -206
  221. package/dist/namespaces/WeaponStatics.d.ts.map +1 -1
  222. package/dist/namespaces/WeaponStatics.js +303 -303
  223. package/dist/types/NativeAliases.d.ts +3 -1
  224. package/dist/types/NativeAliases.d.ts.map +1 -1
  225. package/dist/types/NativeAliases.js +3 -1
  226. package/package.json +1 -1
  227. package/src/classes/AnimScene.ts +164 -164
  228. package/src/classes/BaseModel.ts +60 -60
  229. package/src/classes/BaseTask.ts +46 -46
  230. package/src/classes/Cam.ts +136 -136
  231. package/src/classes/Entity.ts +738 -727
  232. package/src/classes/Interior.ts +43 -43
  233. package/src/classes/ItemSet.ts +3 -3
  234. package/src/classes/Ped.ts +432 -432
  235. package/src/classes/PedModel.ts +2 -2
  236. package/src/classes/PedTask.ts +1023 -1023
  237. package/src/classes/PersChar.ts +28 -28
  238. package/src/classes/Pickup.ts +13 -13
  239. package/src/classes/Player.ts +326 -319
  240. package/src/classes/Prop.ts +185 -185
  241. package/src/classes/PropSet.ts +25 -25
  242. package/src/classes/Vehicle.ts +147 -147
  243. package/src/classes/VehicleModel.ts +2 -2
  244. package/src/classes/VehicleTask.ts +27 -27
  245. package/src/classes/Volume.ts +62 -62
  246. package/src/classes/Weapon.ts +358 -358
  247. package/src/namespaces/Aicoverpoint.ts +40 -40
  248. package/src/namespaces/Aitransport.ts +104 -104
  249. package/src/namespaces/Animscene.ts +55 -55
  250. package/src/namespaces/Audio.ts +565 -565
  251. package/src/namespaces/Bounty.ts +46 -46
  252. package/src/namespaces/Brain.ts +22 -22
  253. package/src/namespaces/CamStatics.ts +706 -706
  254. package/src/namespaces/Clock.ts +82 -82
  255. package/src/namespaces/Collection.ts +12 -12
  256. package/src/namespaces/Compapp.ts +1 -1
  257. package/src/namespaces/Compendium.ts +94 -94
  258. package/src/namespaces/Crashlog.ts +9 -9
  259. package/src/namespaces/Crew.ts +20 -20
  260. package/src/namespaces/Databinding.ts +222 -222
  261. package/src/namespaces/Datafile.ts +4 -4
  262. package/src/namespaces/Decorator.ts +37 -37
  263. package/src/namespaces/Dlc.ts +2 -2
  264. package/src/namespaces/EntityStatics.ts +259 -259
  265. package/src/namespaces/Event.ts +4 -4
  266. package/src/namespaces/Fire.ts +127 -127
  267. package/src/namespaces/Flock.ts +2 -2
  268. package/src/namespaces/Gang.ts +2 -2
  269. package/src/namespaces/GoogleAnalytics.ts +2 -2
  270. package/src/namespaces/Graphics.ts +1081 -1081
  271. package/src/namespaces/Hud.ts +767 -767
  272. package/src/namespaces/Ik.ts +1 -1
  273. package/src/namespaces/Interaction.ts +3 -3
  274. package/src/namespaces/InteriorStatics.ts +65 -65
  275. package/src/namespaces/Inventory.ts +352 -352
  276. package/src/namespaces/Itemdatabase.ts +121 -121
  277. package/src/namespaces/Itemset.ts +2 -2
  278. package/src/namespaces/Law.ts +20 -20
  279. package/src/namespaces/Localization.ts +1 -1
  280. package/src/namespaces/Map.ts +217 -217
  281. package/src/namespaces/Minigame.ts +119 -119
  282. package/src/namespaces/Misc.ts +38 -38
  283. package/src/namespaces/Missiondata.ts +1 -1
  284. package/src/namespaces/Money.ts +3 -3
  285. package/src/namespaces/Netshopping.ts +99 -99
  286. package/src/namespaces/Network.ts +1738 -1738
  287. package/src/namespaces/Object.ts +370 -370
  288. package/src/namespaces/Pad.ts +155 -155
  289. package/src/namespaces/Pathfind.ts +10 -10
  290. package/src/namespaces/PedStatics.ts +12 -12
  291. package/src/namespaces/Perschar.ts +67 -67
  292. package/src/namespaces/Physics.ts +62 -62
  293. package/src/namespaces/PlayerStatics.ts +112 -112
  294. package/src/namespaces/Population.ts +131 -131
  295. package/src/namespaces/Posse.ts +81 -81
  296. package/src/namespaces/Propset.ts +92 -92
  297. package/src/namespaces/Replay.ts +3 -3
  298. package/src/namespaces/Scripts.ts +13 -13
  299. package/src/namespaces/Socialclub.ts +8 -8
  300. package/src/namespaces/Socialclubfeed.ts +1 -1
  301. package/src/namespaces/Spactionproxy.ts +4 -4
  302. package/src/namespaces/Stats.ts +296 -296
  303. package/src/namespaces/Streaming.ts +236 -236
  304. package/src/namespaces/Task.ts +583 -583
  305. package/src/namespaces/Telemetry.ts +125 -125
  306. package/src/namespaces/Txd.ts +1 -1
  307. package/src/namespaces/Uiapps.ts +43 -43
  308. package/src/namespaces/Uievents.ts +1 -1
  309. package/src/namespaces/Uifeed.ts +1 -1
  310. package/src/namespaces/Uistickyfeed.ts +23 -23
  311. package/src/namespaces/Unlock.ts +5 -5
  312. package/src/namespaces/VehicleStatics.ts +12 -12
  313. package/src/namespaces/Voice.ts +7 -7
  314. package/src/namespaces/VolumeStatics.ts +143 -143
  315. package/src/namespaces/Water.ts +47 -47
  316. package/src/namespaces/WeaponStatics.ts +311 -311
  317. package/src/types/NativeAliases.ts +6 -1
@@ -15,233 +15,192 @@ export declare class Entity implements IHandle {
15
15
  /**
16
16
  * @returns
17
17
  */
18
- getIsBird(): any;
18
+ get IsBird(): any;
19
19
  /**
20
20
  * Gets the entity's forward vector in YX(Z) eulers. Similar to GET_ENTITY_FORWARD_VECTOR
21
21
  *
22
22
  * @returns
23
23
  */
24
- getForwardVectorYx(): Vector3;
24
+ get ForwardVectorYx(): Vector3;
25
25
  /**
26
- * @param pos
27
- * @param xAxis
28
- * @param yAxis
29
- * @param zAxis
30
- * @param clearArea
26
+ * @param targetEntity
27
+ * @returns
31
28
  */
32
- setCoords(pos: Vector3, xAxis: boolean, yAxis: boolean, zAxis: boolean, clearArea: boolean): void;
29
+ isTouchingEntity(targetEntity: Entity): boolean;
30
+ deleteCarriable(): void;
33
31
  /**
34
- * @param boneName
32
+ * Returns a normalized value between 0.0f and 1.0f. You can get the actual anim time by multiplying this by GET_ANIM_DURATION
33
+ *
34
+ * @param animDict
35
+ * @param animName
35
36
  * @returns
36
37
  */
37
- getBoneIndexByName(boneName: string | null): number;
38
+ getAnimCurrentTime(animDict: string | null, animName: string | null): number;
38
39
  /**
39
- * @param pause
40
+ * @param entity2
41
+ * @param thisFrameOnly
40
42
  */
41
- pauseTracking(pause: boolean): void;
43
+ setNoCollisionEntity(entity2: Entity, thisFrameOnly: boolean): void;
42
44
  /**
43
- * @param toggle
45
+ * Result is in meters per second (m/s)
46
+ *
47
+ * @returns
44
48
  */
45
- setLoadCollisionFlag(toggle: boolean): void;
49
+ get Speed(): number;
46
50
  /**
47
- * Changes type and quality of skins
48
- * type hashes: https://pastebin.com/C1WvQjCy
49
- *
50
- * @param type
51
+ * @param bOnlyDamagedWhenRunningScript
51
52
  */
52
- setCarcassType(type: string | number): void;
53
+ set CanOnlyBeDamagedByScriptParticipants(bOnlyDamagedWhenRunningScript: boolean);
53
54
  /**
54
- * @param toggle
55
+ * @returns
55
56
  */
56
- setHasGravity(toggle: boolean): void;
57
+ get IsTrackedVisible(): any;
58
+ /**
59
+ * @param p1
60
+ * @param collision
61
+ */
62
+ detachEntity(p1: boolean, collision: boolean): void;
57
63
  /**
58
- * @param relative
59
64
  * @returns
60
65
  */
61
- getSpeedVector(relative: boolean): Vector3;
66
+ get IsVisibleToScript(): boolean;
62
67
  /**
63
68
  * @param entity2
64
- * @param p2
65
- * @param p3
69
+ * @param traceType
66
70
  * @returns
67
71
  */
68
- hasBeenDamagedByEntity(entity2: Entity, p2: boolean, p3: boolean): boolean;
72
+ hasClearLosToEntity(entity2: Entity, traceType: number): boolean;
69
73
  /**
74
+ * Used in Script Function GENERIC_ITEM_HAS_ANIM_COMPLETED
75
+ * *GET_ENTITY**
76
+ *
77
+ * @param animDict
78
+ * @param animClip
70
79
  * @returns
71
80
  */
72
- isFullyLooted(): any;
81
+ N_0x8E46E18AA828334F(animDict: string | null, animClip: string | null): number;
73
82
  /**
83
+ * @param playerPedToIgnore
84
+ * @param flags
74
85
  * @returns
75
86
  */
76
- isOccluded(): boolean;
87
+ getNearestPlayerToEntity(playerPedToIgnore: Ped, flags: number): Player | null;
77
88
  /**
78
- * @param toggle
89
+ * Gets the Y-component of the entity's forward vector.
90
+ *
91
+ * @returns
79
92
  */
80
- setCanBeDamaged(toggle: boolean): void;
93
+ get ForwardY(): number;
81
94
  /**
82
- * @param forceFlags
83
- * @param pos
84
- * @param offset
85
- * @param boneIndex
86
- * @param isDirectionRel
87
- * @param ignoreUpVec
88
- * @param isForceRel
89
- * @param p12
90
- * @param p13
95
+ * @param pitch
96
+ * @param roll
97
+ * @param yaw
98
+ * @param rotationOrder
99
+ * @param p5
91
100
  */
92
- applyForceToEntity(forceFlags: number, pos: Vector3, offset: Vector3, boneIndex: number, isDirectionRel: boolean, ignoreUpVec: boolean, isForceRel: boolean, p12: boolean, p13: boolean): void;
101
+ setRotation(pitch: number, roll: number, yaw: number, rotationOrder: number, p5: boolean): void;
93
102
  /**
94
- * @returns
103
+ * @param p1
104
+ * @param relationshipGroup
95
105
  */
96
- isDead(): boolean;
106
+ setOnlyDamagedByRelationshipGroup(p1: boolean, relationshipGroup: string | number): void;
107
+ /**
108
+ * https://github.com/femga/rdr3_discoveries/tree/master/AI/ENTITY_PROOFS
109
+ * BOOL p2: handles an additional special proofs flag, so it simply indicates whether it should be enabled or disabled, not sure what exactly it proofs the entity from though
110
+ *
111
+ * @param proofsBitset
112
+ * @param specialFlag
113
+ */
114
+ setProofs(proofsBitset: number, specialFlag: boolean): void;
97
115
  /**
98
- * @param pos1
99
- * @param pos2
100
- * @param p7
101
- * @param p8
102
- * @param p9
103
116
  * @returns
104
117
  */
105
- isInArea(pos1: Vector3, pos2: Vector3, p7: boolean, p8: boolean, p9: any): boolean;
118
+ hasCollisionLoadedAroundEntity(): boolean;
106
119
  /**
107
- * Returns the coordinates of an entity-bone.
108
- * https://github.com/femga/rdr3_discoveries/tree/master/boneNames
109
- *
110
- * @param boneIndex
111
120
  * @returns
112
121
  */
113
- getWorldPositionOfBone(boneIndex: number): Vector3;
122
+ get IsCarriablePelt(): any;
114
123
  /**
115
- * https://github.com/femga/rdr3_discoveries/tree/master/animations
116
- *
117
- * @param animName
118
- * @param animDict
119
- * @param p3
120
- * @param loop
121
- * @param stayInAnim
122
- * @param p6
123
- * @param delta
124
- * @param bitset
124
+ * @param p1
125
125
  * @returns
126
126
  */
127
- playAnim(animName: string | null, animDict: string | null, p3: number, loop: boolean, stayInAnim: boolean, p6: boolean, delta: number, bitset: any): boolean;
127
+ getVelocity(p1: number): Vector3;
128
128
  /**
129
- * Returns false if entity is not a ped or object.
130
- *
131
- * @returns lootTable
129
+ * @param toggle
132
130
  */
133
- getScriptOverrideLootTablePermanent(): [any, number];
131
+ set CanAutoVaultOnEntity(toggle: boolean);
134
132
  /**
135
- * @param animDict
136
- * @param animName
137
- * @param p3
133
+ * Sets the loot table an entity will carry. Returns true if loot table has been successfully set. Returns false if entity is not a ped or object.
134
+ * https://github.com/femga/rdr3_discoveries/blob/master/AI/EVENTS/loot_rewards.lua
135
+ *
136
+ * @param lootTable
138
137
  * @returns
139
138
  */
140
- hasAnimFinished(animDict: string | null, animName: string | null, p3: number): boolean;
139
+ scriptOverrideLootTablePermanent(lootTable: string | number): any;
141
140
  /**
142
- * @param bCanBeDamaged
143
- * @param relGroup
141
+ * @returns argStruct
144
142
  */
145
- setCanBeDamagedByRelationshipGroup(bCanBeDamaged: boolean, relGroup: string | number): void;
143
+ get Script(): [number, number];
146
144
  /**
145
+ * @param actionHash
147
146
  * @returns
148
147
  */
149
- getUprightValue(): number;
148
+ hasAnimEventFired(actionHash: string | number): boolean;
150
149
  /**
151
- * @param pos
152
- * @param heading
153
- * @param xAxis
154
- * @param yAxis
155
- * @param zAxis
150
+ * @param p1
156
151
  */
157
- setCoordsAndHeading(pos: Vector3, heading: number, xAxis: boolean, yAxis: boolean, zAxis: boolean): void;
152
+ N_0xEF259AA1E097E0AD(p1: any): void;
158
153
  /**
159
- * Returns zero if the entity is not a carriable
154
+ * Getter for FREEZE_ENTITY_POSITION
160
155
  *
161
156
  * @returns
162
157
  */
163
- getCarryConfig(): number;
158
+ get IsFrozen(): any;
164
159
  /**
165
- * tier: https://github.com/Halen84/RDR3-Native-Flags-And-Enums/tree/main/eEntityThreatTier
160
+ * Returns the entity that is looting a ped but only while the looting is active
166
161
  *
167
- * @param tier
168
- * @param p2
162
+ * @returns
169
163
  */
170
- setThreatTier(tier: number, p2: boolean): void;
164
+ get LootingPed(): Ped | null;
171
165
  /**
172
- * Returns the heading of the entity in degrees. Also know as the "Yaw" of an entity.
173
- *
174
166
  * @returns
175
167
  */
176
- getHeading(): number;
168
+ get IsWaitingForWorldCollision(): boolean;
177
169
  /**
178
- * Returns the LOD distance of an entity.
170
+ * Gets the X-component of the entity's forward vector.
179
171
  *
180
172
  * @returns
181
173
  */
182
- getLodDist(): number;
174
+ get ForwardX(): number;
183
175
  /**
184
176
  * @returns
185
177
  */
186
- doesHaveDrawable(): boolean;
187
- /**
188
- * @param xyzw
189
- */
190
- setQuaternion(xyzw: Vector4): void;
178
+ get IsAPed(): boolean;
191
179
  /**
192
180
  * @returns
193
181
  */
194
- isAttachedToAnyObject(): boolean;
182
+ get Pitch(): number;
195
183
  /**
196
- * Sets a ped or an object totally invincible. It doesn't take any kind of damage. Peds will not ragdoll on explosions.
197
- *
198
- * @param toggle
184
+ * @returns
199
185
  */
200
- setInvincible(toggle: boolean): void;
186
+ get IsStatic(): boolean;
201
187
  /**
202
- * Attaches entity1 to bone (boneIndex) of entity2. boneIndex - this is different to boneID, use GET_PED_BONE_INDEX to get the index from the ID. use the index for attaching to specific bones. entity1 will be attached to entity2's centre if bone index given doesn't correspond to bone indexes for that entity type.
203
- * https://github.com/femga/rdr3_discoveries/tree/master/boneNames useSoftPinning - if set to false attached entity will not detach when fixed
204
- * collision - controls collision between the two entities (FALSE disables collision).
205
- * isPed - pitch doesn't work when false and roll will only work on negative numbers (only peds)
206
- * vertexIndex - position of vertex
207
- * fixedRot - if false it ignores entity vector
188
+ * Returns the model hash from the entity
208
189
  *
209
- * @param entity2
210
- * @param boneIndex
211
- * @param pos
212
- * @param rot
213
- * @param p9
214
- * @param useSoftPinning
215
- * @param collision
216
- * @param isPed
217
- * @param vertexIndex
218
- * @param fixedRot
219
- * @param p15
220
- * @param p16
221
- */
222
- attachToEntity(entity2: Entity, boneIndex: number, pos: Vector3, rot: Vector3, p9: boolean, useSoftPinning: boolean, collision: boolean, isPed: boolean, vertexIndex: number, fixedRot: boolean, p15: boolean, p16: boolean): void;
223
- /**
224
190
  * @returns
225
191
  */
226
- getIsAnimal(): any;
192
+ get Model(): number;
227
193
  /**
228
- * p6/relative - makes the xyz force not relative to world coords, but to something else
229
- * p7/highForce - setting false will make the force really low
230
- *
231
- * @param forceType
232
- * @param pos
233
- * @param component
234
- * @param isDirectionRel
235
- * @param isForceRel
236
- * @param p8
194
+ * Deletes the specified entity, then sets the handle pointed to by the pointer to NULL.
237
195
  */
238
- applyForceToCenterOfMass(forceType: number, pos: Vector3, component: number, isDirectionRel: boolean, isForceRel: boolean, p8: boolean): void;
196
+ deleteEntity(): void;
239
197
  /**
240
- * Old name: _GET_ENTITY_CAN_BE_DAMAGED
241
- *
198
+ * @param team
199
+ * @param playerPedToIgnore
200
+ * @param flags
242
201
  * @returns
243
202
  */
244
- getCanBeDamaged(): any;
203
+ getNearestPlayerToOnTeam(team: number, playerPedToIgnore: Ped, flags: number): Player | null;
245
204
  /**
246
205
  * @param p1
247
206
  */
@@ -258,7 +217,7 @@ export declare class Entity implements IHandle {
258
217
  *
259
218
  * @returns
260
219
  */
261
- getForwardVector(): Vector3;
220
+ get ForwardVector(): Vector3;
262
221
  /**
263
222
  * @param modelHash
264
223
  * @returns
@@ -274,26 +233,113 @@ export declare class Entity implements IHandle {
274
233
  /**
275
234
  * @param toggle
276
235
  */
277
- setRenderScorched(toggle: boolean): void;
236
+ set RenderScorched(toggle: boolean);
278
237
  /**
279
238
  * @param heading
280
239
  */
281
- setHeading(heading: number): void;
240
+ set Heading(heading: number);
282
241
  /**
283
242
  * @returns
284
243
  */
285
- getCollisionDisabled(): boolean;
244
+ get CollisionDisabled(): boolean;
286
245
  /**
287
246
  * Displays the current ROLL axis of the entity [-180.0000/180.0000+]
288
247
  * (Sideways Roll) such as a vehicle tipped on its side
289
248
  *
290
249
  * @returns
291
250
  */
292
- getRoll(): number;
251
+ get Roll(): number;
252
+ /**
253
+ * @returns
254
+ */
255
+ get NearestParticipantToEntity(): Player | null;
256
+ /**
257
+ * enum eCarriableState
258
+ * {
259
+ * CARRIABLE_STATE_NONE,
260
+ * CARRIABLE_STATE_TRANSITIONING_TO_HOGTIED,
261
+ * CARRIABLE_STATE_CARRIABLE_INTRO,
262
+ * CARRIABLE_STATE_CARRIABLE,
263
+ * CARRIABLE_STATE_BEING_PICKED_UP_FROM_GROUND,
264
+ * CARRIABLE_STATE_CARRIED_BY_HUMAN,
265
+ * CARRIABLE_STATE_BEING_PLACED_ON_GROUND,
266
+ * CARRIABLE_STATE_CARRIED_BY_MOUNT,
267
+ * CARRIABLE_STATE_BEING_PLACED_ON_MOUNT,
268
+ * CARRIABLE_STATE_BEING_PICKED_UP_FROM_MOUNT,
269
+ * CARRIABLE_STATE_BEING_CUT_FREE,
270
+ * CARRIABLE_STATE_BEING_PLACED_ON_GROUND_ESCAPE,
271
+ * CARRIABLE_STATE_BEING_PLACED_IN_VEHICLE
272
+ * };
273
+ *
274
+ * @returns
275
+ */
276
+ get CarriableState(): number;
277
+ /**
278
+ * @param value
279
+ */
280
+ set MaxHealth(value: number);
281
+ /**
282
+ * Params: p1 (probably animType) = 1, 0
283
+ *
284
+ * @param p1
285
+ * @returns
286
+ */
287
+ isPlayingAnyAnim(p1: number): boolean;
288
+ /**
289
+ * @param enabled
290
+ */
291
+ set LightsEnabled(enabled: boolean);
292
+ /**
293
+ * Offset values are relative to the entity. x = left/right
294
+ * y = forward/backward
295
+ * z = up/down
296
+ *
297
+ * @param offset
298
+ * @returns
299
+ */
300
+ getOffsetFromInWorldCoords(offset: Vector3): Vector3;
301
+ /**
302
+ * Checks if entity1 is within the box defined by x/y/zSize of entity2. Last three parameters are almost always p5 = 0, p6 = 1, p7 = 0
303
+ *
304
+ * @param entity2
305
+ * @param xSize
306
+ * @param ySize
307
+ * @param zSize
308
+ * @param p5
309
+ * @param p6
310
+ * @param p7
311
+ * @returns
312
+ */
313
+ isAtEntity(entity2: Entity, xSize: number, ySize: number, zSize: number, p5: boolean, p6: boolean, p7: number): boolean;
314
+ /**
315
+ * @param toggle
316
+ */
317
+ set Visible(toggle: boolean);
318
+ /**
319
+ * Old name: _SET_ENTITY_CLEANUP_BY_ENGINE
320
+ *
321
+ * @param toggle
322
+ */
323
+ set ShouldFreezeWaitingOnCollision(toggle: boolean);
324
+ /**
325
+ * Note: this native was removed in 1232 but added back in 1311
326
+ * Old name: _GET_ENTITY_PROOFS
327
+ *
328
+ * @returns
329
+ */
330
+ get Proofs(): number;
331
+ /**
332
+ * skin - everything alpha except skin
333
+ * Set entity alpha level. Ranging from 0 to 255 but changes occur after every 20 percent (after every 51).
334
+ *
335
+ * @param alphaLevel
336
+ * @param skin
337
+ */
338
+ setAlpha(alphaLevel: number, skin: boolean): void;
293
339
  /**
294
340
  * @returns
295
341
  */
296
- getNearestParticipantToEntity(): Player | null;
342
+ get ThreatTier(): number;
297
343
  /**
298
344
  * @param p1
299
345
  */
@@ -317,7 +363,7 @@ export declare class Entity implements IHandle {
317
363
  /**
318
364
  * @returns rightVector; forwardVector; upVector; position
319
365
  */
320
- getMatrix(): [Vector3, Vector3, Vector3, Vector3];
366
+ get Matrix(): [Vector3, Vector3, Vector3, Vector3];
321
367
  /**
322
368
  * Called if entity is in water and submerged level is larger than 1f. If CARRYING_FLAG_FORCE_ALLOW_WARP_TO_SAFE_GROUND_LOCATION is true, it gets disabled as well.
323
369
  */
@@ -343,95 +389,91 @@ export declare class Entity implements IHandle {
343
389
  * @returns
344
390
  */
345
391
  getCoords(alive?: boolean, realCoords?: boolean): Vector3;
392
+ get Coords(): Vector3;
346
393
  /**
347
394
  * @returns
348
395
  */
349
- isAnObject(): boolean;
350
- /**
351
- * @returns
352
- */
353
- isUpsidedown(): boolean;
354
- /**
355
- * @param p1
356
- * @returns
357
- */
358
- doesBelongToThisScript(p1: boolean): boolean;
396
+ get IsAnObject(): boolean;
359
397
  /**
360
- * Returns a hash of an entity's name. (Alternative Name: _GET_ENTITY_PROMPT_NAME_HASH)
398
+ * Used in Script Function DUELING_DID_PLAYER_DISARM_OPPONENT
361
399
  *
400
+ * @param entity2
401
+ * @param p2
402
+ * @param p3
362
403
  * @returns
363
404
  */
364
- getCarriableFromEntity(): number;
405
+ N_0x3EC28DA1FFAC9DDD(entity2: Entity, p2: any, p3: any): boolean;
365
406
  /**
366
- * @param toggle
367
- * @param keepPhysics
407
+ * Must be called from a background script, otherwise it will do nothing.
368
408
  */
369
- setCollision(toggle: boolean, keepPhysics: boolean): void;
409
+ delete2(): void;
370
410
  /**
371
411
  * @param p1
372
412
  * @returns
373
413
  */
374
- placeOnGroundProperly(p1: boolean): any;
414
+ isInAir(p1: any): boolean;
375
415
  /**
376
416
  * @returns
377
417
  */
378
- isInWater(): boolean;
418
+ get IsAMissionEntity(): boolean;
379
419
  /**
380
- * @returns Returns `true` if the entity exists
420
+ * @returns
381
421
  */
382
- doesExist(): boolean;
422
+ get IsAttachedToAnyPed(): boolean;
383
423
  /**
424
+ * @param to
384
425
  * @returns
385
426
  */
386
- getAlpha(): number;
427
+ isAttachedToEntity(to: Entity): boolean;
387
428
  /**
388
- * This native only works on `Ped` and `Object` entity types
389
- *
390
- * @param flagId Refer to [enum: eCarryingFlags]
391
429
  * @returns
392
430
  */
393
- getCarryingFlag(flagId: eCarryingFlags): number;
431
+ hasBeenDamagedByAnyObject(): boolean;
394
432
  /**
395
- * @param p1
433
+ * @param rotationOrder
434
+ * @returns
396
435
  */
397
- forceAiAndAnimationUpdate(p1: boolean): void;
398
- /**
399
- * Axis - Invert Axis Flags
400
- *
401
- * @param pos
402
- * @param xAxis
403
- * @param yAxis
404
- * @param zAxis
436
+ getRotation(rotationOrder: number): Vector3;
437
+ /**
438
+ * @param toggle
405
439
  */
406
- setCoordsNoOffset(pos: Vector3, xAxis: boolean, yAxis: boolean, zAxis: boolean): void;
440
+ set MotionBlur(toggle: boolean);
441
+ resetAlpha(): void;
407
442
  /**
408
- * Returns (CUR_HEALTH / MAX_HEALTH)
443
+ * Checks if entity is within x/y/zSize distance of x/y/z. Last three are unknown ints, almost always p7 = 0, p8 = 1, p9 = 0
409
444
  *
445
+ * @param pos
446
+ * @param xSize
447
+ * @param ySize
448
+ * @param zSize
449
+ * @param p7
450
+ * @param p8
451
+ * @param p9
410
452
  * @returns
411
453
  */
412
- getHealthFloat(): number;
454
+ isAtCoord(pos: Vector3, xSize: number, ySize: number, zSize: number, p7: boolean, p8: boolean, p9: number): boolean;
413
455
  /**
414
456
  * LOD distance can be 0 to 0xFFFF (higher values will result in 0xFFFF) as it is actually stored as a 16-bit value (aka uint16_t).
415
457
  *
416
458
  * @param value
417
459
  */
418
- setLodDist(value: number): void;
460
+ set LodDist(value: number);
419
461
  /**
420
462
  * @param toggle
421
463
  */
422
- setDynamic(toggle: boolean): void;
464
+ set Dynamic(toggle: boolean);
423
465
  /**
424
466
  * @param radius
425
467
  */
426
- setCustomPickupRadius(radius: number): void;
468
+ set CustomPickupRadius(radius: number);
427
469
  /**
428
470
  * @returns
429
471
  */
430
- getPopulationType(): number;
472
+ get PopulationType(): number;
431
473
  /**
432
474
  * @returns
433
475
  */
434
- isAVehicle(): boolean;
476
+ get IsAVehicle(): boolean;
435
477
  /**
436
478
  * @param pos
437
479
  * @param atTop
@@ -448,11 +490,11 @@ export declare class Entity implements IHandle {
448
490
  /**
449
491
  * @param toggle
450
492
  */
451
- setCanClimbOnEntity(toggle: boolean): void;
493
+ set CanClimbOnEntity(toggle: boolean);
452
494
  /**
453
495
  * @returns minimum; maximum
454
496
  */
455
- getWorldPositionOfDimensions(): [Vector3, Vector3];
497
+ get WorldPositionOfDimensions(): [Vector3, Vector3];
456
498
  /**
457
499
  * @param p1
458
500
  * @returns
@@ -469,16 +511,111 @@ export declare class Entity implements IHandle {
469
511
  * @returns
470
512
  */
471
513
  hasCollidedWithAnything(): boolean;
514
+ /**
515
+ * @param entity2
516
+ * @param p2
517
+ * @param boneIndex
518
+ * @param offset
519
+ * @param p7
520
+ * @param p8
521
+ * @param p9
522
+ * @param p10
523
+ * @param p11
524
+ * @param p12
525
+ * @param p13
526
+ * @param p14
527
+ * @param p15
528
+ * @param p16
529
+ * @param p17
530
+ * @param p18
531
+ * @param p19
532
+ * @param p20
533
+ * @param p21
534
+ */
535
+ attachToEntityPhysically(entity2: Entity, p2: number, boneIndex: number, offset: Vector3, p7: number, p8: number, p9: number, p10: number, p11: number, p12: number, p13: number, p14: boolean, p15: boolean, p16: boolean, p17: boolean, p18: number, p19: boolean, p20: number, p21: number): void;
536
+ /**
537
+ * @returns
538
+ */
539
+ get HeightAboveGround(): number;
540
+ /**
541
+ * @param pos
542
+ * @param heading
543
+ * @param p5
544
+ * @param p6
545
+ */
546
+ setCoordsAndHeadingNoOffset(pos: Vector3, heading: number, p5: boolean, p6: boolean): void;
547
+ /**
548
+ * Creates a spherical cone at origin that extends to surface with the angle specified. Then returns true if the entity is inside the spherical cone Angle is measured in degrees.
549
+ *
550
+ * @param originX
551
+ * @param originY
552
+ * @param originZ
553
+ * @param edgeX
554
+ * @param edgeY
555
+ * @param edgeZ
556
+ * @param angle
557
+ * @param p8
558
+ * @param p9
559
+ * @param p10
560
+ * @returns
561
+ */
562
+ isInAngledArea(originX: number, originY: number, originZ: number, edgeX: number, edgeY: number, edgeZ: number, angle: number, p8: boolean, p9: boolean, p10: any): boolean;
563
+ clearLastDamageEntity(): void;
564
+ /**
565
+ * @param toggle
566
+ */
567
+ set AlwaysPrerender(toggle: boolean);
568
+ /**
569
+ * Note that the third parameter(denoted as z) is "up and down" with positive numbers encouraging upwards movement.
570
+ *
571
+ * @param pos
572
+ */
573
+ set Velocity(pos: Vector3);
574
+ /**
575
+ * SET_ENTITY_LO*
576
+ *
577
+ * @param p1
578
+ * @param p2
579
+ * @param p3
580
+ */
581
+ N_0xAF7F3099B9FEB535(p1: number, p2: number, p3: number): void;
582
+ /**
583
+ * @returns
584
+ */
585
+ N_0xAF72EC7E1B54539B(): Entity | null;
586
+ /**
587
+ * Simply returns whatever is passed to it (Regardless of whether the handle is valid or not).
588
+ *
589
+ * @returns
590
+ */
591
+ get ObjectIndexFromIndex(): Prop | null;
592
+ /**
593
+ * Has the entity1 got a clear line of sight to the other entity2 from the direction entity1 is facing.
594
+ *
595
+ * @param entity2
596
+ * @param traceType
597
+ * @returns
598
+ */
599
+ hasClearLosToEntityInFront(entity2: Entity, traceType: number): boolean;
600
+ /**
601
+ * @returns
602
+ */
603
+ get IsOnTrainTrack(): any;
604
+ /**
605
+ * @param angle
606
+ * @returns
607
+ */
608
+ isUpright(angle: number): boolean;
472
609
  /**
473
610
  * Simply returns whatever is passed to it (Regardless of whether the handle is valid or not).
474
611
  *
475
612
  * @returns
476
613
  */
477
- getVehicleIndexFromIndex(): Vehicle | null;
614
+ get VehicleIndexFromIndex(): Vehicle | null;
478
615
  /**
479
616
  * @returns
480
617
  */
481
- isVisible(): boolean;
618
+ get IsVisible(): boolean;
482
619
  /**
483
620
  * SET_ENTITY_LO*
484
621
  *
@@ -500,184 +637,225 @@ export declare class Entity implements IHandle {
500
637
  */
501
638
  hasBeenDamagedByAnyPed(): boolean;
502
639
  /**
503
- * @param targetEntity
504
- * @returns
640
+ * @param pos
641
+ * @param xAxis
642
+ * @param yAxis
643
+ * @param zAxis
644
+ * @param clearArea
505
645
  */
506
- isTouchingEntity(targetEntity: Entity): boolean;
507
- deleteCarriable(): void;
646
+ setCoords(pos: Vector3, xAxis: boolean, yAxis: boolean, zAxis: boolean, clearArea: boolean): void;
508
647
  /**
509
- * Returns a normalized value between 0.0f and 1.0f. You can get the actual anim time by multiplying this by GET_ANIM_DURATION
510
- *
511
- * @param animDict
512
- * @param animName
648
+ * @param boneName
513
649
  * @returns
514
650
  */
515
- getAnimCurrentTime(animDict: string | null, animName: string | null): number;
516
- /**
517
- * @param entity2
518
- * @param thisFrameOnly
519
- */
520
- setNoCollisionEntity(entity2: Entity, thisFrameOnly: boolean): void;
651
+ getBoneIndexByName(boneName: string | null): number;
521
652
  /**
522
- * Result is in meters per second (m/s)
523
- *
524
- * @returns
653
+ * @param pause
525
654
  */
526
- getSpeed(): number;
655
+ pauseTracking(pause: boolean): void;
527
656
  /**
528
- * @param bOnlyDamagedWhenRunningScript
657
+ * @param toggle
529
658
  */
530
- setCanOnlyBeDamagedByScriptParticipants(bOnlyDamagedWhenRunningScript: boolean): void;
659
+ set LoadCollisionFlag(toggle: boolean);
531
660
  /**
532
- * @returns
661
+ * Changes type and quality of skins
662
+ * type hashes: https://pastebin.com/C1WvQjCy
663
+ *
664
+ * @param type
533
665
  */
534
- isTrackedVisible(): any;
666
+ set CarcassType(type: string | number);
535
667
  /**
536
- * @param p1
537
- * @param collision
668
+ * @param toggle
538
669
  */
539
- detachEntity(p1: boolean, collision: boolean): void;
670
+ set HasGravity(toggle: boolean);
540
671
  /**
672
+ * @param relative
541
673
  * @returns
542
674
  */
543
- isVisibleToScript(): boolean;
675
+ getSpeedVector(relative: boolean): Vector3;
544
676
  /**
545
677
  * @param entity2
546
- * @param traceType
547
- * @returns
548
- */
549
- hasClearLosToEntity(entity2: Entity, traceType: number): boolean;
550
- /**
551
- * Used in Script Function GENERIC_ITEM_HAS_ANIM_COMPLETED
552
- * *GET_ENTITY**
553
- *
554
- * @param animDict
555
- * @param animClip
678
+ * @param p2
679
+ * @param p3
556
680
  * @returns
557
681
  */
558
- N_0x8E46E18AA828334F(animDict: string | null, animClip: string | null): number;
682
+ hasBeenDamagedByEntity(entity2: Entity, p2: boolean, p3: boolean): boolean;
559
683
  /**
560
- * @param playerPedToIgnore
561
- * @param flags
562
684
  * @returns
563
685
  */
564
- getNearestPlayerToEntity(playerPedToIgnore: Ped, flags: number): Player | null;
686
+ get IsFullyLooted(): any;
565
687
  /**
566
- * Gets the Y-component of the entity's forward vector.
567
- *
568
688
  * @returns
569
689
  */
570
- getForwardY(): number;
690
+ get IsOccluded(): boolean;
571
691
  /**
572
- * @param pitch
573
- * @param roll
574
- * @param yaw
575
- * @param rotationOrder
576
- * @param p5
692
+ * @param toggle
577
693
  */
578
- setRotation(pitch: number, roll: number, yaw: number, rotationOrder: number, p5: boolean): void;
694
+ set CanBeDamaged(toggle: boolean);
579
695
  /**
580
- * @param p1
581
- * @param relationshipGroup
696
+ * @param forceFlags
697
+ * @param pos
698
+ * @param offset
699
+ * @param boneIndex
700
+ * @param isDirectionRel
701
+ * @param ignoreUpVec
702
+ * @param isForceRel
703
+ * @param p12
704
+ * @param p13
582
705
  */
583
- setOnlyDamagedByRelationshipGroup(p1: boolean, relationshipGroup: string | number): void;
706
+ applyForceToEntity(forceFlags: number, pos: Vector3, offset: Vector3, boneIndex: number, isDirectionRel: boolean, ignoreUpVec: boolean, isForceRel: boolean, p12: boolean, p13: boolean): void;
584
707
  /**
585
- * https://github.com/femga/rdr3_discoveries/tree/master/AI/ENTITY_PROOFS
586
- * BOOL p2: handles an additional special proofs flag, so it simply indicates whether it should be enabled or disabled, not sure what exactly it proofs the entity from though
587
- *
588
- * @param proofsBitset
589
- * @param specialFlag
708
+ * @returns
590
709
  */
591
- setProofs(proofsBitset: number, specialFlag: boolean): void;
710
+ get IsDead(): boolean;
592
711
  /**
712
+ * @param pos1
713
+ * @param pos2
714
+ * @param p7
715
+ * @param p8
716
+ * @param p9
593
717
  * @returns
594
718
  */
595
- hasCollisionLoadedAroundEntity(): boolean;
719
+ isInArea(pos1: Vector3, pos2: Vector3, p7: boolean, p8: boolean, p9: any): boolean;
596
720
  /**
721
+ * Returns the coordinates of an entity-bone.
722
+ * https://github.com/femga/rdr3_discoveries/tree/master/boneNames
723
+ *
724
+ * @param boneIndex
597
725
  * @returns
598
726
  */
599
- getIsCarriablePelt(): any;
727
+ getWorldPositionOfBone(boneIndex: number): Vector3;
600
728
  /**
601
- * @param p1
729
+ * https://github.com/femga/rdr3_discoveries/tree/master/animations
730
+ *
731
+ * @param animName
732
+ * @param animDict
733
+ * @param p3
734
+ * @param loop
735
+ * @param stayInAnim
736
+ * @param p6
737
+ * @param delta
738
+ * @param bitset
602
739
  * @returns
603
740
  */
604
- getVelocity(p1: number): Vector3;
741
+ playAnim(animName: string | null, animDict: string | null, p3: number, loop: boolean, stayInAnim: boolean, p6: boolean, delta: number, bitset: any): boolean;
605
742
  /**
606
- * @param toggle
743
+ * Returns false if entity is not a ped or object.
744
+ *
745
+ * @returns lootTable
607
746
  */
608
- setCanAutoVaultOnEntity(toggle: boolean): void;
747
+ get ScriptOverrideLootTablePermanent(): [any, number];
609
748
  /**
610
- * Sets the loot table an entity will carry. Returns true if loot table has been successfully set. Returns false if entity is not a ped or object.
611
- * https://github.com/femga/rdr3_discoveries/blob/master/AI/EVENTS/loot_rewards.lua
612
- *
613
- * @param lootTable
749
+ * @param animDict
750
+ * @param animName
751
+ * @param p3
614
752
  * @returns
615
753
  */
616
- scriptOverrideLootTablePermanent(lootTable: string | number): any;
754
+ hasAnimFinished(animDict: string | null, animName: string | null, p3: number): boolean;
617
755
  /**
618
- * @returns argStruct
756
+ * @param bCanBeDamaged
757
+ * @param relGroup
619
758
  */
620
- getScript(): [number, number];
759
+ setCanBeDamagedByRelationshipGroup(bCanBeDamaged: boolean, relGroup: string | number): void;
621
760
  /**
622
- * @param actionHash
623
761
  * @returns
624
762
  */
625
- hasAnimEventFired(actionHash: string | number): boolean;
763
+ get UprightValue(): number;
626
764
  /**
627
- * @param p1
765
+ * @param pos
766
+ * @param heading
767
+ * @param xAxis
768
+ * @param yAxis
769
+ * @param zAxis
628
770
  */
629
- N_0xEF259AA1E097E0AD(p1: any): void;
771
+ setCoordsAndHeading(pos: Vector3, heading: number, xAxis: boolean, yAxis: boolean, zAxis: boolean): void;
630
772
  /**
631
- * Getter for FREEZE_ENTITY_POSITION
773
+ * Returns zero if the entity is not a carriable
632
774
  *
633
775
  * @returns
634
776
  */
635
- isFrozen(): any;
777
+ get CarryConfig(): number;
636
778
  /**
637
- * Returns the entity that is looting a ped but only while the looting is active
779
+ * tier: https://github.com/Halen84/RDR3-Native-Flags-And-Enums/tree/main/eEntityThreatTier
780
+ *
781
+ * @param tier
782
+ * @param p2
783
+ */
784
+ setThreatTier(tier: number, p2: boolean): void;
785
+ /**
786
+ * Returns the heading of the entity in degrees. Also know as the "Yaw" of an entity.
638
787
  *
639
788
  * @returns
640
789
  */
641
- getLootingPed(): Ped | null;
790
+ get Heading(): number;
642
791
  /**
792
+ * Returns the LOD distance of an entity.
793
+ *
643
794
  * @returns
644
795
  */
645
- isWaitingForWorldCollision(): boolean;
796
+ get LodDist(): number;
646
797
  /**
647
- * Gets the X-component of the entity's forward vector.
648
- *
649
798
  * @returns
650
799
  */
651
- getForwardX(): number;
800
+ doesHaveDrawable(): boolean;
652
801
  /**
653
- * @returns
802
+ * @param xyzw
654
803
  */
655
- isAPed(): boolean;
804
+ set Quaternion(xyzw: Vector4);
656
805
  /**
657
806
  * @returns
658
807
  */
659
- getPitch(): number;
808
+ get IsAttachedToAnyObject(): boolean;
660
809
  /**
661
- * @returns
810
+ * Sets a ped or an object totally invincible. It doesn't take any kind of damage. Peds will not ragdoll on explosions.
811
+ *
812
+ * @param toggle
662
813
  */
663
- isStatic(): boolean;
814
+ set Invincible(toggle: boolean);
664
815
  /**
665
- * Returns the model hash from the entity
816
+ * Attaches entity1 to bone (boneIndex) of entity2. boneIndex - this is different to boneID, use GET_PED_BONE_INDEX to get the index from the ID. use the index for attaching to specific bones. entity1 will be attached to entity2's centre if bone index given doesn't correspond to bone indexes for that entity type.
817
+ * https://github.com/femga/rdr3_discoveries/tree/master/boneNames useSoftPinning - if set to false attached entity will not detach when fixed
818
+ * collision - controls collision between the two entities (FALSE disables collision).
819
+ * isPed - pitch doesn't work when false and roll will only work on negative numbers (only peds)
820
+ * vertexIndex - position of vertex
821
+ * fixedRot - if false it ignores entity vector
666
822
  *
823
+ * @param entity2
824
+ * @param boneIndex
825
+ * @param pos
826
+ * @param rot
827
+ * @param p9
828
+ * @param useSoftPinning
829
+ * @param collision
830
+ * @param isPed
831
+ * @param vertexIndex
832
+ * @param fixedRot
833
+ * @param p15
834
+ * @param p16
835
+ */
836
+ attachToEntity(entity2: Entity, boneIndex: number, pos: Vector3, rot: Vector3, p9: boolean, useSoftPinning: boolean, collision: boolean, isPed: boolean, vertexIndex: number, fixedRot: boolean, p15: boolean, p16: boolean): void;
837
+ /**
667
838
  * @returns
668
839
  */
669
- getModel(): number;
840
+ get IsAnimal(): any;
670
841
  /**
671
- * Deletes the specified entity, then sets the handle pointed to by the pointer to NULL.
842
+ * p6/relative - makes the xyz force not relative to world coords, but to something else
843
+ * p7/highForce - setting false will make the force really low
844
+ *
845
+ * @param forceType
846
+ * @param pos
847
+ * @param component
848
+ * @param isDirectionRel
849
+ * @param isForceRel
850
+ * @param p8
672
851
  */
673
- deleteEntity(): void;
852
+ applyForceToCenterOfMass(forceType: number, pos: Vector3, component: number, isDirectionRel: boolean, isForceRel: boolean, p8: boolean): void;
674
853
  /**
675
- * @param team
676
- * @param playerPedToIgnore
677
- * @param flags
854
+ * Old name: _GET_ENTITY_CAN_BE_DAMAGED
855
+ *
678
856
  * @returns
679
857
  */
680
- getNearestPlayerToOnTeam(team: number, playerPedToIgnore: Ped, flags: number): Player | null;
858
+ get CanBeDamaged(): any;
681
859
  /**
682
860
  * Seems to return true if entity is burned / scorched
683
861
  * *GET_ENTITY**
@@ -688,7 +866,7 @@ export declare class Entity implements IHandle {
688
866
  /**
689
867
  * @param toggle
690
868
  */
691
- setRequiresMoreExpensiveRiverCheck(toggle: boolean): void;
869
+ set RequiresMoreExpensiveRiverCheck(toggle: boolean);
692
870
  /**
693
871
  * @param boneIndex
694
872
  * @returns Returns the offset from the entity for the selected bone index.
@@ -700,27 +878,27 @@ export declare class Entity implements IHandle {
700
878
  *
701
879
  * @returns
702
880
  */
703
- getPedIndexFromIndex(): Ped | null;
881
+ get PedIndexFromIndex(): Ped | null;
704
882
  /**
705
883
  * Sets whether the entity can be targeted without being in line-of-sight.
706
884
  *
707
885
  * @param toggle
708
886
  */
709
- setCanBeTargetedWithoutLos(toggle: boolean): void;
887
+ set CanBeTargetedWithoutLos(toggle: boolean);
710
888
  /**
711
889
  * @returns
712
890
  */
713
- isOnScreen(): boolean;
891
+ get IsOnScreen(): boolean;
714
892
  /**
715
893
  * Old name: _SET_ENTITY_DECALS_DISABLED
716
894
  *
717
895
  * @param toggle
718
896
  */
719
- setNoweapondecals(toggle: boolean): void;
897
+ set Noweapondecals(toggle: boolean);
720
898
  /**
721
899
  * @returns
722
900
  */
723
- getHealth(): number;
901
+ get Health(): number;
724
902
  /**
725
903
  * sets the fill in state for some objects like for the stew, coffee mug ,poker chips, jugs ? P1 is either 0 or 2 p2 seems to be a label/name p3 is the fill in state, max seems to be for some 3.0 (most is 1.0) - 0.0
726
904
  * heres some of the labels/names found
@@ -777,11 +955,11 @@ export declare class Entity implements IHandle {
777
955
  /**
778
956
  * @returns
779
957
  */
780
- getAttachedTo(): Entity | null;
958
+ get AttachedTo(): Entity | null;
781
959
  /**
782
960
  * @param toggle
783
961
  */
784
- setOnlyDamagedByPlayer(toggle: boolean): void;
962
+ set OnlyDamagedByPlayer(toggle: boolean);
785
963
  /**
786
964
  * @param p1
787
965
  * @param p2
@@ -801,104 +979,17 @@ export declare class Entity implements IHandle {
801
979
  /**
802
980
  * @returns
803
981
  */
804
- getIsPredator(): any;
805
- /**
806
- * enum eCarriableState
807
- * {
808
- * CARRIABLE_STATE_NONE,
809
- * CARRIABLE_STATE_TRANSITIONING_TO_HOGTIED,
810
- * CARRIABLE_STATE_CARRIABLE_INTRO,
811
- * CARRIABLE_STATE_CARRIABLE,
812
- * CARRIABLE_STATE_BEING_PICKED_UP_FROM_GROUND,
813
- * CARRIABLE_STATE_CARRIED_BY_HUMAN,
814
- * CARRIABLE_STATE_BEING_PLACED_ON_GROUND,
815
- * CARRIABLE_STATE_CARRIED_BY_MOUNT,
816
- * CARRIABLE_STATE_BEING_PLACED_ON_MOUNT,
817
- * CARRIABLE_STATE_BEING_PICKED_UP_FROM_MOUNT,
818
- * CARRIABLE_STATE_BEING_CUT_FREE,
819
- * CARRIABLE_STATE_BEING_PLACED_ON_GROUND_ESCAPE,
820
- * CARRIABLE_STATE_BEING_PLACED_IN_VEHICLE
821
- * };
822
- *
823
- * @returns
824
- */
825
- getCarriableState(): number;
826
- /**
827
- * @param value
828
- */
829
- setMaxHealth(value: number): void;
830
- /**
831
- * Params: p1 (probably animType) = 1, 0
832
- *
833
- * @param p1
834
- * @returns
835
- */
836
- isPlayingAnyAnim(p1: number): boolean;
837
- /**
838
- * @param enabled
839
- */
840
- setLightsEnabled(enabled: boolean): void;
841
- /**
842
- * Offset values are relative to the entity. x = left/right
843
- * y = forward/backward
844
- * z = up/down
845
- *
846
- * @param offset
847
- * @returns
848
- */
849
- getOffsetFromInWorldCoords(offset: Vector3): Vector3;
850
- /**
851
- * Checks if entity1 is within the box defined by x/y/zSize of entity2. Last three parameters are almost always p5 = 0, p6 = 1, p7 = 0
852
- *
853
- * @param entity2
854
- * @param xSize
855
- * @param ySize
856
- * @param zSize
857
- * @param p5
858
- * @param p6
859
- * @param p7
860
- * @returns
861
- */
862
- isAtEntity(entity2: Entity, xSize: number, ySize: number, zSize: number, p5: boolean, p6: boolean, p7: number): boolean;
863
- /**
864
- * @param toggle
865
- */
866
- setVisible(toggle: boolean): void;
867
- /**
868
- * Old name: _SET_ENTITY_CLEANUP_BY_ENGINE
869
- *
870
- * @param toggle
871
- */
872
- setShouldFreezeWaitingOnCollision(toggle: boolean): void;
873
- /**
874
- * Note: this native was removed in 1232 but added back in 1311
875
- * Old name: _GET_ENTITY_PROOFS
876
- *
877
- * @returns
878
- */
879
- getProofs(): number;
880
- /**
881
- * skin - everything alpha except skin
882
- * Set entity alpha level. Ranging from 0 to 255 but changes occur after every 20 percent (after every 51).
883
- *
884
- * @param alphaLevel
885
- * @param skin
886
- */
887
- setAlpha(alphaLevel: number, skin: boolean): void;
888
- /**
889
- * @returns
890
- */
891
- getThreatTier(): number;
982
+ get IsPredator(): any;
892
983
  /**
893
984
  * Returns entityType: https://github.com/Halen84/RDR3-Native-Flags-And-Enums/tree/main/eEntityType
894
985
  *
895
986
  * @returns
896
987
  */
897
- getType(): number;
988
+ get Type(): number;
898
989
  /**
899
990
  * @returns
900
991
  */
901
- isOwnedByPersistenceSystem(): any;
992
+ get IsOwnedByPersistenceSystem(): any;
902
993
  /**
903
994
  * @param animDict
904
995
  * @param animName
@@ -926,11 +1017,11 @@ export declare class Entity implements IHandle {
926
1017
  *
927
1018
  * @returns
928
1019
  */
929
- getSubmergedLevel(): number;
1020
+ get SubmergedLevel(): number;
930
1021
  /**
931
1022
  * @returns
932
1023
  */
933
- isAttached(): boolean;
1024
+ get IsAttached(): boolean;
934
1025
  /**
935
1026
  * SET_ENTITY_A*
936
1027
  *
@@ -940,163 +1031,77 @@ export declare class Entity implements IHandle {
940
1031
  /**
941
1032
  * @param looted
942
1033
  */
943
- setFullyLooted(looted: boolean): void;
1034
+ set FullyLooted(looted: boolean);
944
1035
  /**
945
1036
  * @returns
946
1037
  */
947
- isAttachedToAnyVehicle(): boolean;
1038
+ get IsAttachedToAnyVehicle(): boolean;
948
1039
  /**
949
- * Used in Script Function DUELING_DID_PLAYER_DISARM_OPPONENT
950
- *
951
- * @param entity2
952
- * @param p2
953
- * @param p3
954
1040
  * @returns
955
1041
  */
956
- N_0x3EC28DA1FFAC9DDD(entity2: Entity, p2: any, p3: any): boolean;
957
- /**
958
- * Must be called from a background script, otherwise it will do nothing.
959
- */
960
- delete2(): void;
1042
+ get IsUpsidedown(): boolean;
961
1043
  /**
962
1044
  * @param p1
963
1045
  * @returns
964
1046
  */
965
- isInAir(p1: any): boolean;
966
- /**
967
- * @returns
968
- */
969
- isAMissionEntity(): boolean;
970
- /**
971
- * @returns
972
- */
973
- isAttachedToAnyPed(): boolean;
974
- /**
975
- * @param to
976
- * @returns
977
- */
978
- isAttachedToEntity(to: Entity): boolean;
979
- /**
980
- * @returns
981
- */
982
- hasBeenDamagedByAnyObject(): boolean;
1047
+ doesBelongToThisScript(p1: boolean): boolean;
983
1048
  /**
984
- * @param rotationOrder
1049
+ * Returns a hash of an entity's name. (Alternative Name: _GET_ENTITY_PROMPT_NAME_HASH)
1050
+ *
985
1051
  * @returns
986
1052
  */
987
- getRotation(rotationOrder: number): Vector3;
1053
+ get CarriableFromEntity(): number;
988
1054
  /**
989
1055
  * @param toggle
1056
+ * @param keepPhysics
990
1057
  */
991
- setMotionBlur(toggle: boolean): void;
992
- resetAlpha(): void;
1058
+ setCollision(toggle: boolean, keepPhysics: boolean): void;
993
1059
  /**
994
- * Checks if entity is within x/y/zSize distance of x/y/z. Last three are unknown ints, almost always p7 = 0, p8 = 1, p9 = 0
995
- *
996
- * @param pos
997
- * @param xSize
998
- * @param ySize
999
- * @param zSize
1000
- * @param p7
1001
- * @param p8
1002
- * @param p9
1060
+ * @param p1
1003
1061
  * @returns
1004
1062
  */
1005
- isAtCoord(pos: Vector3, xSize: number, ySize: number, zSize: number, p7: boolean, p8: boolean, p9: number): boolean;
1006
- /**
1007
- * @param entity2
1008
- * @param p2
1009
- * @param boneIndex
1010
- * @param offset
1011
- * @param p7
1012
- * @param p8
1013
- * @param p9
1014
- * @param p10
1015
- * @param p11
1016
- * @param p12
1017
- * @param p13
1018
- * @param p14
1019
- * @param p15
1020
- * @param p16
1021
- * @param p17
1022
- * @param p18
1023
- * @param p19
1024
- * @param p20
1025
- * @param p21
1026
- */
1027
- attachToEntityPhysically(entity2: Entity, p2: number, boneIndex: number, offset: Vector3, p7: number, p8: number, p9: number, p10: number, p11: number, p12: number, p13: number, p14: boolean, p15: boolean, p16: boolean, p17: boolean, p18: number, p19: boolean, p20: number, p21: number): void;
1063
+ placeOnGroundProperly(p1: boolean): any;
1028
1064
  /**
1029
1065
  * @returns
1030
1066
  */
1031
- getHeightAboveGround(): number;
1067
+ get IsInWater(): boolean;
1032
1068
  /**
1033
- * @param pos
1034
- * @param heading
1035
- * @param p5
1036
- * @param p6
1069
+ * @returns Returns `true` if the entity exists
1037
1070
  */
1038
- setCoordsAndHeadingNoOffset(pos: Vector3, heading: number, p5: boolean, p6: boolean): void;
1071
+ doesExist(): boolean;
1039
1072
  /**
1040
- * Creates a spherical cone at origin that extends to surface with the angle specified. Then returns true if the entity is inside the spherical cone Angle is measured in degrees.
1041
- *
1042
- * @param originX
1043
- * @param originY
1044
- * @param originZ
1045
- * @param edgeX
1046
- * @param edgeY
1047
- * @param edgeZ
1048
- * @param angle
1049
- * @param p8
1050
- * @param p9
1051
- * @param p10
1052
1073
  * @returns
1053
1074
  */
1054
- isInAngledArea(originX: number, originY: number, originZ: number, edgeX: number, edgeY: number, edgeZ: number, angle: number, p8: boolean, p9: boolean, p10: any): boolean;
1055
- clearLastDamageEntity(): void;
1056
- /**
1057
- * @param toggle
1058
- */
1059
- setAlwaysPrerender(toggle: boolean): void;
1075
+ get Alpha(): number;
1060
1076
  /**
1061
- * Note that the third parameter(denoted as z) is "up and down" with positive numbers encouraging upwards movement.
1077
+ * This native only works on `Ped` and `Object` entity types
1062
1078
  *
1063
- * @param pos
1079
+ * @param flagId Refer to [enum: eCarryingFlags]
1080
+ * @returns
1064
1081
  */
1065
- setVelocity(pos: Vector3): void;
1082
+ getCarryingFlag(flagId: eCarryingFlags): number;
1066
1083
  /**
1067
- * SET_ENTITY_LO*
1068
- *
1069
1084
  * @param p1
1070
- * @param p2
1071
- * @param p3
1072
- */
1073
- N_0xAF7F3099B9FEB535(p1: number, p2: number, p3: number): void;
1074
- /**
1075
- * @returns
1076
1085
  */
1077
- N_0xAF72EC7E1B54539B(): Entity | null;
1086
+ forceAiAndAnimationUpdate(p1: boolean): void;
1078
1087
  /**
1079
- * Simply returns whatever is passed to it (Regardless of whether the handle is valid or not).
1088
+ * Axis - Invert Axis Flags
1080
1089
  *
1081
- * @returns
1090
+ * @param pos
1091
+ * @param xAxis
1092
+ * @param yAxis
1093
+ * @param zAxis
1082
1094
  */
1083
- getObjectIndexFromIndex(): Prop | null;
1095
+ setCoordsNoOffset(pos: Vector3, xAxis: boolean, yAxis: boolean, zAxis: boolean): void;
1084
1096
  /**
1085
- * Has the entity1 got a clear line of sight to the other entity2 from the direction entity1 is facing.
1097
+ * Returns (CUR_HEALTH / MAX_HEALTH)
1086
1098
  *
1087
- * @param entity2
1088
- * @param traceType
1089
- * @returns
1090
- */
1091
- hasClearLosToEntityInFront(entity2: Entity, traceType: number): boolean;
1092
- /**
1093
1099
  * @returns
1094
1100
  */
1095
- isOnTrainTrack(): any;
1101
+ get HealthFloat(): number;
1096
1102
  /**
1097
- * @param angle
1098
- * @returns
1103
+ * Gets the network ID of this entity for network synchronization.
1099
1104
  */
1100
- isUpright(angle: number): boolean;
1105
+ get NetworkId(): number;
1101
1106
  }
1102
1107
  //# sourceMappingURL=Entity.d.ts.map