@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
@@ -16,8 +16,8 @@ export class Ped extends Entity {
16
16
  /**
17
17
  * @returns
18
18
  */
19
- isOnFoot() {
20
- return inv('0x01FEE67DB37F59B2', this.handle, rai());
19
+ get IsOnFoot() {
20
+ return !!inv('0x01FEE67DB37F59B2', this.handle, rai());
21
21
  }
22
22
  /**
23
23
  * Only used in R* Script nb_stalking_hunter
@@ -30,7 +30,7 @@ export class Ped extends Entity {
30
30
  /**
31
31
  * @param grappleSequence
32
32
  */
33
- setGrappleSequence(grappleSequence) {
33
+ set GrappleSequence(grappleSequence) {
34
34
  inv('0x604190F0CF0DF158', this.handle, grappleSequence);
35
35
  }
36
36
  /**
@@ -42,7 +42,7 @@ export class Ped extends Entity {
42
42
  /**
43
43
  * @returns
44
44
  */
45
- getMeleeTargetForPed() {
45
+ get MeleeTargetForPed() {
46
46
  return createFromHandle('Ped', inv('0x18A3E9EE1297FD39', this.handle, rai()));
47
47
  }
48
48
  /**
@@ -71,7 +71,7 @@ export class Ped extends Entity {
71
71
  /**
72
72
  * @returns
73
73
  */
74
- isChild() {
74
+ get IsChild() {
75
75
  return inv('0x137772000DAF42C5', this.handle);
76
76
  }
77
77
  /**
@@ -86,7 +86,7 @@ export class Ped extends Entity {
86
86
  /**
87
87
  * @param value
88
88
  */
89
- setMaxMoveBlendRatio(value) {
89
+ set MaxMoveBlendRatio(value) {
90
90
  inv('0x433083750C5E064A', this.handle, f(value));
91
91
  }
92
92
  /**
@@ -112,7 +112,7 @@ export class Ped extends Entity {
112
112
  * @returns
113
113
  */
114
114
  N_0x2DC0E8DCBD3546E9() {
115
- return inv('0x2DC0E8DCBD3546E9', this.handle, rai());
115
+ return !!inv('0x2DC0E8DCBD3546E9', this.handle, rai());
116
116
  }
117
117
  /**
118
118
  * Doesn't actually return anything.
@@ -126,7 +126,7 @@ export class Ped extends Entity {
126
126
  /**
127
127
  * @returns
128
128
  */
129
- getMetaOutfitHash() {
129
+ get MetaOutfitHash() {
130
130
  return (inv('0x30569F348D126A5A', this.handle, rai())) & 0xFFFFFFFF;
131
131
  }
132
132
  /**
@@ -143,7 +143,7 @@ export class Ped extends Entity {
143
143
  *
144
144
  * @returns
145
145
  */
146
- getDamaged() {
146
+ get Damaged() {
147
147
  return inv('0x6CFC373008A1EDAF', this.handle);
148
148
  }
149
149
  /**
@@ -152,7 +152,7 @@ export class Ped extends Entity {
152
152
  * @returns
153
153
  */
154
154
  N_0x5C6C7C70CA302801() {
155
- return inv('0x5C6C7C70CA302801', this.handle, rai());
155
+ return !!inv('0x5C6C7C70CA302801', this.handle, rai());
156
156
  }
157
157
  /**
158
158
  * _C*
@@ -172,13 +172,13 @@ export class Ped extends Entity {
172
172
  /**
173
173
  * @param bondingLevel
174
174
  */
175
- setMountBondingLevel(bondingLevel) {
175
+ set MountBondingLevel(bondingLevel) {
176
176
  inv('0xA69899995997A63B', this.handle, bondingLevel);
177
177
  }
178
178
  /**
179
179
  * @returns
180
180
  */
181
- isVisibilityTracked() {
181
+ get IsVisibilityTracked() {
182
182
  return inv('0x5102307CE88798EB', this.handle);
183
183
  }
184
184
  /**
@@ -188,7 +188,7 @@ export class Ped extends Entity {
188
188
  * @returns
189
189
  */
190
190
  N_0x550CB89DD7F4FA3D(ped2) {
191
- return inv('0x550CB89DD7F4FA3D', this.handle, ped2.handle, rai());
191
+ return !!inv('0x550CB89DD7F4FA3D', this.handle, ped2.handle, rai());
192
192
  }
193
193
  /**
194
194
  * Used in Script Function CHECK_IS_PLAYER_SEEN
@@ -212,7 +212,7 @@ export class Ped extends Entity {
212
212
  * @returns
213
213
  */
214
214
  N_0xD4D403EA031F351C() {
215
- return inv('0xD4D403EA031F351C', this.handle, rai());
215
+ return !!inv('0xD4D403EA031F351C', this.handle, rai());
216
216
  }
217
217
  releaseVisibilityTracking() {
218
218
  inv('0x3088634CF8C819CF', this.handle);
@@ -241,7 +241,7 @@ export class Ped extends Entity {
241
241
  /**
242
242
  * @param toggle
243
243
  */
244
- setHighlyPerceptive(toggle) {
244
+ set HighlyPerceptive(toggle) {
245
245
  inv('0x52D59AB61DDC05DD', this.handle, toggle);
246
246
  }
247
247
  /**
@@ -259,7 +259,7 @@ export class Ped extends Entity {
259
259
  /**
260
260
  * @param scale
261
261
  */
262
- setScale(scale) {
262
+ set Scale(scale) {
263
263
  inv('0x25ACFC650B65C538', this.handle, f(scale));
264
264
  }
265
265
  /**
@@ -282,14 +282,14 @@ export class Ped extends Entity {
282
282
  * @returns
283
283
  */
284
284
  N_0x0EEF7A81C17679DB() {
285
- return inv('0x0EEF7A81C17679DB', this.handle, rai());
285
+ return !!inv('0x0EEF7A81C17679DB', this.handle, rai());
286
286
  }
287
287
  /**
288
288
  * _SET_W(EAPON?)*
289
289
  *
290
290
  * @param totalDamage
291
291
  */
292
- setTotalDamageFromAi(totalDamage) {
292
+ set TotalDamageFromAi(totalDamage) {
293
293
  inv('0x73B6F907B913C860', this.handle, f(totalDamage));
294
294
  }
295
295
  /**
@@ -305,7 +305,7 @@ export class Ped extends Entity {
305
305
  /**
306
306
  * @param toggle
307
307
  */
308
- setCanTorsoVehicleIk(toggle) {
308
+ set CanTorsoVehicleIk(toggle) {
309
309
  inv('0x6647C5F6F5792496', this.handle, toggle);
310
310
  }
311
311
  /**
@@ -336,7 +336,7 @@ export class Ped extends Entity {
336
336
  /**
337
337
  * @returns
338
338
  */
339
- getNumReservedHealth() {
339
+ get NumReservedHealth() {
340
340
  return inv('0x16F2C8C084AB2092', this.handle);
341
341
  }
342
342
  /**
@@ -355,7 +355,7 @@ export class Ped extends Entity {
355
355
  /**
356
356
  * @param modifier
357
357
  */
358
- setDefenseModifierForPed(modifier) {
358
+ set DefenseModifierForPed(modifier) {
359
359
  inv('0x9B6808EC46BE849B', this.handle, f(modifier));
360
360
  }
361
361
  /**
@@ -373,25 +373,25 @@ export class Ped extends Entity {
373
373
  * @returns
374
374
  */
375
375
  N_0x0D3B1568917EBDA0(p1) {
376
- return inv('0x0D3B1568917EBDA0', this.handle, p1, rai());
376
+ return !!inv('0x0D3B1568917EBDA0', this.handle, p1, rai());
377
377
  }
378
378
  /**
379
379
  * @param abilityLevel Refer to [enum: ePedCombatAbility]
380
380
  */
381
- setCombatAbility(abilityLevel) {
381
+ set CombatAbility(abilityLevel) {
382
382
  inv('0xC7622C0D36B2FDA8', this.handle, abilityLevel);
383
383
  }
384
384
  /**
385
385
  * @returns
386
386
  */
387
- isRunningRagdollTask() {
388
- return inv('0xE3B6097CC25AA69E', this.handle, rai());
387
+ get IsRunningRagdollTask() {
388
+ return !!inv('0xE3B6097CC25AA69E', this.handle, rai());
389
389
  }
390
390
  /**
391
391
  * @returns
392
392
  */
393
- isJumping() {
394
- return inv('0xCEDABC5900A0BF97', this.handle, rai());
393
+ get IsJumping() {
394
+ return !!inv('0xCEDABC5900A0BF97', this.handle, rai());
395
395
  }
396
396
  /**
397
397
  * 0.0 - 1.0
@@ -399,7 +399,7 @@ export class Ped extends Entity {
399
399
  *
400
400
  * @param scent
401
401
  */
402
- setScent(scent) {
402
+ set Scent(scent) {
403
403
  inv('0x01B21B81865E2A1F', this.handle, f(scent));
404
404
  }
405
405
  /**
@@ -424,7 +424,7 @@ export class Ped extends Entity {
424
424
  * @returns
425
425
  */
426
426
  isTargetInPerceptionArea(targetPed, p2, customDistance, p4, p5) {
427
- return inv('0x06087579E7AA85A9', this.handle, targetPed.handle, f(p2), f(customDistance), f(p4), f(p5), rai());
427
+ return !!inv('0x06087579E7AA85A9', this.handle, targetPed.handle, f(p2), f(customDistance), f(p4), f(p5), rai());
428
428
  }
429
429
  initDefaultHealth() {
430
430
  inv('0x7DD7FB3480D8083E', this.handle);
@@ -458,7 +458,7 @@ export class Ped extends Entity {
458
458
  * @returns Returns `true` if the specific action flag is disabled
459
459
  */
460
460
  isActionDisableFlagEnabled(actionDisableFlag) {
461
- return inv('0xB346C85D49CC998E', this.handle, actionDisableFlag, rai());
461
+ return !!inv('0xB346C85D49CC998E', this.handle, actionDisableFlag, rai());
462
462
  }
463
463
  /**
464
464
  * Returns peltId
@@ -476,7 +476,7 @@ export class Ped extends Entity {
476
476
  * @returns
477
477
  */
478
478
  isInAnyVehicle(atGetIn) {
479
- return inv('0x997ABD671D25CA0B', this.handle, atGetIn, rai());
479
+ return !!inv('0x997ABD671D25CA0B', this.handle, atGetIn, rai());
480
480
  }
481
481
  /**
482
482
  * @param p1
@@ -516,7 +516,7 @@ export class Ped extends Entity {
516
516
  *
517
517
  * @returns
518
518
  */
519
- getHorseTamingState() {
519
+ get HorseTamingState() {
520
520
  return inv('0x454AD4DA6C41B5BD', this.handle, rai());
521
521
  }
522
522
  /**
@@ -536,7 +536,7 @@ export class Ped extends Entity {
536
536
  /**
537
537
  * @returns
538
538
  */
539
- getTrackedPixelcount() {
539
+ get TrackedPixelcount() {
540
540
  return inv('0x511F1A683387C7E2', this.handle, rai());
541
541
  }
542
542
  /**
@@ -557,14 +557,14 @@ export class Ped extends Entity {
557
557
  *
558
558
  * @param bleedoutProfile
559
559
  */
560
- setBleedoutProfile(bleedoutProfile) {
560
+ set BleedoutProfile(bleedoutProfile) {
561
561
  inv('0x66C047719B0E80E1', this.handle, _h(bleedoutProfile));
562
562
  }
563
563
  /**
564
564
  * @returns
565
565
  */
566
- isProne() {
567
- return inv('0xD6A86331A537A7B9', this.handle, rai());
566
+ get IsProne() {
567
+ return !!inv('0xD6A86331A537A7B9', this.handle, rai());
568
568
  }
569
569
  /**
570
570
  * _CLEAR_PED_D*
@@ -585,8 +585,8 @@ export class Ped extends Entity {
585
585
  *
586
586
  * @returns
587
587
  */
588
- isSittingInAnyVehicle() {
589
- return inv('0x826AA586EDB9FEF8', this.handle, rai());
588
+ get IsSittingInAnyVehicle() {
589
+ return !!inv('0x826AA586EDB9FEF8', this.handle, rai());
590
590
  }
591
591
  /**
592
592
  * flagId: https://github.com/Halen84/RDR3-Native-Flags-And-Enums/tree/main/ePedScriptConfigFlags
@@ -619,7 +619,7 @@ export class Ped extends Entity {
619
619
  * @returns
620
620
  */
621
621
  canKnockOffVehicle() {
622
- return inv('0x51AC07A44D4F5B8A', this.handle, rai());
622
+ return !!inv('0x51AC07A44D4F5B8A', this.handle, rai());
623
623
  }
624
624
  /**
625
625
  * _IS_PED_J* - _IS_PED_L*
@@ -627,7 +627,7 @@ export class Ped extends Entity {
627
627
  * @returns
628
628
  */
629
629
  N_0xB91AB3BE7F655D49() {
630
- return inv('0xB91AB3BE7F655D49', this.handle, rai());
630
+ return !!inv('0xB91AB3BE7F655D49', this.handle, rai());
631
631
  }
632
632
  /**
633
633
  * nmTaskMessageParameterName: See physicstasks.ymt. Search for DraggedByCart or 0xD00820D7 (Used in R* SP Script marston8)
@@ -641,7 +641,7 @@ export class Ped extends Entity {
641
641
  * @returns
642
642
  */
643
643
  setToRagdoll(timeMin, timeMax, ragdollType, abortIfInjured, abortIfDead, nmTaskMessageParameterName) {
644
- return inv('0xAE99FB955581844A', this.handle, timeMin, timeMax, ragdollType, abortIfInjured, abortIfDead, nmTaskMessageParameterName, rai());
644
+ return !!inv('0xAE99FB955581844A', this.handle, timeMin, timeMax, ragdollType, abortIfInjured, abortIfDead, nmTaskMessageParameterName, rai());
645
645
  }
646
646
  /**
647
647
  * Not implemented.
@@ -666,19 +666,19 @@ export class Ped extends Entity {
666
666
  /**
667
667
  * @param toggle
668
668
  */
669
- setCanPlayAmbientBaseAnims(toggle) {
669
+ set CanPlayAmbientBaseAnims(toggle) {
670
670
  inv('0x0EB0585D15254740', this.handle, toggle);
671
671
  }
672
672
  /**
673
673
  * @returns
674
674
  */
675
- getGrappleState() {
675
+ get GrappleState() {
676
676
  return inv('0x2311F15D971AA680', this.handle, rai());
677
677
  }
678
678
  /**
679
679
  * @returns sizeAndVehs
680
680
  */
681
- getNearbyVehicles() {
681
+ get NearbyVehicles() {
682
682
  const result = inv('0xCFF869CBFA210D82', this.handle, pvi(), rai());
683
683
  return [result[0], result[1]];
684
684
  }
@@ -690,12 +690,12 @@ export class Ped extends Entity {
690
690
  * @returns
691
691
  */
692
692
  N_0xC3995D396F1D97B6(p1, p2) {
693
- return inv('0xC3995D396F1D97B6', this.handle, p1, p2, rai());
693
+ return !!inv('0xC3995D396F1D97B6', this.handle, p1, p2, rai());
694
694
  }
695
695
  /**
696
696
  * @returns
697
697
  */
698
- isDragging() {
698
+ get IsDragging() {
699
699
  return inv('0x226CF9B159E38F42', this.handle);
700
700
  }
701
701
  /**
@@ -704,7 +704,7 @@ export class Ped extends Entity {
704
704
  * @returns
705
705
  */
706
706
  N_0x290B2E6CCDE532E1() {
707
- return inv('0x290B2E6CCDE532E1', this.handle, rai());
707
+ return !!inv('0x290B2E6CCDE532E1', this.handle, rai());
708
708
  }
709
709
  /**
710
710
  * @param player
@@ -718,14 +718,14 @@ export class Ped extends Entity {
718
718
  *
719
719
  * @returns
720
720
  */
721
- isLeadingAnyGroup() {
722
- return inv('0x917760CFE7A0E0F1', this.handle, rai());
721
+ get IsLeadingAnyGroup() {
722
+ return !!inv('0x917760CFE7A0E0F1', this.handle, rai());
723
723
  }
724
724
  /**
725
725
  * @returns
726
726
  */
727
- isEnteringAnyTransport() {
728
- return inv('0x1D46B417F926D34D', this.handle);
727
+ get IsEnteringAnyTransport() {
728
+ return !!inv('0x1D46B417F926D34D', this.handle, rai());
729
729
  }
730
730
  /**
731
731
  * *HAS**
@@ -733,7 +733,7 @@ export class Ped extends Entity {
733
733
  * @returns
734
734
  */
735
735
  N_0x7020839C7302D8AC() {
736
- return inv('0x7020839C7302D8AC', this.handle, rai());
736
+ return !!inv('0x7020839C7302D8AC', this.handle, rai());
737
737
  }
738
738
  /**
739
739
  * @param position
@@ -747,8 +747,8 @@ export class Ped extends Entity {
747
747
  *
748
748
  * @returns
749
749
  */
750
- isRagdoll() {
751
- return inv('0x47E4E977581C5B55', this.handle, rai());
750
+ get IsRagdoll() {
751
+ return !!inv('0x47E4E977581C5B55', this.handle, rai());
752
752
  }
753
753
  /**
754
754
  * @returns
@@ -775,25 +775,25 @@ export class Ped extends Entity {
775
775
  /**
776
776
  * @returns
777
777
  */
778
- getFirstEntityIsCarrying() {
778
+ get FirstEntityIsCarrying() {
779
779
  return createFromHandle('Entity', inv('0xD806CD2A4F2C2996', this.handle, rai()));
780
780
  }
781
781
  /**
782
782
  * @returns
783
783
  */
784
- getTransportIsSeatedOn() {
784
+ get TransportIsSeatedOn() {
785
785
  return createFromHandle('Entity', inv('0x849BD6C6314793D0', this.handle, rai()));
786
786
  }
787
787
  /**
788
788
  * @returns
789
789
  */
790
- isAnimalInteractionRunning() {
790
+ get IsAnimalInteractionRunning() {
791
791
  return inv('0x7FC84E85D98F063D', this.handle);
792
792
  }
793
793
  /**
794
794
  * @returns
795
795
  */
796
- getCanBeIncapacitatedThisFrame() {
796
+ get CanBeIncapacitatedThisFrame() {
797
797
  return inv('0x7A4E00364B5D727B', this.handle);
798
798
  }
799
799
  /**
@@ -814,7 +814,7 @@ export class Ped extends Entity {
814
814
  /**
815
815
  * @param p1
816
816
  */
817
- setRandomComponentVariation(p1) {
817
+ set RandomComponentVariation(p1) {
818
818
  inv('0xC8A9481A01E63C28', this.handle, p1);
819
819
  }
820
820
  /**
@@ -822,7 +822,7 @@ export class Ped extends Entity {
822
822
  *
823
823
  * @param p1
824
824
  */
825
- setBeatMultiplier(p1) {
825
+ set BeatMultiplier(p1) {
826
826
  inv('0x6DBF2D78709AD70B', this.handle, f(p1));
827
827
  }
828
828
  /**
@@ -831,7 +831,7 @@ export class Ped extends Entity {
831
831
  * @returns
832
832
  */
833
833
  N_0x40C9155AF8BC13F3() {
834
- return inv('0x40C9155AF8BC13F3', this.handle, rai());
834
+ return !!inv('0x40C9155AF8BC13F3', this.handle, rai());
835
835
  }
836
836
  /**
837
837
  * Only used in R* SP Script winter1: p1 = 5000
@@ -846,13 +846,13 @@ export class Ped extends Entity {
846
846
  /**
847
847
  * @returns
848
848
  */
849
- isHangingOnToVehicle() {
850
- return inv('0x1C86D8AEF8254B78', this.handle, rai());
849
+ get IsHangingOnToVehicle() {
850
+ return !!inv('0x1C86D8AEF8254B78', this.handle, rai());
851
851
  }
852
852
  /**
853
853
  * @returns
854
854
  */
855
- getIsDoingCombatRoll() {
855
+ get IsDoingCombatRoll() {
856
856
  return inv('0xC48A9EB0D499B3E5', this.handle);
857
857
  }
858
858
  /**
@@ -860,7 +860,7 @@ export class Ped extends Entity {
860
860
  * @returns
861
861
  */
862
862
  isBeingStunned(weaponType) {
863
- return inv('0x4FBACCE3B4138EE8', this.handle, _h(weaponType), rai());
863
+ return !!inv('0x4FBACCE3B4138EE8', this.handle, _h(weaponType), rai());
864
864
  }
865
865
  /**
866
866
  * AI_ATTITUDE_NEUTRAL = 0,
@@ -894,8 +894,8 @@ export class Ped extends Entity {
894
894
  *
895
895
  * @returns
896
896
  */
897
- isAnimalControlledByAPlayer() {
898
- return inv('0x0E2F43516F998269', this.handle, rai());
897
+ get IsAnimalControlledByAPlayer() {
898
+ return !!inv('0x0E2F43516F998269', this.handle, rai());
899
899
  }
900
900
  /**
901
901
  * @param object
@@ -919,7 +919,7 @@ export class Ped extends Entity {
919
919
  /**
920
920
  * @returns
921
921
  */
922
- getIncapacitationTimeRemaining() {
922
+ get IncapacitationTimeRemaining() {
923
923
  return inv('0x88D9D76D78065487', this.handle, rai());
924
924
  }
925
925
  /**
@@ -935,7 +935,7 @@ export class Ped extends Entity {
935
935
  /**
936
936
  * @returns
937
937
  */
938
- isCowering() {
938
+ get IsCowering() {
939
939
  return inv('0xB086C8C0F5701D14', this.handle);
940
940
  }
941
941
  /**
@@ -943,7 +943,7 @@ export class Ped extends Entity {
943
943
  *
944
944
  * @returns
945
945
  */
946
- getLastLedMount() {
946
+ get LastLedMount() {
947
947
  return createFromHandle('Ped', inv('0x693126B5D0457D0D', this.handle, rai()));
948
948
  }
949
949
  /**
@@ -958,19 +958,19 @@ export class Ped extends Entity {
958
958
  * @returns
959
959
  */
960
960
  N_0x09D7AFD3716DA8E1(p1) {
961
- return inv('0x09D7AFD3716DA8E1', this.handle, p1, rai());
961
+ return !!inv('0x09D7AFD3716DA8E1', this.handle, p1, rai());
962
962
  }
963
963
  /**
964
964
  * @param p1
965
965
  * @returns
966
966
  */
967
967
  isDeadOrDying(p1) {
968
- return inv('0x3317DEDB88C95038', this.handle, p1, rai());
968
+ return !!inv('0x3317DEDB88C95038', this.handle, p1, rai());
969
969
  }
970
970
  /**
971
971
  * @param toggle
972
972
  */
973
- setCanTorsoReactIk(toggle) {
973
+ set CanTorsoReactIk(toggle) {
974
974
  inv('0xF5846EDB26A98A24', this.handle, toggle);
975
975
  }
976
976
  /**
@@ -1000,13 +1000,13 @@ export class Ped extends Entity {
1000
1000
  /**
1001
1001
  * @param toggle
1002
1002
  */
1003
- setCanLegIk(toggle) {
1003
+ set CanLegIk(toggle) {
1004
1004
  inv('0x73518ECE2485412B', this.handle, toggle);
1005
1005
  }
1006
1006
  /**
1007
1007
  * @param speech
1008
1008
  */
1009
- setInteractionPositiveResponse(speech) {
1009
+ set InteractionPositiveResponse(speech) {
1010
1010
  inv('0x20C5459379D75C1C', this.handle, speech);
1011
1011
  }
1012
1012
  /**
@@ -1021,14 +1021,14 @@ export class Ped extends Entity {
1021
1021
  /**
1022
1022
  * @param p1
1023
1023
  */
1024
- setLadderMovementSpeedModifier(p1) {
1024
+ set LadderMovementSpeedModifier(p1) {
1025
1025
  inv('0x05CE6AF4DF071D23', this.handle, f(p1));
1026
1026
  }
1027
1027
  /**
1028
1028
  * @returns
1029
1029
  */
1030
1030
  N_0x88A5564B19C15391() {
1031
- return inv('0x88A5564B19C15391', this.handle, rai());
1031
+ return !!inv('0x88A5564B19C15391', this.handle, rai());
1032
1032
  }
1033
1033
  /**
1034
1034
  * @param p1
@@ -1039,7 +1039,7 @@ export class Ped extends Entity {
1039
1039
  /**
1040
1040
  * @param unk
1041
1041
  */
1042
- setInjuredOnGroundBehaviour(unk) {
1042
+ set InjuredOnGroundBehaviour(unk) {
1043
1043
  inv('0xEC4B4B3B9908052A', this.handle, f(unk));
1044
1044
  }
1045
1045
  /**
@@ -1068,7 +1068,7 @@ export class Ped extends Entity {
1068
1068
  /**
1069
1069
  * @param toggle
1070
1070
  */
1071
- setKeepTask(toggle) {
1071
+ set KeepTask(toggle) {
1072
1072
  inv('0x971D38760FBC02EF', this.handle, toggle);
1073
1073
  }
1074
1074
  /**
@@ -1076,7 +1076,7 @@ export class Ped extends Entity {
1076
1076
  *
1077
1077
  * @param patternHash
1078
1078
  */
1079
- setFiringPattern(patternHash) {
1079
+ set FiringPattern(patternHash) {
1080
1080
  inv('0x9AC577F5A12AD8A9', this.handle, _h(patternHash));
1081
1081
  }
1082
1082
  /**
@@ -1090,15 +1090,15 @@ export class Ped extends Entity {
1090
1090
  /**
1091
1091
  * @returns
1092
1092
  */
1093
- isClimbing() {
1094
- return inv('0x53E8CB4F48BFE623', this.handle, rai());
1093
+ get IsClimbing() {
1094
+ return !!inv('0x53E8CB4F48BFE623', this.handle, rai());
1095
1095
  }
1096
1096
  /**
1097
1097
  * Params: shootRate = 0 - 1000
1098
1098
  *
1099
1099
  * @param shootRate
1100
1100
  */
1101
- setShootRate(shootRate) {
1101
+ set ShootRate(shootRate) {
1102
1102
  inv('0x614DA022990752DC', this.handle, shootRate);
1103
1103
  }
1104
1104
  /**
@@ -1106,7 +1106,7 @@ export class Ped extends Entity {
1106
1106
  * @returns
1107
1107
  */
1108
1108
  isAnimalInteractionPossible(animal) {
1109
- return inv('0xD543D3A8FDE4F185', this.handle, animal.handle);
1109
+ return !!inv('0xD543D3A8FDE4F185', this.handle, animal.handle, rai());
1110
1110
  }
1111
1111
  /**
1112
1112
  * Ped will no longer get angry when you stay near him.
@@ -1130,8 +1130,8 @@ export class Ped extends Entity {
1130
1130
  *
1131
1131
  * @returns
1132
1132
  */
1133
- isShooting() {
1134
- return inv('0x34616828CD07F1A1', this.handle, rai());
1133
+ get IsShooting() {
1134
+ return !!inv('0x34616828CD07F1A1', this.handle, rai());
1135
1135
  }
1136
1136
  /**
1137
1137
  * p1:
@@ -1234,7 +1234,7 @@ export class Ped extends Entity {
1234
1234
  /**
1235
1235
  * @param toggle
1236
1236
  */
1237
- setCanPlayAmbientAnims(toggle) {
1237
+ set CanPlayAmbientAnims(toggle) {
1238
1238
  inv('0x6373D1349925A70E', this.handle, toggle);
1239
1239
  }
1240
1240
  resetWeaponMovementClipset() {
@@ -1252,7 +1252,7 @@ export class Ped extends Entity {
1252
1252
  /**
1253
1253
  * @returns
1254
1254
  */
1255
- getMaxHealth() {
1255
+ get MaxHealth() {
1256
1256
  return inv('0x4700A416E8324EF3', this.handle, rai());
1257
1257
  }
1258
1258
  /**
@@ -1261,12 +1261,12 @@ export class Ped extends Entity {
1261
1261
  * @returns
1262
1262
  */
1263
1263
  wasSkeletonUpdated() {
1264
- return inv('0x11B499C1E0FF8559', this.handle, rai());
1264
+ return !!inv('0x11B499C1E0FF8559', this.handle, rai());
1265
1265
  }
1266
1266
  /**
1267
1267
  * @param damageCleanliness Refer to [enum: ePedDamageCleanliness]
1268
1268
  */
1269
- setDamageCleanliness(damageCleanliness) {
1269
+ set DamageCleanliness(damageCleanliness) {
1270
1270
  inv('0x7528720101A807A5', this.handle, damageCleanliness);
1271
1271
  }
1272
1272
  /**
@@ -1315,7 +1315,7 @@ export class Ped extends Entity {
1315
1315
  /**
1316
1316
  * @param toggle
1317
1317
  */
1318
- setCanRagdoll(toggle) {
1318
+ set CanRagdoll(toggle) {
1319
1319
  inv('0xB128377056A54E2A', this.handle, toggle);
1320
1320
  }
1321
1321
  /**
@@ -1339,7 +1339,7 @@ export class Ped extends Entity {
1339
1339
  *
1340
1340
  * @param toggle
1341
1341
  */
1342
- setCanBeLassoed(toggle) {
1342
+ set CanBeLassoed(toggle) {
1343
1343
  inv('0xFD6943B6DF77E449', this.handle, toggle);
1344
1344
  }
1345
1345
  /**
@@ -1371,7 +1371,7 @@ export class Ped extends Entity {
1371
1371
  /**
1372
1372
  * @returns
1373
1373
  */
1374
- getVehicleIsUsing() {
1374
+ get VehicleIsUsing() {
1375
1375
  return createFromHandle('Vehicle', inv('0x6094AD011A2EA87D', this.handle, rai()));
1376
1376
  }
1377
1377
  /**
@@ -1379,7 +1379,7 @@ export class Ped extends Entity {
1379
1379
  * @returns
1380
1380
  */
1381
1381
  isInCombat(target) {
1382
- return inv('0x4859F1FC66A6278E', this.handle, target.handle, rai());
1382
+ return !!inv('0x4859F1FC66A6278E', this.handle, target.handle, rai());
1383
1383
  }
1384
1384
  /**
1385
1385
  * _SET_PED_MO*
@@ -1392,7 +1392,7 @@ export class Ped extends Entity {
1392
1392
  /**
1393
1393
  * @returns
1394
1394
  */
1395
- getHealthRechargeMultiplier() {
1395
+ get HealthRechargeMultiplier() {
1396
1396
  return inv('0x95B8E397B8F4360F', this.handle, raf());
1397
1397
  }
1398
1398
  /**
@@ -1404,13 +1404,13 @@ export class Ped extends Entity {
1404
1404
  /**
1405
1405
  * @param modifier
1406
1406
  */
1407
- setCurrentDefenseAgainstPlayersModifier(modifier) {
1407
+ set CurrentDefenseAgainstPlayersModifier(modifier) {
1408
1408
  inv('0x069EDDF1FD4DEB0A', this.handle, f(modifier));
1409
1409
  }
1410
1410
  /**
1411
1411
  * @returns
1412
1412
  */
1413
- getToPlayerWeaponDamageModifier() {
1413
+ get ToPlayerWeaponDamageModifier() {
1414
1414
  return inv('0x936E7CAD0AE2EE14', this.handle, raf());
1415
1415
  }
1416
1416
  /**
@@ -1448,7 +1448,7 @@ export class Ped extends Entity {
1448
1448
  /**
1449
1449
  * @param toggle
1450
1450
  */
1451
- setEnableBoundAnkles(toggle) {
1451
+ set EnableBoundAnkles(toggle) {
1452
1452
  inv('0xC52E0F855C58FC2E', this.handle, toggle);
1453
1453
  }
1454
1454
  requestVisibilityTracking() {
@@ -1457,7 +1457,7 @@ export class Ped extends Entity {
1457
1457
  /**
1458
1458
  * @param duration
1459
1459
  */
1460
- setIncapacitationTotalBleedOutDuration(duration) {
1460
+ set IncapacitationTotalBleedOutDuration(duration) {
1461
1461
  inv('0x2890418B39BC8FFF', this.handle, f(duration));
1462
1462
  }
1463
1463
  /**
@@ -1466,12 +1466,12 @@ export class Ped extends Entity {
1466
1466
  * @returns
1467
1467
  */
1468
1468
  N_0x5BF0B9D9A8E227A0() {
1469
- return inv('0x5BF0B9D9A8E227A0', this.handle, rai());
1469
+ return !!inv('0x5BF0B9D9A8E227A0', this.handle, rai());
1470
1470
  }
1471
1471
  /**
1472
1472
  * @returns
1473
1473
  */
1474
- getIdRange() {
1474
+ get IdRange() {
1475
1475
  return inv('0x31167ED4324B758D', this.handle, raf());
1476
1476
  }
1477
1477
  /**
@@ -1479,18 +1479,18 @@ export class Ped extends Entity {
1479
1479
  * @returns
1480
1480
  */
1481
1481
  isGroupLeader(groupId) {
1482
- return inv('0x878B68960C1C2A35', this.handle, groupId);
1482
+ return !!inv('0x878B68960C1C2A35', this.handle, groupId, rai());
1483
1483
  }
1484
1484
  /**
1485
1485
  * @returns
1486
1486
  */
1487
- isSliding() {
1487
+ get IsSliding() {
1488
1488
  return inv('0xD6740E14E4CEFC0B', this.handle);
1489
1489
  }
1490
1490
  /**
1491
1491
  * @returns
1492
1492
  */
1493
- getJackTarget() {
1493
+ get JackTarget() {
1494
1494
  return createFromHandle('Ped', inv('0x5486A79D9FBD342D', this.handle, rai()));
1495
1495
  }
1496
1496
  /**
@@ -1498,7 +1498,7 @@ export class Ped extends Entity {
1498
1498
  * @returns
1499
1499
  */
1500
1500
  N_0xD355E2F1BB41087E(p1) {
1501
- return inv('0xD355E2F1BB41087E', this.handle, f(p1), rai());
1501
+ return !!inv('0xD355E2F1BB41087E', this.handle, f(p1), rai());
1502
1502
  }
1503
1503
  /**
1504
1504
  * Washing player's face/hands now
@@ -1520,12 +1520,12 @@ export class Ped extends Entity {
1520
1520
  * @returns
1521
1521
  */
1522
1522
  isHeadingTowardsPosition(pos, p4) {
1523
- return inv('0xFCF37A457CB96DC0', this.handle, f(pos.x), f(pos.y), f(pos.z), f(p4), rai());
1523
+ return !!inv('0xFCF37A457CB96DC0', this.handle, f(pos.x), f(pos.y), f(pos.z), f(p4), rai());
1524
1524
  }
1525
1525
  /**
1526
1526
  * @returns
1527
1527
  */
1528
- getIncapacitationHealth() {
1528
+ get IncapacitationHealth() {
1529
1529
  return inv('0x89BFDF6D53145545', this.handle, rai());
1530
1530
  }
1531
1531
  /**
@@ -1569,13 +1569,13 @@ export class Ped extends Entity {
1569
1569
  /**
1570
1570
  * @param p1
1571
1571
  */
1572
- setRandomOutfitVariation(p1) {
1572
+ set RandomOutfitVariation(p1) {
1573
1573
  inv('0x283978A15512B2FE', this.handle, p1);
1574
1574
  }
1575
1575
  /**
1576
1576
  * @returns
1577
1577
  */
1578
- getIsGrappling() {
1578
+ get IsGrappling() {
1579
1579
  return inv('0x0E99E3BF11BB6367', this.handle);
1580
1580
  }
1581
1581
  /**
@@ -1589,13 +1589,13 @@ export class Ped extends Entity {
1589
1589
  /**
1590
1590
  * @returns
1591
1591
  */
1592
- isOnMount() {
1593
- return inv('0x460BC76A0E10655E', this.handle, rai());
1592
+ get IsOnMount() {
1593
+ return !!inv('0x460BC76A0E10655E', this.handle, rai());
1594
1594
  }
1595
1595
  /**
1596
1596
  * @returns
1597
1597
  */
1598
- getLastVehicleDraftHorseWasAttachedTo() {
1598
+ get LastVehicleDraftHorseWasAttachedTo() {
1599
1599
  return createFromHandle('Vehicle', inv('0x5064DB5083C29921', this.handle, rai()));
1600
1600
  }
1601
1601
  /**
@@ -1605,7 +1605,7 @@ export class Ped extends Entity {
1605
1605
  * @returns
1606
1606
  */
1607
1607
  N_0xD55DB4466D00A258() {
1608
- return inv('0xD55DB4466D00A258', this.handle, rai());
1608
+ return !!inv('0xD55DB4466D00A258', this.handle, rai());
1609
1609
  }
1610
1610
  /**
1611
1611
  * METAPED_PLAYER_COMPONENTS_SET_META_TYPE_TO_BE_BYPASSED: Setting visibility
@@ -1621,7 +1621,7 @@ export class Ped extends Entity {
1621
1621
  *
1622
1622
  * @returns
1623
1623
  */
1624
- isUsingSlipstream() {
1624
+ get IsUsingSlipstream() {
1625
1625
  return inv('0xAF61B3CD8C3B82C3', this.handle);
1626
1626
  }
1627
1627
  /**
@@ -1637,7 +1637,7 @@ export class Ped extends Entity {
1637
1637
  * @returns
1638
1638
  */
1639
1639
  canRagdoll() {
1640
- return inv('0x128F79EDCECE4FD5', this.handle, rai());
1640
+ return !!inv('0x128F79EDCECE4FD5', this.handle, rai());
1641
1641
  }
1642
1642
  /**
1643
1643
  * Ped: The ped to warp.
@@ -1681,8 +1681,8 @@ export class Ped extends Entity {
1681
1681
  /**
1682
1682
  * @returns
1683
1683
  */
1684
- isInAnyBoat() {
1685
- return inv('0x2E0E1C2B4F6CB339', this.handle, rai());
1684
+ get IsInAnyBoat() {
1685
+ return !!inv('0x2E0E1C2B4F6CB339', this.handle, rai());
1686
1686
  }
1687
1687
  /**
1688
1688
  * no bone = -1
@@ -1702,13 +1702,13 @@ export class Ped extends Entity {
1702
1702
  /**
1703
1703
  * @returns
1704
1704
  */
1705
- getAccuracy() {
1705
+ get Accuracy() {
1706
1706
  return inv('0x37F4AD56ECBC0CD6', this.handle, rai());
1707
1707
  }
1708
1708
  /**
1709
1709
  * @param toggle
1710
1710
  */
1711
- setDesiresGroup(toggle) {
1711
+ set DesiresGroup(toggle) {
1712
1712
  inv('0xBAD2A311667A50D7', this.handle, toggle);
1713
1713
  }
1714
1714
  /**
@@ -1768,7 +1768,7 @@ export class Ped extends Entity {
1768
1768
  /**
1769
1769
  * @param peltId
1770
1770
  */
1771
- setPeltForHorse(peltId) {
1771
+ set PeltForHorse(peltId) {
1772
1772
  inv('0xA73F50E8796150D5', this.handle, peltId);
1773
1773
  }
1774
1774
  /**
@@ -1796,7 +1796,7 @@ export class Ped extends Entity {
1796
1796
  /**
1797
1797
  * @param modifier
1798
1798
  */
1799
- setAnimalDetectionModifier(modifier) {
1799
+ set AnimalDetectionModifier(modifier) {
1800
1800
  inv('0x43CA928E892CFDB8', this.handle, f(modifier));
1801
1801
  }
1802
1802
  /**
@@ -1820,13 +1820,13 @@ export class Ped extends Entity {
1820
1820
  *
1821
1821
  * @param damageModifier
1822
1822
  */
1823
- setToPlayerWeaponDamageModifier(damageModifier) {
1823
+ set ToPlayerWeaponDamageModifier(damageModifier) {
1824
1824
  inv('0xD77AE48611B7B10A', this.handle, f(damageModifier));
1825
1825
  }
1826
1826
  /**
1827
1827
  * @param quality Refer to [enum: ePedQuality]
1828
1828
  */
1829
- setQuality(quality) {
1829
+ set Quality(quality) {
1830
1830
  inv('0xCE6B874286D640BB', this.handle, quality);
1831
1831
  }
1832
1832
  /**
@@ -1835,7 +1835,7 @@ export class Ped extends Entity {
1835
1835
  * @returns
1836
1836
  */
1837
1837
  N_0x7EE3A8660F38797E() {
1838
- return inv('0x7EE3A8660F38797E', this.handle, rai());
1838
+ return !!inv('0x7EE3A8660F38797E', this.handle, rai());
1839
1839
  }
1840
1840
  /**
1841
1841
  * @param ikIndex
@@ -1857,14 +1857,14 @@ export class Ped extends Entity {
1857
1857
  * @returns
1858
1858
  */
1859
1859
  isInVehicle(vehicle, atGetIn) {
1860
- return inv('0xA3EE4A07279BB9DB', this.handle, vehicle.handle, atGetIn, rai());
1860
+ return !!inv('0xA3EE4A07279BB9DB', this.handle, vehicle.handle, atGetIn, rai());
1861
1861
  }
1862
1862
  /**
1863
1863
  * Sets the maximum health of a ped.
1864
1864
  *
1865
1865
  * @param value
1866
1866
  */
1867
- setMaxHealth(value) {
1867
+ set MaxHealth(value) {
1868
1868
  inv('0xF5F6378C4F3419D3', this.handle, value);
1869
1869
  }
1870
1870
  /**
@@ -1879,7 +1879,7 @@ export class Ped extends Entity {
1879
1879
  /**
1880
1880
  * @param multiplier
1881
1881
  */
1882
- setHealthRechargeMultiplier(multiplier) {
1882
+ set HealthRechargeMultiplier(multiplier) {
1883
1883
  inv('0xDE1B1907A83A1550', this.handle, multiplier);
1884
1884
  }
1885
1885
  /**
@@ -1928,8 +1928,8 @@ export class Ped extends Entity {
1928
1928
  /**
1929
1929
  * @returns
1930
1930
  */
1931
- isHogtied() {
1932
- return inv('0x3AA24CCC0D451379', this.handle);
1931
+ get IsHogtied() {
1932
+ return !!inv('0x3AA24CCC0D451379', this.handle, rai());
1933
1933
  }
1934
1934
  fadeAndDestroyPed() {
1935
1935
  inv('0x7043D0681285BA2D', this.handle);
@@ -1956,7 +1956,7 @@ export class Ped extends Entity {
1956
1956
  *
1957
1957
  * @param toggle
1958
1958
  */
1959
- setMountSecurityEnabled(toggle) {
1959
+ set MountSecurityEnabled(toggle) {
1960
1960
  inv('0x11E6B9629C46D6EC', this.handle, toggle);
1961
1961
  }
1962
1962
  /**
@@ -1964,7 +1964,7 @@ export class Ped extends Entity {
1964
1964
  *
1965
1965
  * @param disable
1966
1966
  */
1967
- setDisableKickMove(disable) {
1967
+ set DisableKickMove(disable) {
1968
1968
  inv('0xADD31A5C7A5FAA73', this.handle, disable);
1969
1969
  }
1970
1970
  /**
@@ -1973,7 +1973,7 @@ export class Ped extends Entity {
1973
1973
  *
1974
1974
  * @param personality
1975
1975
  */
1976
- setInteractionPersonality(personality) {
1976
+ set InteractionPersonality(personality) {
1977
1977
  inv('0x24C82EF607105FAA', this.handle, _h(personality));
1978
1978
  }
1979
1979
  /**
@@ -1997,13 +1997,13 @@ export class Ped extends Entity {
1997
1997
  /**
1998
1998
  * @param toggle
1999
1999
  */
2000
- setToDisableRagdoll(toggle) {
2000
+ set ToDisableRagdoll(toggle) {
2001
2001
  inv('0x221F4D9912B7FE86', this.handle, toggle);
2002
2002
  }
2003
2003
  /**
2004
2004
  * @returns
2005
2005
  */
2006
- getSeatIsUsing() {
2006
+ get SeatIsUsing() {
2007
2007
  return inv('0x4E76CB57222A00E5', this.handle, rai());
2008
2008
  }
2009
2009
  /**
@@ -2011,13 +2011,13 @@ export class Ped extends Entity {
2011
2011
  *
2012
2012
  * @returns
2013
2013
  */
2014
- isMale() {
2015
- return inv('0x6D9F5FAA7488BA46', this.handle, rai());
2014
+ get IsMale() {
2015
+ return !!inv('0x6D9F5FAA7488BA46', this.handle, rai());
2016
2016
  }
2017
2017
  /**
2018
2018
  * @returns
2019
2019
  */
2020
- getLastDroppedHat() {
2020
+ get LastDroppedHat() {
2021
2021
  return createFromHandle('Prop', inv('0x1F714E7A9DADFC42', this.handle, rai()));
2022
2022
  }
2023
2023
  /**
@@ -2027,20 +2027,20 @@ export class Ped extends Entity {
2027
2027
  * @returns
2028
2028
  */
2029
2029
  isUsingScenarioHash(scenarioHash) {
2030
- return inv('0x34D6AC1157C8226C', this.handle, _h(scenarioHash));
2030
+ return !!inv('0x34D6AC1157C8226C', this.handle, _h(scenarioHash), rai());
2031
2031
  }
2032
2032
  /**
2033
2033
  * Sets ped eye redness, weariness: 0.f to 1.f
2034
2034
  *
2035
2035
  * @param weariness
2036
2036
  */
2037
- setMetaWeariness(weariness) {
2037
+ set MetaWeariness(weariness) {
2038
2038
  inv('0x314C5465195F3B30', this.handle, f(weariness));
2039
2039
  }
2040
2040
  /**
2041
2041
  * @returns
2042
2042
  */
2043
- getHeight() {
2043
+ get Height() {
2044
2044
  return inv('0x1D491CCF7211FB74', this.handle, raf());
2045
2045
  }
2046
2046
  /**
@@ -2066,14 +2066,14 @@ export class Ped extends Entity {
2066
2066
  * @returns
2067
2067
  */
2068
2068
  getResetFlag(flagId) {
2069
- return inv('0xAF9E59B1B1FBF2A0', this.handle, flagId, rai());
2069
+ return !!inv('0xAF9E59B1B1FBF2A0', this.handle, flagId, rai());
2070
2070
  }
2071
2071
  /**
2072
2072
  * Old name: SET_PED_CLOTH_PACKAGE_INDEX
2073
2073
  *
2074
2074
  * @param p1
2075
2075
  */
2076
- setClothPinFrames(p1) {
2076
+ set ClothPinFrames(p1) {
2077
2077
  inv('0x78C4E9961DB3EB5B', this.handle, p1);
2078
2078
  }
2079
2079
  /**
@@ -2097,13 +2097,13 @@ export class Ped extends Entity {
2097
2097
  /**
2098
2098
  * @returns
2099
2099
  */
2100
- isBeingJacked() {
2101
- return inv('0x9A497FE2DF198913', this.handle, rai());
2100
+ get IsBeingJacked() {
2101
+ return !!inv('0x9A497FE2DF198913', this.handle, rai());
2102
2102
  }
2103
2103
  /**
2104
2104
  * @returns
2105
2105
  */
2106
- getTimeOfDeath() {
2106
+ get TimeOfDeath() {
2107
2107
  return inv('0x1E98817B311AE98A', this.handle, rai());
2108
2108
  }
2109
2109
  /**
@@ -2117,7 +2117,7 @@ export class Ped extends Entity {
2117
2117
  /**
2118
2118
  * @returns
2119
2119
  */
2120
- getLodMultiplier() {
2120
+ get LodMultiplier() {
2121
2121
  return inv('0x1B710E6F4AB69341', this.handle, raf());
2122
2122
  }
2123
2123
  /**
@@ -2125,13 +2125,13 @@ export class Ped extends Entity {
2125
2125
  *
2126
2126
  * @param patternHash
2127
2127
  */
2128
- setFiringPattern2(patternHash) {
2128
+ set FiringPattern2(patternHash) {
2129
2129
  inv('0x20E54854DEF6A54A', this.handle, _h(patternHash));
2130
2130
  }
2131
2131
  /**
2132
2132
  * @returns outBone
2133
2133
  */
2134
- getLastDamageBone() {
2134
+ get LastDamageBone() {
2135
2135
  const result = inv('0xD75960F6BD9EA49C', this.handle, pvi(), rai());
2136
2136
  return [!!result[0], result[1]];
2137
2137
  }
@@ -2147,13 +2147,13 @@ export class Ped extends Entity {
2147
2147
  *
2148
2148
  * @param toggle
2149
2149
  */
2150
- setAsCop(toggle) {
2150
+ set AsCop(toggle) {
2151
2151
  inv('0xBB03C38DD3FB7FFD', this.handle, toggle);
2152
2152
  }
2153
2153
  /**
2154
2154
  * @param value
2155
2155
  */
2156
- setIdRange(value) {
2156
+ set IdRange(value) {
2157
2157
  inv('0xF107E836A70DCE05', this.handle, f(value));
2158
2158
  }
2159
2159
  /**
@@ -2162,7 +2162,7 @@ export class Ped extends Entity {
2162
2162
  * @returns
2163
2163
  */
2164
2164
  isGroupMember(groupId, p2) {
2165
- return inv('0x9BB01E3834671191', this.handle, groupId, p2, rai());
2165
+ return !!inv('0x9BB01E3834671191', this.handle, groupId, p2, rai());
2166
2166
  }
2167
2167
  /**
2168
2168
  * _IS_PED_M* - _IS_PED_O*
@@ -2172,18 +2172,18 @@ export class Ped extends Entity {
2172
2172
  * @returns
2173
2173
  */
2174
2174
  N_0x2DD4E0E26DFAD97D(ped2, p2) {
2175
- return inv('0x2DD4E0E26DFAD97D', this.handle, ped2.handle, f(p2), rai());
2175
+ return !!inv('0x2DD4E0E26DFAD97D', this.handle, ped2.handle, f(p2), rai());
2176
2176
  }
2177
2177
  /**
2178
2178
  * @param bEnableIK
2179
2179
  */
2180
- setCanBodyRecoilIk(bEnableIK) {
2180
+ set CanBodyRecoilIk(bEnableIK) {
2181
2181
  inv('0xEE9DF765990E8D1D', this.handle, bEnableIK);
2182
2182
  }
2183
2183
  /**
2184
2184
  * @returns
2185
2185
  */
2186
- getLastMount() {
2186
+ get LastMount() {
2187
2187
  return createFromHandle('Ped', inv('0x4C8B59171957BCF7', this.handle, rai()));
2188
2188
  }
2189
2189
  /**
@@ -2201,7 +2201,7 @@ export class Ped extends Entity {
2201
2201
  /**
2202
2202
  * @returns
2203
2203
  */
2204
- getRelationshipGroupHash() {
2204
+ get RelationshipGroupHash() {
2205
2205
  return (inv('0x7DBDD04862D95F04', this.handle, rai())) & 0xFFFFFFFF;
2206
2206
  }
2207
2207
  /**
@@ -2229,13 +2229,13 @@ export class Ped extends Entity {
2229
2229
  /**
2230
2230
  * @param multiplier
2231
2231
  */
2232
- setLodMultiplier(multiplier) {
2232
+ set LodMultiplier(multiplier) {
2233
2233
  inv('0xDC2C5C242AAC342B', this.handle, f(multiplier));
2234
2234
  }
2235
2235
  /**
2236
2236
  * @returns
2237
2237
  */
2238
- isIntimidated() {
2238
+ get IsIntimidated() {
2239
2239
  return inv('0x57779B55B83E2BEA', this.handle);
2240
2240
  }
2241
2241
  /**
@@ -2245,7 +2245,7 @@ export class Ped extends Entity {
2245
2245
  * @returns
2246
2246
  */
2247
2247
  isRespondingToEvent(eventType) {
2248
- return inv('0x625B774D75C87068', this.handle, _h(eventType), rai());
2248
+ return !!inv('0x625B774D75C87068', this.handle, _h(eventType), rai());
2249
2249
  }
2250
2250
  /**
2251
2251
  * *RESET_PED**
@@ -2263,20 +2263,20 @@ export class Ped extends Entity {
2263
2263
  /**
2264
2264
  * @returns
2265
2265
  */
2266
- isSitting() {
2267
- return inv('0x84D0BF2B21862059', this.handle);
2266
+ get IsSitting() {
2267
+ return !!inv('0x84D0BF2B21862059', this.handle, rai());
2268
2268
  }
2269
2269
  /**
2270
2270
  * @returns
2271
2271
  */
2272
- getNumComponentsInPed() {
2272
+ get NumComponentsInPed() {
2273
2273
  return inv('0x90403E8107B60E81', this.handle, rai());
2274
2274
  }
2275
2275
  /**
2276
2276
  * @returns
2277
2277
  */
2278
- isSwimmingUnderWater() {
2279
- return inv('0xC024869A53992F34', this.handle, rai());
2278
+ get IsSwimmingUnderWater() {
2279
+ return !!inv('0xC024869A53992F34', this.handle, rai());
2280
2280
  }
2281
2281
  /**
2282
2282
  * _SET_PED_T* - SET_PED_U*
@@ -2290,13 +2290,13 @@ export class Ped extends Entity {
2290
2290
  /**
2291
2291
  * @returns
2292
2292
  */
2293
- getCombatRange() {
2293
+ get CombatRange() {
2294
2294
  return inv('0xFFDE295662405B25', this.handle, rai());
2295
2295
  }
2296
2296
  /**
2297
2297
  * @param grappleAction
2298
2298
  */
2299
- setGrappleAction(grappleAction) {
2299
+ set GrappleAction(grappleAction) {
2300
2300
  inv('0x8301D87B1B89E219', this.handle, _h(grappleAction));
2301
2301
  }
2302
2302
  /**
@@ -2339,13 +2339,13 @@ export class Ped extends Entity {
2339
2339
  /**
2340
2340
  * @returns
2341
2341
  */
2342
- isReadyToRender() {
2343
- return inv('0xA0BC8FAED8CFEB3C', this.handle);
2342
+ get IsReadyToRender() {
2343
+ return !!inv('0xA0BC8FAED8CFEB3C', this.handle, rai());
2344
2344
  }
2345
2345
  /**
2346
2346
  * @param value
2347
2347
  */
2348
- setSeeingRange(value) {
2348
+ set SeeingRange(value) {
2349
2349
  inv('0xF29CF591C4BF6CEE', this.handle, f(value));
2350
2350
  }
2351
2351
  /**
@@ -2376,7 +2376,7 @@ export class Ped extends Entity {
2376
2376
  *
2377
2377
  * @returns
2378
2378
  */
2379
- getNumComponentCategoriesInPed() {
2379
+ get NumComponentCategoriesInPed() {
2380
2380
  return inv('0xA622E66EEE92A08D', this.handle, rai());
2381
2381
  }
2382
2382
  disableInjuredOnGroundBehaviour() {
@@ -2403,7 +2403,7 @@ export class Ped extends Entity {
2403
2403
  /**
2404
2404
  * @param toggle
2405
2405
  */
2406
- setCanHeadIk(toggle) {
2406
+ set CanHeadIk(toggle) {
2407
2407
  inv('0xC11C18092C5530DC', this.handle, toggle);
2408
2408
  }
2409
2409
  /**
@@ -2412,7 +2412,7 @@ export class Ped extends Entity {
2412
2412
  * @returns
2413
2413
  */
2414
2414
  N_0x12EB4E31F092C9B3() {
2415
- return inv('0x12EB4E31F092C9B3', this.handle, rai());
2415
+ return !!inv('0x12EB4E31F092C9B3', this.handle, rai());
2416
2416
  }
2417
2417
  /**
2418
2418
  * Washing player's face/hands now
@@ -2428,8 +2428,8 @@ export class Ped extends Entity {
2428
2428
  /**
2429
2429
  * @returns
2430
2430
  */
2431
- isBeingStealthKilled() {
2432
- return inv('0x863B23EFDE9C5DF2', this.handle, rai());
2431
+ get IsBeingStealthKilled() {
2432
+ return !!inv('0x863B23EFDE9C5DF2', this.handle, rai());
2433
2433
  }
2434
2434
  /**
2435
2435
  * *CLEAR_PED_COMBAT**
@@ -2445,7 +2445,7 @@ export class Ped extends Entity {
2445
2445
  *
2446
2446
  * @param toggle
2447
2447
  */
2448
- setImmersionFlag(toggle) {
2448
+ set ImmersionFlag(toggle) {
2449
2449
  inv('0x7FB0088E8769CDDB', this.handle, toggle);
2450
2450
  }
2451
2451
  /**
@@ -2481,7 +2481,7 @@ export class Ped extends Entity {
2481
2481
  /**
2482
2482
  * @returns
2483
2483
  */
2484
- getGrappleStyle() {
2484
+ get GrappleStyle() {
2485
2485
  return (inv('0x753B15AD0FD6F3E3', this.handle, rai())) & 0xFFFFFFFF;
2486
2486
  }
2487
2487
  N_0x2371C39D4F91C288() {
@@ -2490,7 +2490,7 @@ export class Ped extends Entity {
2490
2490
  /**
2491
2491
  * @returns
2492
2492
  */
2493
- isDrunk() {
2493
+ get IsDrunk() {
2494
2494
  return inv('0x50F124E6EF188B22', this.handle);
2495
2495
  }
2496
2496
  /**
@@ -2498,7 +2498,7 @@ export class Ped extends Entity {
2498
2498
  *
2499
2499
  * @param height
2500
2500
  */
2501
- setWetnessHeight(height) {
2501
+ set WetnessHeight(height) {
2502
2502
  inv('0x44CB6447D2571AA0', this.handle, f(height));
2503
2503
  }
2504
2504
  /**
@@ -2513,7 +2513,7 @@ export class Ped extends Entity {
2513
2513
  *
2514
2514
  * @returns
2515
2515
  */
2516
- isMetaFish() {
2516
+ get IsMetaFish() {
2517
2517
  return inv('0x118D476A6F1A13F1', this.handle);
2518
2518
  }
2519
2519
  /**
@@ -2537,7 +2537,7 @@ export class Ped extends Entity {
2537
2537
  *
2538
2538
  * @returns
2539
2539
  */
2540
- getStaminaNormalized() {
2540
+ get StaminaNormalized() {
2541
2541
  return inv('0x22F2A386D43048A9', this.handle, raf());
2542
2542
  }
2543
2543
  /**
@@ -2552,13 +2552,13 @@ export class Ped extends Entity {
2552
2552
  *
2553
2553
  * @param state
2554
2554
  */
2555
- setCanBeKnockedOffVehicle(state) {
2555
+ set CanBeKnockedOffVehicle(state) {
2556
2556
  inv('0x7A6535691B477C48', this.handle, state);
2557
2557
  }
2558
2558
  /**
2559
2559
  * @param healthAmount
2560
2560
  */
2561
- setMinHealthThreshold(healthAmount) {
2561
+ set MinHealthThreshold(healthAmount) {
2562
2562
  inv('0x7883AA809DF43D98', this.handle, f(healthAmount));
2563
2563
  }
2564
2564
  /**
@@ -2572,7 +2572,7 @@ export class Ped extends Entity {
2572
2572
  /**
2573
2573
  * @returns
2574
2574
  */
2575
- getLootingPickupTargetEntity() {
2575
+ get LootingPickupTargetEntity() {
2576
2576
  return createFromHandle('Entity', inv('0x14169FA823679E41', this.handle, rai()));
2577
2577
  }
2578
2578
  /**
@@ -2589,7 +2589,7 @@ export class Ped extends Entity {
2589
2589
  * @returns
2590
2590
  */
2591
2591
  canInCombatSeeTarget(target) {
2592
- return inv('0xEAD42DE3610D0721', this.handle, target.handle, rai());
2592
+ return !!inv('0xEAD42DE3610D0721', this.handle, target.handle, rai());
2593
2593
  }
2594
2594
  /**
2595
2595
  * _IS_PED_R*
@@ -2597,7 +2597,7 @@ export class Ped extends Entity {
2597
2597
  * @returns
2598
2598
  */
2599
2599
  N_0x3AEC4A410ECAF30D() {
2600
- return inv('0x3AEC4A410ECAF30D', this.handle, rai());
2600
+ return !!inv('0x3AEC4A410ECAF30D', this.handle, rai());
2601
2601
  }
2602
2602
  /**
2603
2603
  * Apply cold intensity to ped from 0.0 to 1.0
@@ -2619,7 +2619,7 @@ export class Ped extends Entity {
2619
2619
  * @returns
2620
2620
  */
2621
2621
  isDefensiveAreaActive(p1) {
2622
- return inv('0xBA63D9FE45412247', this.handle, p1, rai());
2622
+ return !!inv('0xBA63D9FE45412247', this.handle, p1, rai());
2623
2623
  }
2624
2624
  /**
2625
2625
  * @param motivationState Refer to [enum: eMotivationState]
@@ -2648,8 +2648,8 @@ export class Ped extends Entity {
2648
2648
  *
2649
2649
  * @returns
2650
2650
  */
2651
- isOpeningDoor() {
2652
- return inv('0x26AF0E8E30BD2A2C', this.handle, rai());
2651
+ get IsOpeningDoor() {
2652
+ return !!inv('0x26AF0E8E30BD2A2C', this.handle, rai());
2653
2653
  }
2654
2654
  /**
2655
2655
  * _SET_PED_O*
@@ -2664,7 +2664,7 @@ export class Ped extends Entity {
2664
2664
  *
2665
2665
  * @param toggle
2666
2666
  */
2667
- setCanBeIncapacitated(toggle) {
2667
+ set CanBeIncapacitated(toggle) {
2668
2668
  inv('0x5240864E847C691C', this.handle, toggle);
2669
2669
  }
2670
2670
  /**
@@ -2677,7 +2677,7 @@ export class Ped extends Entity {
2677
2677
  /**
2678
2678
  * @param hash
2679
2679
  */
2680
- setRelationshipGroupDefaultHash(hash) {
2680
+ set RelationshipGroupDefaultHash(hash) {
2681
2681
  inv('0xADB3F206518799E8', this.handle, _h(hash));
2682
2682
  }
2683
2683
  /**
@@ -2686,7 +2686,7 @@ export class Ped extends Entity {
2686
2686
  * @returns
2687
2687
  */
2688
2688
  N_0x06A10B4D7F50B0C3() {
2689
- return inv('0x06A10B4D7F50B0C3', this.handle, rai());
2689
+ return !!inv('0x06A10B4D7F50B0C3', this.handle, rai());
2690
2690
  }
2691
2691
  /**
2692
2692
  * SOBER = 0.0f, SLIGHTLY_DRUNK = 0.25f, MODERATELY_DRUNK = 0.5f, VERY_DRUNK = 1.0f
@@ -2702,8 +2702,8 @@ export class Ped extends Entity {
2702
2702
  *
2703
2703
  * @returns
2704
2704
  */
2705
- isReloading() {
2706
- return inv('0x24B100C68C645951', this.handle, rai());
2705
+ get IsReloading() {
2706
+ return !!inv('0x24B100C68C645951', this.handle, rai());
2707
2707
  }
2708
2708
  /**
2709
2709
  * NB_CUSTOM_CLIENT_ON_CREATE_COMPLETE - set legendary to not avoid prey
@@ -2720,7 +2720,7 @@ export class Ped extends Entity {
2720
2720
  * @returns
2721
2721
  */
2722
2722
  N_0x77243ED4F7CAAA55() {
2723
- return inv('0x77243ED4F7CAAA55', this.handle, rai());
2723
+ return !!inv('0x77243ED4F7CAAA55', this.handle, rai());
2724
2724
  }
2725
2725
  /**
2726
2726
  * _CLEAR*
@@ -2731,32 +2731,32 @@ export class Ped extends Entity {
2731
2731
  /**
2732
2732
  * @returns
2733
2733
  */
2734
- isUsingActionMode() {
2735
- return inv('0x00E73468D085F745', this.handle, rai());
2734
+ get IsUsingActionMode() {
2735
+ return !!inv('0x00E73468D085F745', this.handle, rai());
2736
2736
  }
2737
2737
  /**
2738
2738
  * @param p1
2739
2739
  * @returns
2740
2740
  */
2741
2741
  N_0xB65927F861E7AE39(p1) {
2742
- return inv('0xB65927F861E7AE39', this.handle, p1, rai());
2742
+ return !!inv('0xB65927F861E7AE39', this.handle, p1, rai());
2743
2743
  }
2744
2744
  /**
2745
2745
  * @param toggle
2746
2746
  */
2747
- setCanTorsoIk(toggle) {
2747
+ set CanTorsoIk(toggle) {
2748
2748
  inv('0xF2B7106D37947CE0', this.handle, toggle);
2749
2749
  }
2750
2750
  /**
2751
2751
  * @returns
2752
2752
  */
2753
- getTranquilizer() {
2753
+ get Tranquilizer() {
2754
2754
  return createFromHandle('Ped', inv('0x65C75FDCCAC86464', this.handle, rai()));
2755
2755
  }
2756
2756
  /**
2757
2757
  * @returns
2758
2758
  */
2759
- getInteractionPersonality() {
2759
+ get InteractionPersonality() {
2760
2760
  return (inv('0xD7AD3C7EBAF88C92', this.handle, rai())) & 0xFFFFFFFF;
2761
2761
  }
2762
2762
  /**
@@ -2801,8 +2801,8 @@ export class Ped extends Entity {
2801
2801
  *
2802
2802
  * @returns
2803
2803
  */
2804
- isHuman() {
2805
- return inv('0xB980061DA992779D', this.handle, rai());
2804
+ get IsHuman() {
2805
+ return !!inv('0xB980061DA992779D', this.handle, rai());
2806
2806
  }
2807
2807
  /**
2808
2808
  * @param p1
@@ -2810,13 +2810,13 @@ export class Ped extends Entity {
2810
2810
  * @returns
2811
2811
  */
2812
2812
  isPerformingMeleeAction(p1, p2) {
2813
- return inv('0xDCCA191DF9980FD7', this.handle, p1, _h(p2), rai());
2813
+ return !!inv('0xDCCA191DF9980FD7', this.handle, p1, _h(p2), rai());
2814
2814
  }
2815
2815
  /**
2816
2816
  * @returns
2817
2817
  */
2818
- isGoingIntoCover() {
2819
- return inv('0x9F65DBC537E59AD5', this.handle, rai());
2818
+ get IsGoingIntoCover() {
2819
+ return !!inv('0x9F65DBC537E59AD5', this.handle, rai());
2820
2820
  }
2821
2821
  setShouldPlayImmediateScenarioExit() {
2822
2822
  inv('0xF1C03A5352243A30', this.handle);
@@ -2843,7 +2843,7 @@ export class Ped extends Entity {
2843
2843
  /**
2844
2844
  * @returns
2845
2845
  */
2846
- getVehicleDraftHorseIsAttachedTo() {
2846
+ get VehicleDraftHorseIsAttachedTo() {
2847
2847
  return createFromHandle('Vehicle', inv('0xE4770DA1B8FF4FD1', this.handle, rai()));
2848
2848
  }
2849
2849
  /**
@@ -2918,7 +2918,7 @@ export class Ped extends Entity {
2918
2918
  *
2919
2919
  * @param brawlingStyle
2920
2920
  */
2921
- setBrawlingStyle(brawlingStyle) {
2921
+ set BrawlingStyle(brawlingStyle) {
2922
2922
  inv('0x8BA83CC4288CD56D', this.handle, _h(brawlingStyle));
2923
2923
  }
2924
2924
  /**
@@ -2972,21 +2972,21 @@ export class Ped extends Entity {
2972
2972
  /**
2973
2973
  * @returns
2974
2974
  */
2975
- isInAnyPlane() {
2976
- return inv('0x5FFF4CFC74D8FB80', this.handle, rai());
2975
+ get IsInAnyPlane() {
2976
+ return !!inv('0x5FFF4CFC74D8FB80', this.handle, rai());
2977
2977
  }
2978
2978
  /**
2979
2979
  * @param modelHash
2980
2980
  * @returns
2981
2981
  */
2982
2982
  isInModel(modelHash) {
2983
- return inv('0x796D90EFB19AA332', this.handle, _h(modelHash), rai());
2983
+ return !!inv('0x796D90EFB19AA332', this.handle, _h(modelHash), rai());
2984
2984
  }
2985
2985
  /**
2986
2986
  * @returns
2987
2987
  */
2988
- isInGroup() {
2989
- return inv('0x5891CAC5D4ACFF74', this.handle, rai());
2988
+ get IsInGroup() {
2989
+ return !!inv('0x5891CAC5D4ACFF74', this.handle, rai());
2990
2990
  }
2991
2991
  /**
2992
2992
  * For more information, see common:/data/emotional_presets.meta
@@ -3007,13 +3007,13 @@ export class Ped extends Entity {
3007
3007
  /**
3008
3008
  * @returns
3009
3009
  */
3010
- getAccuracyAgainstLocalPlayerModifier() {
3010
+ get AccuracyAgainstLocalPlayerModifier() {
3011
3011
  return inv('0xDC9273D95976BA22', this.handle, raf());
3012
3012
  }
3013
3013
  /**
3014
3014
  * @returns
3015
3015
  */
3016
- getNumMetaOutfits() {
3016
+ get NumMetaOutfits() {
3017
3017
  return inv('0x10C70A515BC03707', this.handle, rai());
3018
3018
  }
3019
3019
  N_0x2D976DBDC731DF80() {
@@ -3051,13 +3051,13 @@ export class Ped extends Entity {
3051
3051
  /**
3052
3052
  * @returns
3053
3053
  */
3054
- getRelationshipGroupDefaultHash() {
3054
+ get RelationshipGroupDefaultHash() {
3055
3055
  return (inv('0x42FDD0F017B1E38E', this.handle, rai())) & 0xFFFFFFFF;
3056
3056
  }
3057
3057
  /**
3058
3058
  * @param groupId
3059
3059
  */
3060
- setAsGroupMember(groupId) {
3060
+ set AsGroupMember(groupId) {
3061
3061
  inv('0x9F3480FE65DB31B5', this.handle, groupId);
3062
3062
  }
3063
3063
  /**
@@ -3071,7 +3071,7 @@ export class Ped extends Entity {
3071
3071
  /**
3072
3072
  * @returns
3073
3073
  */
3074
- getGrappler() {
3074
+ get Grappler() {
3075
3075
  return createFromHandle('Ped', inv('0xD0B7AEB56229D317', this.handle, rai()));
3076
3076
  }
3077
3077
  /**
@@ -3087,7 +3087,7 @@ export class Ped extends Entity {
3087
3087
  * @returns
3088
3088
  */
3089
3089
  N_0x94132D7C8D3575C4() {
3090
- return inv('0x94132D7C8D3575C4', this.handle, rai());
3090
+ return !!inv('0x94132D7C8D3575C4', this.handle, rai());
3091
3091
  }
3092
3092
  /**
3093
3093
  * @param componentHash
@@ -3102,14 +3102,14 @@ export class Ped extends Entity {
3102
3102
  /**
3103
3103
  * @param toggle
3104
3104
  */
3105
- setPauseWritheBleedout(toggle) {
3105
+ set PauseWritheBleedout(toggle) {
3106
3106
  inv('0x925A160133003AC6', this.handle, toggle);
3107
3107
  }
3108
3108
  /**
3109
3109
  * @returns
3110
3110
  */
3111
- isRespondingToThreat() {
3112
- return inv('0x77525BBF433F2CD6', this.handle);
3111
+ get IsRespondingToThreat() {
3112
+ return !!inv('0x77525BBF433F2CD6', this.handle, rai());
3113
3113
  }
3114
3114
  /**
3115
3115
  * @param metapedType
@@ -3130,13 +3130,13 @@ export class Ped extends Entity {
3130
3130
  /**
3131
3131
  * @param value
3132
3132
  */
3133
- setHearingRange(value) {
3133
+ set HearingRange(value) {
3134
3134
  inv('0x33A8F7F7D5F7F33C', this.handle, f(value));
3135
3135
  }
3136
3136
  /**
3137
3137
  * @param relationshipGroup
3138
3138
  */
3139
- setRelationshipGroupHash(relationshipGroup) {
3139
+ set RelationshipGroupHash(relationshipGroup) {
3140
3140
  inv('0xC80A74AC829DDD92', this.handle, _h(relationshipGroup));
3141
3141
  }
3142
3142
  /**
@@ -3145,7 +3145,7 @@ export class Ped extends Entity {
3145
3145
  * @returns
3146
3146
  */
3147
3147
  isAnyHostileNearPoint(pos, radius) {
3148
- return inv('0x68772DB2B2526F9F', this.handle, f(pos.x), f(pos.y), f(pos.z), f(radius), rai());
3148
+ return !!inv('0x68772DB2B2526F9F', this.handle, f(pos.x), f(pos.y), f(pos.z), f(radius), rai());
3149
3149
  }
3150
3150
  /**
3151
3151
  * _SET_PED_M*
@@ -3158,7 +3158,7 @@ export class Ped extends Entity {
3158
3158
  /**
3159
3159
  * @param sweat
3160
3160
  */
3161
- setSweat(sweat) {
3161
+ set Sweat(sweat) {
3162
3162
  inv('0x27B0405F59637D1F', this.handle, f(sweat));
3163
3163
  }
3164
3164
  /**
@@ -3166,7 +3166,7 @@ export class Ped extends Entity {
3166
3166
  *
3167
3167
  * @returns
3168
3168
  */
3169
- getSourceOfDeath() {
3169
+ get SourceOfDeath() {
3170
3170
  return createFromHandle('Entity', inv('0x93C8B64DEB84728C', this.handle, rai()));
3171
3171
  }
3172
3172
  /**
@@ -3206,7 +3206,7 @@ export class Ped extends Entity {
3206
3206
  /**
3207
3207
  * @param value
3208
3208
  */
3209
- setVisualFieldMinAngle(value) {
3209
+ set VisualFieldMinAngle(value) {
3210
3210
  inv('0x2DB492222FB21E26', this.handle, f(value));
3211
3211
  }
3212
3212
  /**
@@ -3226,8 +3226,8 @@ export class Ped extends Entity {
3226
3226
  /**
3227
3227
  * @returns
3228
3228
  */
3229
- isFalling() {
3230
- return inv('0xFB92A102F1C4DFA3', this.handle, rai());
3229
+ get IsFalling() {
3230
+ return !!inv('0xFB92A102F1C4DFA3', this.handle, rai());
3231
3231
  }
3232
3232
  /**
3233
3233
  * @param flags Refer to [enum: eRagdollBlockingFlags]
@@ -3238,8 +3238,8 @@ export class Ped extends Entity {
3238
3238
  /**
3239
3239
  * @returns
3240
3240
  */
3241
- isLassoed() {
3242
- return inv('0x9682F850056C9ADE', this.handle);
3241
+ get IsLassoed() {
3242
+ return !!inv('0x9682F850056C9ADE', this.handle, rai());
3243
3243
  }
3244
3244
  /**
3245
3245
  * @param object
@@ -3258,14 +3258,14 @@ export class Ped extends Entity {
3258
3258
  * @returns
3259
3259
  */
3260
3260
  N_0x256EDD55C6BE1482() {
3261
- return inv('0x256EDD55C6BE1482', this.handle, rai());
3261
+ return !!inv('0x256EDD55C6BE1482', this.handle, rai());
3262
3262
  }
3263
3263
  /**
3264
3264
  * Only used in R* MP Script fm_mission_controller
3265
3265
  *
3266
3266
  * @param patternHash
3267
3267
  */
3268
- setFiringPattern3(patternHash) {
3268
+ set FiringPattern3(patternHash) {
3269
3269
  inv('0x244E8C282188E40F', this.handle, _h(patternHash));
3270
3270
  }
3271
3271
  /**
@@ -3274,7 +3274,7 @@ export class Ped extends Entity {
3274
3274
  *
3275
3275
  * @param personality
3276
3276
  */
3277
- setPersonality(personality) {
3277
+ set Personality(personality) {
3278
3278
  inv('0xB8B6430EAD2D2437', this.handle, _h(personality));
3279
3279
  }
3280
3280
  /**
@@ -3297,7 +3297,7 @@ export class Ped extends Entity {
3297
3297
  * @returns
3298
3298
  */
3299
3299
  N_0x577C60BA06D0EA64() {
3300
- return inv('0x577C60BA06D0EA64', this.handle, rai());
3300
+ return !!inv('0x577C60BA06D0EA64', this.handle, rai());
3301
3301
  }
3302
3302
  /**
3303
3303
  * Returns category hash that each ped component has. Hash examples: MASKS, HATS, HEADS, HORSE_MANES
@@ -3311,19 +3311,19 @@ export class Ped extends Entity {
3311
3311
  /**
3312
3312
  * @returns
3313
3313
  */
3314
- isUsingAnyScenario() {
3315
- return inv('0x57AB4A3080F85143', this.handle, rai());
3314
+ get IsUsingAnyScenario() {
3315
+ return !!inv('0x57AB4A3080F85143', this.handle, rai());
3316
3316
  }
3317
3317
  /**
3318
3318
  * @param amount
3319
3319
  */
3320
- setMoney(amount) {
3320
+ set Money(amount) {
3321
3321
  inv('0xA9C8960E8684C1B5', this.handle, amount);
3322
3322
  }
3323
3323
  /**
3324
3324
  * @returns
3325
3325
  */
3326
- getStamina() {
3326
+ get Stamina() {
3327
3327
  return inv('0x775A1CA7893AA8B5', this.handle, raf());
3328
3328
  }
3329
3329
  /**
@@ -3343,7 +3343,7 @@ export class Ped extends Entity {
3343
3343
  * @returns
3344
3344
  */
3345
3345
  N_0xFA8C10DCE0706D43() {
3346
- return inv('0xFA8C10DCE0706D43', this.handle, rai());
3346
+ return !!inv('0xFA8C10DCE0706D43', this.handle, rai());
3347
3347
  }
3348
3348
  /**
3349
3349
  * Only used in R* SP Scripts
@@ -3370,7 +3370,7 @@ export class Ped extends Entity {
3370
3370
  *
3371
3371
  * @param bonus
3372
3372
  */
3373
- setTotalDamageFalloffBonus(bonus) {
3373
+ set TotalDamageFalloffBonus(bonus) {
3374
3374
  inv('0x932786CE3C76477C', this.handle, f(bonus));
3375
3375
  }
3376
3376
  /**
@@ -3387,7 +3387,7 @@ export class Ped extends Entity {
3387
3387
  *
3388
3388
  * @param memoryType
3389
3389
  */
3390
- setSimplePlayerMemory(memoryType) {
3390
+ set SimplePlayerMemory(memoryType) {
3391
3391
  inv('0xC494C76A34266E82', this.handle, memoryType);
3392
3392
  }
3393
3393
  /**
@@ -3398,18 +3398,18 @@ export class Ped extends Entity {
3398
3398
  * @returns
3399
3399
  */
3400
3400
  N_0x1E017404784AA6A3(p1) {
3401
- return inv('0x1E017404784AA6A3', this.handle, _h(p1), rai());
3401
+ return !!inv('0x1E017404784AA6A3', this.handle, _h(p1), rai());
3402
3402
  }
3403
3403
  /**
3404
3404
  * @returns
3405
3405
  */
3406
- getActiveAnimalOwner() {
3406
+ get ActiveAnimalOwner() {
3407
3407
  return createFromHandle('Ped', inv('0xF103823FFE72BB49', this.handle, rai()));
3408
3408
  }
3409
3409
  /**
3410
3410
  * @returns
3411
3411
  */
3412
- getType() {
3412
+ get Type() {
3413
3413
  return inv('0xFF059E1E4C01E63C', this.handle, rai());
3414
3414
  }
3415
3415
  /**
@@ -3429,7 +3429,7 @@ export class Ped extends Entity {
3429
3429
  *
3430
3430
  * @returns
3431
3431
  */
3432
- getLassoerOfPed() {
3432
+ get LassoerOfPed() {
3433
3433
  return createFromHandle('Entity', inv('0x833F0053340EF413', this.handle, rai()));
3434
3434
  }
3435
3435
  /**
@@ -3443,27 +3443,27 @@ export class Ped extends Entity {
3443
3443
  /**
3444
3444
  * @returns
3445
3445
  */
3446
- getCrouchMovement() {
3446
+ get CrouchMovement() {
3447
3447
  return inv('0xD5FE956C70FF370B', this.handle);
3448
3448
  }
3449
3449
  /**
3450
3450
  * @returns
3451
3451
  */
3452
- isRunningMobilePhoneTask() {
3453
- return inv('0x2AFE52F782F25775', this.handle, rai());
3452
+ get IsRunningMobilePhoneTask() {
3453
+ return !!inv('0x2AFE52F782F25775', this.handle, rai());
3454
3454
  }
3455
3455
  /**
3456
3456
  * @returns
3457
3457
  */
3458
- isInCoverFacingLeft() {
3459
- return inv('0x845333B3150583AB', this.handle, rai());
3458
+ get IsInCoverFacingLeft() {
3459
+ return !!inv('0x845333B3150583AB', this.handle, rai());
3460
3460
  }
3461
3461
  /**
3462
3462
  * accuracy = 0-100, 100 being perfectly accurate
3463
3463
  *
3464
3464
  * @param accuracy
3465
3465
  */
3466
- setAccuracy(accuracy) {
3466
+ set Accuracy(accuracy) {
3467
3467
  inv('0x7AEFB85C1D49DEB6', this.handle, accuracy);
3468
3468
  }
3469
3469
  /**
@@ -3472,7 +3472,7 @@ export class Ped extends Entity {
3472
3472
  * @returns
3473
3473
  */
3474
3474
  N_0x913D04A5176F84C9() {
3475
- return inv('0x913D04A5176F84C9', this.handle, rai());
3475
+ return !!inv('0x913D04A5176F84C9', this.handle, rai());
3476
3476
  }
3477
3477
  /**
3478
3478
  * Set the pelt of the animal to the back of the horse
@@ -3491,20 +3491,20 @@ export class Ped extends Entity {
3491
3491
  /**
3492
3492
  * @param multiplier
3493
3493
  */
3494
- setHeadshotDamageMultiplier(multiplier) {
3494
+ set HeadshotDamageMultiplier(multiplier) {
3495
3495
  inv('0x2BA918C823B8BA56', this.handle, f(multiplier));
3496
3496
  }
3497
3497
  /**
3498
3498
  * @returns Returns `true` if the ped is in the water, or on a boat that is in the water.
3499
3499
  */
3500
- isAfloat() {
3501
- return inv('0xDC88D06719070C39', this.handle, rai());
3500
+ get IsAfloat() {
3501
+ return !!inv('0xDC88D06719070C39', this.handle, rai());
3502
3502
  }
3503
3503
  /**
3504
3504
  * @returns
3505
3505
  */
3506
- isAPlayer() {
3507
- return inv('0x12534C348C6CB68B', this.handle, rai());
3506
+ get IsAPlayer() {
3507
+ return !!inv('0x12534C348C6CB68B', this.handle, rai());
3508
3508
  }
3509
3509
  /**
3510
3510
  * This function will simply bring the dead ped back to life. Before calling this function, you may want to declare the position, where your Resurrected ped to be spawn at because theres a chance the ped will fall through the map Also, disabling any assigned task immediately helped in the number of scenarios, where If you want peds to perform certain decided tasks.
@@ -3517,14 +3517,14 @@ export class Ped extends Entity {
3517
3517
  *
3518
3518
  * @returns
3519
3519
  */
3520
- getNumReservedStamina() {
3520
+ get NumReservedStamina() {
3521
3521
  return inv('0xFC3B580C4380B5B7', this.handle, rai());
3522
3522
  }
3523
3523
  /**
3524
3524
  * @returns
3525
3525
  */
3526
- isJacking() {
3527
- return inv('0x4AE4FF911DFB61DA', this.handle, rai());
3526
+ get IsJacking() {
3527
+ return !!inv('0x4AE4FF911DFB61DA', this.handle, rai());
3528
3528
  }
3529
3529
  /**
3530
3530
  * _SET_PED_IN*
@@ -3552,7 +3552,7 @@ export class Ped extends Entity {
3552
3552
  /**
3553
3553
  * @param gxtEntryHash
3554
3554
  */
3555
- setPromptNameFromGxtEntry2(gxtEntryHash) {
3555
+ set PromptNameFromGxtEntry2(gxtEntryHash) {
3556
3556
  inv('0xC2745D9261664901', this.handle, _h(gxtEntryHash));
3557
3557
  }
3558
3558
  /**
@@ -3579,7 +3579,7 @@ export class Ped extends Entity {
3579
3579
  * @returns
3580
3580
  */
3581
3581
  N_0xF9331B3A314EB49D() {
3582
- return inv('0xF9331B3A314EB49D', this.handle, rai());
3582
+ return !!inv('0xF9331B3A314EB49D', this.handle, rai());
3583
3583
  }
3584
3584
  /**
3585
3585
  * limb: 3 = Left Hand, 4 = Left Arm, 6 = Right Hand, 7 = Right Arm, 9 = Left Foot, 10 = Left Leg, 12 = Right Foot, 13 = Right Leg, 37 = Head
@@ -3650,7 +3650,7 @@ export class Ped extends Entity {
3650
3650
  * @returns
3651
3651
  */
3652
3652
  N_0xB7DBB2986B87E230(p1) {
3653
- return inv('0xB7DBB2986B87E230', this.handle, f(p1), rai());
3653
+ return !!inv('0xB7DBB2986B87E230', this.handle, f(p1), rai());
3654
3654
  }
3655
3655
  /**
3656
3656
  * It clears the wetness of the selected Ped/Player. Clothes have to be wet to notice the difference.
@@ -3679,12 +3679,12 @@ export class Ped extends Entity {
3679
3679
  * @returns
3680
3680
  */
3681
3681
  getLootingFlag(lootFlag) {
3682
- return inv('0xE4C11F104620DDCE', this.handle, lootFlag, rai());
3682
+ return !!inv('0xE4C11F104620DDCE', this.handle, lootFlag, rai());
3683
3683
  }
3684
3684
  /**
3685
3685
  * @returns
3686
3686
  */
3687
- getPedsJacker() {
3687
+ get PedsJacker() {
3688
3688
  return createFromHandle('Ped', inv('0x9B128DC36C1E04CF', this.handle, rai()));
3689
3689
  }
3690
3690
  /**
@@ -3717,7 +3717,7 @@ export class Ped extends Entity {
3717
3717
  *
3718
3718
  * @param locomotionArchetype
3719
3719
  */
3720
- setDesiredLocoForModel(locomotionArchetype) {
3720
+ set DesiredLocoForModel(locomotionArchetype) {
3721
3721
  inv('0x923583741DC87BCE', this.handle, locomotionArchetype);
3722
3722
  }
3723
3723
  /**
@@ -3755,7 +3755,7 @@ export class Ped extends Entity {
3755
3755
  *
3756
3756
  * @param amount How wet the ped should appear ranges from `0.0`-`1.0`
3757
3757
  */
3758
- setWetness(amount) {
3758
+ set Wetness(amount) {
3759
3759
  inv('0xF9CFF5BB70E8A2CB', this.handle, f(amount));
3760
3760
  }
3761
3761
  /**
@@ -3774,12 +3774,12 @@ export class Ped extends Entity {
3774
3774
  * @returns
3775
3775
  */
3776
3776
  N_0x1148F706CF4EBDDA(p1, p2) {
3777
- return inv('0x1148F706CF4EBDDA', this.handle, _h(p1), p2, rai());
3777
+ return !!inv('0x1148F706CF4EBDDA', this.handle, _h(p1), p2, rai());
3778
3778
  }
3779
3779
  /**
3780
3780
  * @returns Refer to [enum: ePedDamageCleanliness]
3781
3781
  */
3782
- getDamageCleanliness() {
3782
+ get DamageCleanliness() {
3783
3783
  return inv('0x88EFFED5FE8B0B4A', this.handle, rai());
3784
3784
  }
3785
3785
  /**
@@ -3797,7 +3797,7 @@ export class Ped extends Entity {
3797
3797
  *
3798
3798
  * @param responseType
3799
3799
  */
3800
- setTargetLossResponse(responseType) {
3800
+ set TargetLossResponse(responseType) {
3801
3801
  inv('0x0703B9079823DA4A', this.handle, responseType);
3802
3802
  }
3803
3803
  /**
@@ -3807,25 +3807,25 @@ export class Ped extends Entity {
3807
3807
  * @returns
3808
3808
  */
3809
3809
  N_0x8822F139408B8D0A() {
3810
- return inv('0x8822F139408B8D0A', this.handle, rai());
3810
+ return !!inv('0x8822F139408B8D0A', this.handle, rai());
3811
3811
  }
3812
3812
  /**
3813
3813
  * @param p1
3814
3814
  * @returns
3815
3815
  */
3816
3816
  isLocationSpawnSafe(p1) {
3817
- return inv('0xFB1E7998B8595825', this.handle, f(p1));
3817
+ return !!inv('0xFB1E7998B8595825', this.handle, f(p1), rai());
3818
3818
  }
3819
3819
  /**
3820
3820
  * @param modifier
3821
3821
  */
3822
- setAccuracyAgainstLocalPlayerModifier(modifier) {
3822
+ set AccuracyAgainstLocalPlayerModifier(modifier) {
3823
3823
  inv('0xC2266AA617668AD3', this.handle, f(modifier));
3824
3824
  }
3825
3825
  /**
3826
3826
  * @param speech
3827
3827
  */
3828
- setInteractionNegativeResponse(speech) {
3828
+ set InteractionNegativeResponse(speech) {
3829
3829
  inv('0xA3C53CDE922BC78B', this.handle, speech);
3830
3830
  }
3831
3831
  /**
@@ -3836,12 +3836,12 @@ export class Ped extends Entity {
3836
3836
  * @returns
3837
3837
  */
3838
3838
  N_0x99DF2639DA76C1DC(ped2, p2) {
3839
- return inv('0x99DF2639DA76C1DC', this.handle, ped2.handle, p2, rai());
3839
+ return !!inv('0x99DF2639DA76C1DC', this.handle, ped2.handle, p2, rai());
3840
3840
  }
3841
3841
  /**
3842
3842
  * @returns
3843
3843
  */
3844
- getLassoTarget() {
3844
+ get LassoTarget() {
3845
3845
  return createFromHandle('Entity', inv('0xB65A4DAB460A19BD', this.handle, rai()));
3846
3846
  }
3847
3847
  /**
@@ -3857,7 +3857,7 @@ export class Ped extends Entity {
3857
3857
  /**
3858
3858
  * @param range
3859
3859
  */
3860
- setVisualFieldPeripheralRange(range) {
3860
+ set VisualFieldPeripheralRange(range) {
3861
3861
  inv('0x9C74B0BC831B753A', this.handle, f(range));
3862
3862
  }
3863
3863
  /**
@@ -3872,7 +3872,7 @@ export class Ped extends Entity {
3872
3872
  /**
3873
3873
  * @returns
3874
3874
  */
3875
- getBlockingOfNonTemporaryEvents() {
3875
+ get BlockingOfNonTemporaryEvents() {
3876
3876
  return inv('0x268B3AEBF032A88D', this.handle);
3877
3877
  }
3878
3878
  /**
@@ -3880,7 +3880,7 @@ export class Ped extends Entity {
3880
3880
  *
3881
3881
  * @returns
3882
3882
  */
3883
- getActiveDynamicScenario2() {
3883
+ get ActiveDynamicScenario2() {
3884
3884
  return (inv('0xC22AA08A8ADB87D4', this.handle, rai())) & 0xFFFFFFFF;
3885
3885
  }
3886
3886
  /**
@@ -3889,7 +3889,7 @@ export class Ped extends Entity {
3889
3889
  *
3890
3890
  * @returns
3891
3891
  */
3892
- getDrunkness() {
3892
+ get Drunkness() {
3893
3893
  return inv('0x6FB76442469ABD68', this.handle, raf());
3894
3894
  }
3895
3895
  /**
@@ -3918,7 +3918,7 @@ export class Ped extends Entity {
3918
3918
  * @returns
3919
3919
  */
3920
3920
  setToRagdollWithFall(timeMin, timeMax, ragdollType, falldirX, falldirY, falldirZ, p7, p8, p9, p10, p11, p12, p13) {
3921
- return inv('0xD76632D99E4966C8', this.handle, timeMin, timeMax, ragdollType, f(falldirX), f(falldirY), f(falldirZ), f(p7), f(p8), f(p9), f(p10), f(p11), f(p12), f(p13), rai());
3921
+ return !!inv('0xD76632D99E4966C8', this.handle, timeMin, timeMax, ragdollType, f(falldirX), f(falldirY), f(falldirZ), f(p7), f(p8), f(p9), f(p10), f(p11), f(p12), f(p13), rai());
3922
3922
  }
3923
3923
  /**
3924
3924
  * The higher the multiplier the less the engine renders culls (https://docs.unity3d.com/Manual/OcclusionCulling.html)
@@ -3932,7 +3932,7 @@ export class Ped extends Entity {
3932
3932
  /**
3933
3933
  * @returns
3934
3934
  */
3935
- getLassoedLassoer() {
3935
+ get LassoedLassoer() {
3936
3936
  return createFromHandle('Ped', inv('0x0C31C51168E80365', this.handle, rai()));
3937
3937
  }
3938
3938
  /**
@@ -3947,7 +3947,7 @@ export class Ped extends Entity {
3947
3947
  /**
3948
3948
  * @returns
3949
3949
  */
3950
- getSeatIsTryingToEnter() {
3950
+ get SeatIsTryingToEnter() {
3951
3951
  return inv('0x6F4C85ACD641BCD2', this.handle, rai());
3952
3952
  }
3953
3953
  /**
@@ -3966,19 +3966,19 @@ export class Ped extends Entity {
3966
3966
  *
3967
3967
  * @param configHash
3968
3968
  */
3969
- setHealthConfig(configHash) {
3969
+ set HealthConfig(configHash) {
3970
3970
  inv('0xF6B82FCE03B43A37', this.handle, _h(configHash));
3971
3971
  }
3972
3972
  /**
3973
3973
  * @param value
3974
3974
  */
3975
- setMinMoveBlendRatio(value) {
3975
+ set MinMoveBlendRatio(value) {
3976
3976
  inv('0x01A898D26E2333DD', this.handle, f(value));
3977
3977
  }
3978
3978
  /**
3979
3979
  * @returns
3980
3980
  */
3981
- getGrappleFlag() {
3981
+ get GrappleFlag() {
3982
3982
  return inv('0xF3C873ED0C595109', this.handle, rai());
3983
3983
  }
3984
3984
  /**
@@ -3991,7 +3991,7 @@ export class Ped extends Entity {
3991
3991
  /**
3992
3992
  * @param toggle
3993
3993
  */
3994
- setBlockingOfNonTemporaryEvents(toggle) {
3994
+ set BlockingOfNonTemporaryEvents(toggle) {
3995
3995
  inv('0x9F8AA94D6D97DBF4', this.handle, toggle);
3996
3996
  }
3997
3997
  /**
@@ -4002,7 +4002,7 @@ export class Ped extends Entity {
4002
4002
  *
4003
4003
  * @param avoidanceLevel
4004
4004
  */
4005
- setHorseAvoidanceLevel(avoidanceLevel) {
4005
+ set HorseAvoidanceLevel(avoidanceLevel) {
4006
4006
  inv('0xDDCF6FEA5D7ACC17', this.handle, avoidanceLevel);
4007
4007
  }
4008
4008
  /**
@@ -4030,7 +4030,7 @@ export class Ped extends Entity {
4030
4030
  * @returns
4031
4031
  */
4032
4032
  hasInteractedWithPlayerRecently(player, flag, ms) {
4033
- return inv('0x947E43F544B6AB34', this.handle, player.handle, flag, ms, rai());
4033
+ return !!inv('0x947E43F544B6AB34', this.handle, player.handle, flag, ms, rai());
4034
4034
  }
4035
4035
  /**
4036
4036
  * Used in Script Function MP_MAIN_OFFLINE__INITIALIZE_FLOW & PROCESS_GENERIC_PLAYER_INITIALIZATION
@@ -4043,8 +4043,8 @@ export class Ped extends Entity {
4043
4043
  /**
4044
4044
  * @returns
4045
4045
  */
4046
- isAimingFromCover() {
4047
- return inv('0x3998B1276A3300E5', this.handle, rai());
4046
+ get IsAimingFromCover() {
4047
+ return !!inv('0x3998B1276A3300E5', this.handle, rai());
4048
4048
  }
4049
4049
  /**
4050
4050
  * Size will be permanent
@@ -4072,7 +4072,7 @@ export class Ped extends Entity {
4072
4072
  /**
4073
4073
  * @param gxtEntryHash
4074
4074
  */
4075
- setPromptNameFromGxtEntry(gxtEntryHash) {
4075
+ set PromptNameFromGxtEntry(gxtEntryHash) {
4076
4076
  inv('0xFCA8FB9E15FA80D3', this.handle, _h(gxtEntryHash));
4077
4077
  }
4078
4078
  /**
@@ -4080,7 +4080,7 @@ export class Ped extends Entity {
4080
4080
  *
4081
4081
  * @returns
4082
4082
  */
4083
- getQuality() {
4083
+ get Quality() {
4084
4084
  return inv('0x7BCC6087D130312A', this.handle, rai());
4085
4085
  }
4086
4086
  /**
@@ -4134,13 +4134,13 @@ export class Ped extends Entity {
4134
4134
  /**
4135
4135
  * @param name
4136
4136
  */
4137
- setPromptName(name) {
4137
+ set PromptName(name) {
4138
4138
  inv('0x4A48B6E03BABB4AC', this.handle, name);
4139
4139
  }
4140
4140
  /**
4141
4141
  * @param grappleAnim
4142
4142
  */
4143
- setGrappleAnimation(grappleAnim) {
4143
+ set GrappleAnimation(grappleAnim) {
4144
4144
  inv('0x56E9C26CD29D1ED6', this.handle, _h(grappleAnim));
4145
4145
  }
4146
4146
  /**
@@ -4180,27 +4180,27 @@ export class Ped extends Entity {
4180
4180
  * @returns
4181
4181
  */
4182
4182
  N_0x5203038FF8BAE577(p1, p2) {
4183
- return inv('0x5203038FF8BAE577', this.handle, p1, p2, rai());
4183
+ return !!inv('0x5203038FF8BAE577', this.handle, p1, p2, rai());
4184
4184
  }
4185
4185
  /**
4186
4186
  * @param combatMovement Refer to [enum: ePedCombatMovement]
4187
4187
  */
4188
- setCombatMovement(combatMovement) {
4188
+ set CombatMovement(combatMovement) {
4189
4189
  inv('0x4D9CA1009AFBD057', this.handle, combatMovement);
4190
4190
  }
4191
4191
  /**
4192
4192
  * @returns
4193
4193
  */
4194
4194
  N_0xA4B6432E3880F2F9() {
4195
- return inv('0xA4B6432E3880F2F9', this.handle, rai());
4195
+ return !!inv('0xA4B6432E3880F2F9', this.handle, rai());
4196
4196
  }
4197
4197
  /**
4198
4198
  * Returns whether the entity is in stealth mode
4199
4199
  *
4200
4200
  * @returns
4201
4201
  */
4202
- getStealthMovement() {
4203
- return inv('0x7C2AC9CA66575FBF', this.handle, rai());
4202
+ get StealthMovement() {
4203
+ return !!inv('0x7C2AC9CA66575FBF', this.handle, rai());
4204
4204
  }
4205
4205
  /**
4206
4206
  * Returns whether or not a ped is visible within your FOV, not this check auto's to false after a certain distance.
@@ -4208,8 +4208,8 @@ export class Ped extends Entity {
4208
4208
  *
4209
4209
  * @returns
4210
4210
  */
4211
- isTrackedVisible() {
4212
- return inv('0x91C8E617F64188AC', this.handle, rai());
4211
+ get IsTrackedVisible() {
4212
+ return !!inv('0x91C8E617F64188AC', this.handle, rai());
4213
4213
  }
4214
4214
  /**
4215
4215
  * Changes Multiplayer ped face and body type components, they can be stacked
@@ -4255,8 +4255,8 @@ export class Ped extends Entity {
4255
4255
  *
4256
4256
  * @returns
4257
4257
  */
4258
- isInMeleeCombat() {
4259
- return inv('0x4E209B2C1EAD5159', this.handle, rai());
4258
+ get IsInMeleeCombat() {
4259
+ return !!inv('0x4E209B2C1EAD5159', this.handle, rai());
4260
4260
  }
4261
4261
  /**
4262
4262
  * @param object
@@ -4269,7 +4269,7 @@ export class Ped extends Entity {
4269
4269
  /**
4270
4270
  * @returns
4271
4271
  */
4272
- getMotionFocusEntity() {
4272
+ get MotionFocusEntity() {
4273
4273
  return createFromHandle('Entity', inv('0x243E1B4607040057', this.handle, rai()));
4274
4274
  }
4275
4275
  /**
@@ -4277,7 +4277,7 @@ export class Ped extends Entity {
4277
4277
  * @returns
4278
4278
  */
4279
4279
  isOnSpecificVehicle(vehicle) {
4280
- return inv('0xEC5F66E459AF3BB2', this.handle, vehicle.handle, rai());
4280
+ return !!inv('0xEC5F66E459AF3BB2', this.handle, vehicle.handle, rai());
4281
4281
  }
4282
4282
  /**
4283
4283
  * https://github.com/Halen84/RDR3-Native-Flags-And-Enums/tree/main/CLootingFlags__Flags
@@ -4293,13 +4293,13 @@ export class Ped extends Entity {
4293
4293
  * @returns
4294
4294
  */
4295
4295
  removeSubscribeToLegendaryBlips() {
4296
- return inv('0x011A42FD923D41CA', this.handle, rai());
4296
+ return !!inv('0x011A42FD923D41CA', this.handle, rai());
4297
4297
  }
4298
4298
  /**
4299
4299
  * @returns
4300
4300
  */
4301
- isDiving() {
4302
- return inv('0x5527B8246FEF9B11', this.handle, rai());
4301
+ get IsDiving() {
4302
+ return !!inv('0x5527B8246FEF9B11', this.handle, rai());
4303
4303
  }
4304
4304
  /**
4305
4305
  * @param state
@@ -4321,32 +4321,32 @@ export class Ped extends Entity {
4321
4321
  * @returns
4322
4322
  */
4323
4323
  isInCover(p1, p2) {
4324
- return inv('0x60DFD0691A170B88', this.handle, p1, p2, rai());
4324
+ return !!inv('0x60DFD0691A170B88', this.handle, p1, p2, rai());
4325
4325
  }
4326
4326
  /**
4327
4327
  * nullsub, doesn't do anything
4328
4328
  *
4329
4329
  * @param name
4330
4330
  */
4331
- setNameDebug(name) {
4331
+ set NameDebug(name) {
4332
4332
  inv('0x98EFA132A4117BE1', this.handle, name);
4333
4333
  }
4334
4334
  /**
4335
4335
  * @returns
4336
4336
  */
4337
- isInFlyingVehicle() {
4338
- return inv('0x9134873537FA419C', this.handle, rai());
4337
+ get IsInFlyingVehicle() {
4338
+ return !!inv('0x9134873537FA419C', this.handle, rai());
4339
4339
  }
4340
4340
  /**
4341
4341
  * @returns
4342
4342
  */
4343
- isGettingIntoAVehicle() {
4344
- return inv('0xBB062B2B5722478E', this.handle, rai());
4343
+ get IsGettingIntoAVehicle() {
4344
+ return !!inv('0xBB062B2B5722478E', this.handle, rai());
4345
4345
  }
4346
4346
  /**
4347
4347
  * @returns
4348
4348
  */
4349
- isUsingActionMode2() {
4349
+ get IsUsingActionMode2() {
4350
4350
  return inv('0xEBB208D6AE712C03', this.handle);
4351
4351
  }
4352
4352
  /**
@@ -4364,8 +4364,8 @@ export class Ped extends Entity {
4364
4364
  /**
4365
4365
  * @returns
4366
4366
  */
4367
- isCarryingSomething() {
4368
- return inv('0xA911EE21EDF69DAF', this.handle);
4367
+ get IsCarryingSomething() {
4368
+ return !!inv('0xA911EE21EDF69DAF', this.handle, rai());
4369
4369
  }
4370
4370
  setMoveAnimsBlendOut() {
4371
4371
  inv('0x9E8C908F41584ECD', this.handle);
@@ -4373,13 +4373,13 @@ export class Ped extends Entity {
4373
4373
  /**
4374
4374
  * @param angle
4375
4375
  */
4376
- setVisualFieldCenterAngle(angle) {
4376
+ set VisualFieldCenterAngle(angle) {
4377
4377
  inv('0x3B6405E8AB34A907', this.handle, f(angle));
4378
4378
  }
4379
4379
  /**
4380
4380
  * @returns
4381
4381
  */
4382
- isDoingScenarioTransition() {
4382
+ get IsDoingScenarioTransition() {
4383
4383
  return inv('0xC488B8C0E52560D8', this.handle);
4384
4384
  }
4385
4385
  /**
@@ -4387,13 +4387,13 @@ export class Ped extends Entity {
4387
4387
  *
4388
4388
  * @param flags Refer to [enum: eRagdollBlockingFlags]
4389
4389
  */
4390
- setRagdollBlockingFlags(flags) {
4390
+ set RagdollBlockingFlags(flags) {
4391
4391
  inv('0x26695EC767728D84', this.handle, flags);
4392
4392
  }
4393
4393
  /**
4394
4394
  * @param toggle
4395
4395
  */
4396
- setGravity(toggle) {
4396
+ set Gravity(toggle) {
4397
4397
  inv('0x9FF447B6B6AD960A', this.handle, toggle);
4398
4398
  }
4399
4399
  /**
@@ -4432,7 +4432,7 @@ export class Ped extends Entity {
4432
4432
  *
4433
4433
  * @param playerType
4434
4434
  */
4435
- setActivePlayerType(playerType) {
4435
+ set ActivePlayerType(playerType) {
4436
4436
  inv('0xB285AD0EC870B2DF', this.handle, _h(playerType));
4437
4437
  }
4438
4438
  /**
@@ -4447,13 +4447,13 @@ export class Ped extends Entity {
4447
4447
  /**
4448
4448
  * @returns
4449
4449
  */
4450
- isStopped() {
4451
- return inv('0x530944F6F4B8A214', this.handle, rai());
4450
+ get IsStopped() {
4451
+ return !!inv('0x530944F6F4B8A214', this.handle, rai());
4452
4452
  }
4453
4453
  /**
4454
4454
  * @param p1
4455
4455
  */
4456
- setRemoveNetworked(p1) {
4456
+ set RemoveNetworked(p1) {
4457
4457
  inv('0x39A2FC5AF55A52B1', this.handle, p1);
4458
4458
  }
4459
4459
  /**
@@ -4472,7 +4472,7 @@ export class Ped extends Entity {
4472
4472
  /**
4473
4473
  * @param flags
4474
4474
  */
4475
- setIncapacitationFlags(flags) {
4475
+ set IncapacitationFlags(flags) {
4476
4476
  inv('0xD67B6F3BCF81BA47', this.handle, flags);
4477
4477
  }
4478
4478
  /**
@@ -4488,7 +4488,7 @@ export class Ped extends Entity {
4488
4488
  /**
4489
4489
  * @param range Refer to [enum: ePedCombatRange]
4490
4490
  */
4491
- setCombatRange(range) {
4491
+ set CombatRange(range) {
4492
4492
  inv('0x3C606747B23E497B', this.handle, range);
4493
4493
  }
4494
4494
  /**
@@ -4499,12 +4499,12 @@ export class Ped extends Entity {
4499
4499
  * @returns
4500
4500
  */
4501
4501
  isFacingPed(otherPed, angle) {
4502
- return inv('0xD71649DB0A545AA3', this.handle, otherPed.handle, f(angle), rai());
4502
+ return !!inv('0xD71649DB0A545AA3', this.handle, otherPed.handle, f(angle), rai());
4503
4503
  }
4504
4504
  /**
4505
4505
  * @returns
4506
4506
  */
4507
- isQueuedForDeletion() {
4507
+ get IsQueuedForDeletion() {
4508
4508
  return inv('0x8D9BFCE3352DE47F', this.handle);
4509
4509
  }
4510
4510
  /**
@@ -4519,7 +4519,7 @@ export class Ped extends Entity {
4519
4519
  /**
4520
4520
  * @param index
4521
4521
  */
4522
- setGroupMemberPassengerIndex(index) {
4522
+ set GroupMemberPassengerIndex(index) {
4523
4523
  inv('0x0BDDB8D9EC6BCF3C', this.handle, index);
4524
4524
  }
4525
4525
  N_0xC9151483CC06A414() {
@@ -4528,7 +4528,7 @@ export class Ped extends Entity {
4528
4528
  /**
4529
4529
  * @returns
4530
4530
  */
4531
- isClimbingLadder() {
4531
+ get IsClimbingLadder() {
4532
4532
  return inv('0x59643424B68D52B5', this.handle);
4533
4533
  }
4534
4534
  /**
@@ -4541,8 +4541,8 @@ export class Ped extends Entity {
4541
4541
  /**
4542
4542
  * @returns
4543
4543
  */
4544
- isHogtying() {
4545
- return inv('0x42429C674B61238B', this.handle);
4544
+ get IsHogtying() {
4545
+ return !!inv('0x42429C674B61238B', this.handle, rai());
4546
4546
  }
4547
4547
  /**
4548
4548
  * Hashes: GUARD, COMBAT_ANIMAL, LAW, LAW_SHERIFF
@@ -4550,7 +4550,7 @@ export class Ped extends Entity {
4550
4550
  *
4551
4551
  * @param p1
4552
4552
  */
4553
- setCombatAttributeHash(p1) {
4553
+ set CombatAttributeHash(p1) {
4554
4554
  inv('0xBD75500141E4725C', this.handle, _h(p1));
4555
4555
  }
4556
4556
  /**
@@ -4582,26 +4582,26 @@ export class Ped extends Entity {
4582
4582
  *
4583
4583
  * @returns
4584
4584
  */
4585
- getPlayerWaterDepth() {
4585
+ get PlayerWaterDepth() {
4586
4586
  return inv('0x2942457417A5FD24', this.handle, raf());
4587
4587
  }
4588
4588
  /**
4589
4589
  * @param actionDisableFlag Refer to [enum: eActionDisableFlags]
4590
4590
  */
4591
- setTargetActionDisableFlag(actionDisableFlag) {
4591
+ set TargetActionDisableFlag(actionDisableFlag) {
4592
4592
  inv('0xC163DAC52AC975D3', this.handle, actionDisableFlag);
4593
4593
  }
4594
4594
  /**
4595
4595
  * @returns
4596
4596
  */
4597
- isFleeing() {
4598
- return inv('0xBBCCE00B381F8482', this.handle, rai());
4597
+ get IsFleeing() {
4598
+ return !!inv('0xBBCCE00B381F8482', this.handle, rai());
4599
4599
  }
4600
4600
  /**
4601
4601
  * @returns
4602
4602
  */
4603
- isFallingOver() {
4604
- return inv('0x3E592D0486DEC0F6', this.handle);
4603
+ get IsFallingOver() {
4604
+ return !!inv('0x3E592D0486DEC0F6', this.handle, rai());
4605
4605
  }
4606
4606
  /**
4607
4607
  * target: 0 affects everyone
@@ -4640,7 +4640,7 @@ export class Ped extends Entity {
4640
4640
  /**
4641
4641
  * @param multiplier
4642
4642
  */
4643
- setStaminaDepletionMultiplier(multiplier) {
4643
+ set StaminaDepletionMultiplier(multiplier) {
4644
4644
  inv('0xEF5A3D2285D8924B', this.handle, multiplier);
4645
4645
  }
4646
4646
  /**
@@ -4660,7 +4660,7 @@ export class Ped extends Entity {
4660
4660
  /**
4661
4661
  * @returns
4662
4662
  */
4663
- getBrawlingStyle() {
4663
+ get BrawlingStyle() {
4664
4664
  return (inv('0xEC6B59BE445FEC51', this.handle, rai())) & 0xFFFFFFFF;
4665
4665
  }
4666
4666
  /**
@@ -4680,8 +4680,8 @@ export class Ped extends Entity {
4680
4680
  /**
4681
4681
  * @returns
4682
4682
  */
4683
- isInAnyTaxi() {
4684
- return inv('0x6E575D6A898AB852', this.handle, rai());
4683
+ get IsInAnyTaxi() {
4684
+ return !!inv('0x6E575D6A898AB852', this.handle, rai());
4685
4685
  }
4686
4686
  /**
4687
4687
  * If returned true: There are enemy peds near friendly turn in ped. Going to aggro.
@@ -4694,18 +4694,18 @@ export class Ped extends Entity {
4694
4694
  * @returns
4695
4695
  */
4696
4696
  isInPoint(pos, radius, p5) {
4697
- return inv('0x078076AB50FB117F', this.handle, f(pos.x), f(pos.y), f(pos.z), f(radius), p5, rai());
4697
+ return !!inv('0x078076AB50FB117F', this.handle, f(pos.x), f(pos.y), f(pos.z), f(radius), p5, rai());
4698
4698
  }
4699
4699
  /**
4700
4700
  * @returns
4701
4701
  */
4702
- getStaminaDepletionMultiplier() {
4702
+ get StaminaDepletionMultiplier() {
4703
4703
  return inv('0x825F6DD559A0895B', this.handle, raf());
4704
4704
  }
4705
4705
  /**
4706
4706
  * @param multiplier
4707
4707
  */
4708
- setStaminaRechargeMultiplier(multiplier) {
4708
+ set StaminaRechargeMultiplier(multiplier) {
4709
4709
  inv('0x345C9F993A8AB4A4', this.handle, multiplier);
4710
4710
  }
4711
4711
  /**
@@ -4720,8 +4720,8 @@ export class Ped extends Entity {
4720
4720
  /**
4721
4721
  * @returns
4722
4722
  */
4723
- isInAnyTrain() {
4724
- return inv('0x6F972C1AB75A1ED0', this.handle, rai());
4723
+ get IsInAnyTrain() {
4724
+ return !!inv('0x6F972C1AB75A1ED0', this.handle, rai());
4725
4725
  }
4726
4726
  /**
4727
4727
  * Detect if ped is sitting in the specified vehicle
@@ -4731,7 +4731,7 @@ export class Ped extends Entity {
4731
4731
  * @returns
4732
4732
  */
4733
4733
  isSittingInVehicle(vehicle) {
4734
- return inv('0xA808AA1D79230FC2', this.handle, vehicle.handle, rai());
4734
+ return !!inv('0xA808AA1D79230FC2', this.handle, vehicle.handle, rai());
4735
4735
  }
4736
4736
  /**
4737
4737
  * Forces transition now, called together with 0xD65FDC686A031C83
@@ -4750,13 +4750,13 @@ export class Ped extends Entity {
4750
4750
  /**
4751
4751
  * @returns
4752
4752
  */
4753
- getMount() {
4753
+ get Mount() {
4754
4754
  return createFromHandle('Ped', inv('0xE7E11B8DCBED1058', this.handle, rai()));
4755
4755
  }
4756
4756
  /**
4757
4757
  * @returns
4758
4758
  */
4759
- getMoney() {
4759
+ get Money() {
4760
4760
  return inv('0x3F69145BBA87BAE7', this.handle, rai());
4761
4761
  }
4762
4762
  /**
@@ -4779,7 +4779,7 @@ export class Ped extends Entity {
4779
4779
  * @returns
4780
4780
  */
4781
4781
  forceMotionState(motionStateHash, p2, p3, p4) {
4782
- return inv('0xF28965D04F570DCA', this.handle, _h(motionStateHash), p2, p3, p4, rai());
4782
+ return !!inv('0xF28965D04F570DCA', this.handle, _h(motionStateHash), p2, p3, p4, rai());
4783
4783
  }
4784
4784
  /**
4785
4785
  * @param p2
@@ -4806,7 +4806,7 @@ export class Ped extends Entity {
4806
4806
  /**
4807
4807
  * @param value
4808
4808
  */
4809
- setMaxTimeInWater(value) {
4809
+ set MaxTimeInWater(value) {
4810
4810
  inv('0x43C851690662113D', this.handle, f(value));
4811
4811
  }
4812
4812
  /**
@@ -4827,7 +4827,7 @@ export class Ped extends Entity {
4827
4827
  /**
4828
4828
  * @param name
4829
4829
  */
4830
- setPromptName2(name) {
4830
+ set PromptName2(name) {
4831
4831
  inv('0x19B14E04B009E28B', this.handle, name);
4832
4832
  }
4833
4833
  /**
@@ -4844,21 +4844,21 @@ export class Ped extends Entity {
4844
4844
  *
4845
4845
  * @returns
4846
4846
  */
4847
- isFatallyInjured() {
4848
- return inv('0xD839450756ED5A80', this.handle, rai());
4847
+ get IsFatallyInjured() {
4848
+ return !!inv('0xD839450756ED5A80', this.handle, rai());
4849
4849
  }
4850
4850
  /**
4851
4851
  * _IS_PED_IN*
4852
4852
  *
4853
4853
  * @returns
4854
4854
  */
4855
- isInvestigating() {
4856
- return inv('0x7583A9D35248B83F', this.handle, rai());
4855
+ get IsInvestigating() {
4856
+ return !!inv('0x7583A9D35248B83F', this.handle, rai());
4857
4857
  }
4858
4858
  /**
4859
4859
  * @returns
4860
4860
  */
4861
- getCurrentTargetForPed() {
4861
+ get CurrentTargetForPed() {
4862
4862
  return createFromHandle('Entity', inv('0xCD66FEA29400A0B5', this.handle, rai()));
4863
4863
  }
4864
4864
  /**
@@ -4873,7 +4873,7 @@ export class Ped extends Entity {
4873
4873
  *
4874
4874
  * @param value
4875
4875
  */
4876
- setCapsule(value) {
4876
+ set Capsule(value) {
4877
4877
  inv('0x364DF566EC833DE2', this.handle, f(value));
4878
4878
  }
4879
4879
  /**
@@ -4881,13 +4881,13 @@ export class Ped extends Entity {
4881
4881
  * @returns
4882
4882
  */
4883
4883
  isHeadtrackingEntity(entity) {
4884
- return inv('0x813A0A7C9D2E831F', this.handle, entity.handle, rai());
4884
+ return !!inv('0x813A0A7C9D2E831F', this.handle, entity.handle, rai());
4885
4885
  }
4886
4886
  /**
4887
4887
  * @returns
4888
4888
  */
4889
- isVaulting() {
4890
- return inv('0x117C70D1F5730B5E', this.handle, rai());
4889
+ get IsVaulting() {
4890
+ return !!inv('0x117C70D1F5730B5E', this.handle, rai());
4891
4891
  }
4892
4892
  /**
4893
4893
  * _IS_PED_M* - _IS_PED_O*
@@ -4895,13 +4895,13 @@ export class Ped extends Entity {
4895
4895
  * @returns
4896
4896
  */
4897
4897
  N_0xBD0E4F52F6D95242() {
4898
- return inv('0xBD0E4F52F6D95242', this.handle, rai());
4898
+ return !!inv('0xBD0E4F52F6D95242', this.handle, rai());
4899
4899
  }
4900
4900
  /**
4901
4901
  * @returns
4902
4902
  */
4903
4903
  wasKilledByHeadshot() {
4904
- return inv('0x06FA94C835787C64', this.handle, rai());
4904
+ return !!inv('0x06FA94C835787C64', this.handle, rai());
4905
4905
  }
4906
4906
  /**
4907
4907
  * @param pedKiller
@@ -4915,14 +4915,14 @@ export class Ped extends Entity {
4915
4915
  *
4916
4916
  * @returns speedX; speedY
4917
4917
  */
4918
- getCurrentMoveBlendRatio() {
4918
+ get CurrentMoveBlendRatio() {
4919
4919
  const result = inv('0xF60165E1D2C5370B', this.handle, pvf(), pvf(), rai());
4920
4920
  return [!!result[0], result[1], result[2]];
4921
4921
  }
4922
4922
  /**
4923
4923
  * @param heading
4924
4924
  */
4925
- setDesiredHeading(heading) {
4925
+ set DesiredHeading(heading) {
4926
4926
  inv('0xAA5A7ECE2AA8FE70', this.handle, f(heading));
4927
4927
  }
4928
4928
  /**
@@ -4946,13 +4946,13 @@ export class Ped extends Entity {
4946
4946
  *
4947
4947
  * @returns
4948
4948
  */
4949
- getActiveDynamicScenario() {
4949
+ get ActiveDynamicScenario() {
4950
4950
  return (inv('0x569F1E1237508DEB', this.handle, rai())) & 0xFFFFFFFF;
4951
4951
  }
4952
4952
  /**
4953
4953
  * @param toggle
4954
4954
  */
4955
- setCanRagdollFromPlayerImpact(toggle) {
4955
+ set CanRagdollFromPlayerImpact(toggle) {
4956
4956
  inv('0xDF993EE5E90ABA25', this.handle, toggle);
4957
4957
  }
4958
4958
  /**
@@ -4960,7 +4960,7 @@ export class Ped extends Entity {
4960
4960
  * @returns
4961
4961
  */
4962
4962
  isEventInQueue(eventType) {
4963
- return inv('0xC8D523BF5BBD3808', this.handle, _h(eventType));
4963
+ return !!inv('0xC8D523BF5BBD3808', this.handle, _h(eventType), rai());
4964
4964
  }
4965
4965
  /**
4966
4966
  * @param mount
@@ -4989,13 +4989,13 @@ export class Ped extends Entity {
4989
4989
  /**
4990
4990
  * @param value
4991
4991
  */
4992
- setVisualFieldMaxAngle(value) {
4992
+ set VisualFieldMaxAngle(value) {
4993
4993
  inv('0x70793BDCA1E854D4', this.handle, f(value));
4994
4994
  }
4995
4995
  /**
4996
4996
  * @returns
4997
4997
  */
4998
- getMetaRace() {
4998
+ get MetaRace() {
4999
4999
  return inv('0xB292203008EBBAAC', this.handle);
5000
5000
  }
5001
5001
  /**
@@ -5009,7 +5009,7 @@ export class Ped extends Entity {
5009
5009
  *
5010
5010
  * @returns
5011
5011
  */
5012
- getLootStatusMp() {
5012
+ get LootStatusMp() {
5013
5013
  return inv('0xC737697C41628340', this.handle, rai());
5014
5014
  }
5015
5015
  /**
@@ -5030,7 +5030,7 @@ export class Ped extends Entity {
5030
5030
  *
5031
5031
  * @returns
5032
5032
  */
5033
- getCauseOfDeath() {
5033
+ get CauseOfDeath() {
5034
5034
  return (inv('0x16FFE42AB2D2DC59', this.handle, rai())) & 0xFFFFFFFF;
5035
5035
  }
5036
5036
  /**
@@ -5079,7 +5079,7 @@ export class Ped extends Entity {
5079
5079
  /**
5080
5080
  * @param toggle
5081
5081
  */
5082
- setCanArmIk(toggle) {
5082
+ set CanArmIk(toggle) {
5083
5083
  inv('0x6C3B4D6D13B4C841', this.handle, toggle);
5084
5084
  }
5085
5085
  /**
@@ -5113,8 +5113,8 @@ export class Ped extends Entity {
5113
5113
  /**
5114
5114
  * @returns
5115
5115
  */
5116
- isInAnyHeli() {
5117
- return inv('0x298B91AE825E5705', this.handle, rai());
5116
+ get IsInAnyHeli() {
5117
+ return !!inv('0x298B91AE825E5705', this.handle, rai());
5118
5118
  }
5119
5119
  /**
5120
5120
  * @param ped
@@ -5122,7 +5122,7 @@ export class Ped extends Entity {
5122
5122
  * @returns Return `true` if the ped is heard by the target ped.
5123
5123
  */
5124
5124
  canHearTargetPed(ped, flag) {
5125
- return inv('0x0EA9EACBA3B01601', this.handle, ped.handle, flag, rai());
5125
+ return !!inv('0x0EA9EACBA3B01601', this.handle, ped.handle, flag, rai());
5126
5126
  }
5127
5127
  /**
5128
5128
  * @param componentHash
@@ -5136,7 +5136,7 @@ export class Ped extends Entity {
5136
5136
  *
5137
5137
  * @returns
5138
5138
  */
5139
- getGroupIndex() {
5139
+ get GroupIndex() {
5140
5140
  return inv('0xF162E133B4E7A675', this.handle, rai());
5141
5141
  }
5142
5142
  /**
@@ -5147,13 +5147,13 @@ export class Ped extends Entity {
5147
5147
  * @returns
5148
5148
  */
5149
5149
  getConfigFlag(flagId, p2) {
5150
- return inv('0x7EE53118C892B513', this.handle, flagId, p2, rai());
5150
+ return !!inv('0x7EE53118C892B513', this.handle, flagId, p2, rai());
5151
5151
  }
5152
5152
  /**
5153
5153
  * @returns
5154
5154
  */
5155
- isIncapacitated() {
5156
- return inv('0xB655DB7582AEC805', this.handle);
5155
+ get IsIncapacitated() {
5156
+ return !!inv('0xB655DB7582AEC805', this.handle, rai());
5157
5157
  }
5158
5158
  /**
5159
5159
  * duration in seconds
@@ -5181,7 +5181,7 @@ export class Ped extends Entity {
5181
5181
  /**
5182
5182
  * @param damaged
5183
5183
  */
5184
- setDamaged(damaged) {
5184
+ set Damaged(damaged) {
5185
5185
  inv('0xDACE03C65C6666DB', this.handle, damaged);
5186
5186
  }
5187
5187
  /**
@@ -5202,12 +5202,12 @@ export class Ped extends Entity {
5202
5202
  * @returns
5203
5203
  */
5204
5204
  N_0xEBAAC9A750E7563B() {
5205
- return inv('0xEBAAC9A750E7563B', this.handle, rai());
5205
+ return !!inv('0xEBAAC9A750E7563B', this.handle, rai());
5206
5206
  }
5207
5207
  /**
5208
5208
  * @param mode
5209
5209
  */
5210
- setLegIkMode(mode) {
5210
+ set LegIkMode(mode) {
5211
5211
  inv('0xC396F5B86FF9FEBD', this.handle, mode);
5212
5212
  }
5213
5213
  /**
@@ -5224,30 +5224,30 @@ export class Ped extends Entity {
5224
5224
  * @returns
5225
5225
  */
5226
5226
  isUsingThisScenario(scenario) {
5227
- return inv('0x9C54041BB66BCF9E', this.handle, scenario);
5227
+ return !!inv('0x9C54041BB66BCF9E', this.handle, scenario, rai());
5228
5228
  }
5229
5229
  /**
5230
5230
  * @returns Returns the peds [enum: ePedCombatMovement]
5231
5231
  */
5232
- getCombatMovement() {
5232
+ get CombatMovement() {
5233
5233
  return inv('0xDEA92412FCAEB3F5', this.handle, rai());
5234
5234
  }
5235
5235
  /**
5236
5236
  * @returns
5237
5237
  */
5238
- getVehicleIsEntering() {
5238
+ get VehicleIsEntering() {
5239
5239
  return createFromHandle('Vehicle', inv('0xF92691AED837A5FC', this.handle, rai()));
5240
5240
  }
5241
5241
  /**
5242
5242
  * @param toggle
5243
5243
  */
5244
- setCanBeTargetted(toggle) {
5244
+ set CanBeTargetted(toggle) {
5245
5245
  inv('0x63F58F7C80513AAD', this.handle, toggle);
5246
5246
  }
5247
5247
  /**
5248
5248
  * @returns
5249
5249
  */
5250
- getMeleeActionPhase() {
5250
+ get MeleeActionPhase() {
5251
5251
  return inv('0x6127F25ED21C533C', this.handle, raf());
5252
5252
  }
5253
5253
  /**
@@ -5255,7 +5255,7 @@ export class Ped extends Entity {
5255
5255
  *
5256
5256
  * @param volume
5257
5257
  */
5258
- setVoiceVolume(volume) {
5258
+ set VoiceVolume(volume) {
5259
5259
  inv('0xD05AD61F242C626B', this.handle, f(volume));
5260
5260
  }
5261
5261
  /**
@@ -5279,13 +5279,13 @@ export class Ped extends Entity {
5279
5279
  /**
5280
5280
  * @returns
5281
5281
  */
5282
- isBeingDragged() {
5283
- return inv('0xEF3A8772F085B4AA', this.handle);
5282
+ get IsBeingDragged() {
5283
+ return !!inv('0xEF3A8772F085B4AA', this.handle, rai());
5284
5284
  }
5285
5285
  /**
5286
5286
  * @param actionDisableFlag Refer to [enum: eActionDisableFlags]
5287
5287
  */
5288
- setActionDisableFlag(actionDisableFlag) {
5288
+ set ActionDisableFlag(actionDisableFlag) {
5289
5289
  inv('0xB8DE69D9473B7593', this.handle, actionDisableFlag);
5290
5290
  }
5291
5291
  /**
@@ -5310,37 +5310,37 @@ export class Ped extends Entity {
5310
5310
  * @returns
5311
5311
  */
5312
5312
  N_0x7F090958AE95B61B(p1) {
5313
- return inv('0x7F090958AE95B61B', this.handle, p1, rai());
5313
+ return !!inv('0x7F090958AE95B61B', this.handle, p1, rai());
5314
5314
  }
5315
5315
  /**
5316
5316
  * @param modelHash
5317
5317
  * @returns
5318
5318
  */
5319
5319
  isModel(modelHash) {
5320
- return inv('0xC9D55B1A358A5BF7', this.handle, _h(modelHash), rai());
5320
+ return !!inv('0xC9D55B1A358A5BF7', this.handle, _h(modelHash), rai());
5321
5321
  }
5322
5322
  /**
5323
5323
  * @param toggle
5324
5324
  */
5325
- setLights(toggle) {
5325
+ set Lights(toggle) {
5326
5326
  inv('0x13A210949FCBD92B', this.handle, toggle);
5327
5327
  }
5328
5328
  /**
5329
5329
  * @returns
5330
5330
  */
5331
5331
  N_0x758F081DB204DDDE() {
5332
- return inv('0x758F081DB204DDDE', this.handle, rai());
5332
+ return !!inv('0x758F081DB204DDDE', this.handle, rai());
5333
5333
  }
5334
5334
  /**
5335
5335
  * @param p1
5336
5336
  */
5337
- setKnockedByOneHit(p1) {
5337
+ set KnockedByOneHit(p1) {
5338
5338
  inv('0x5BCF0B79D4F5DBA3', this.handle, f(p1));
5339
5339
  }
5340
5340
  /**
5341
5341
  * @returns
5342
5342
  */
5343
- getIsBeingGrappled() {
5343
+ get IsBeingGrappled() {
5344
5344
  return inv('0x3BDFCF25B58B0415', this.handle);
5345
5345
  }
5346
5346
  clearEnvDirt() {
@@ -5358,7 +5358,7 @@ export class Ped extends Entity {
5358
5358
  *
5359
5359
  * @returns
5360
5360
  */
5361
- getMetaType() {
5361
+ get MetaType() {
5362
5362
  return inv('0xEC9A1261BF0CE510', this.handle, rai());
5363
5363
  }
5364
5364
  /**
@@ -5369,7 +5369,7 @@ export class Ped extends Entity {
5369
5369
  * @returns
5370
5370
  */
5371
5371
  isOnVehicle(p1) {
5372
- return inv('0x67722AEB798E5FAB', this.handle, p1, rai());
5372
+ return !!inv('0x67722AEB798E5FAB', this.handle, p1, rai());
5373
5373
  }
5374
5374
  /**
5375
5375
  * Used in Script Function MOONSHINE_BAND_CLIENT_PATRON_UPDATE
@@ -5391,7 +5391,7 @@ export class Ped extends Entity {
5391
5391
  /**
5392
5392
  * @returns
5393
5393
  */
5394
- getMaxStamina() {
5394
+ get MaxStamina() {
5395
5395
  return inv('0xCB42AFE2B613EE55', this.handle, raf());
5396
5396
  }
5397
5397
  /**
@@ -5422,7 +5422,7 @@ export class Ped extends Entity {
5422
5422
  *
5423
5423
  * @returns
5424
5424
  */
5425
- getTotalDamageFromAi() {
5425
+ get TotalDamageFromAi() {
5426
5426
  return inv('0x92C8EACA29F6BED6', this.handle, raf());
5427
5427
  }
5428
5428
  /**
@@ -5437,7 +5437,7 @@ export class Ped extends Entity {
5437
5437
  *
5438
5438
  * @param locoMotionType
5439
5439
  */
5440
- setDesiredLocoMotionType(locoMotionType) {
5440
+ set DesiredLocoMotionType(locoMotionType) {
5441
5441
  inv('0x89F5E7ADECCCB49C', this.handle, locoMotionType);
5442
5442
  }
5443
5443
  /**
@@ -5452,7 +5452,7 @@ export class Ped extends Entity {
5452
5452
  *
5453
5453
  * @param value
5454
5454
  */
5455
- setMoveRateOverride(value) {
5455
+ set MoveRateOverride(value) {
5456
5456
  inv('0x085BF80FA50A39D1', this.handle, f(value));
5457
5457
  }
5458
5458
  /**
@@ -5480,7 +5480,7 @@ export class Ped extends Entity {
5480
5480
  /**
5481
5481
  * @param toggle
5482
5482
  */
5483
- setCanUseAutoConversationLookat(toggle) {
5483
+ set CanUseAutoConversationLookat(toggle) {
5484
5484
  inv('0xEC4686EC06434678', this.handle, toggle);
5485
5485
  }
5486
5486
  /**
@@ -5508,14 +5508,14 @@ export class Ped extends Entity {
5508
5508
  *
5509
5509
  * @returns
5510
5510
  */
5511
- isInjured() {
5512
- return inv('0x84A2DD9AC37C35C1', this.handle, rai());
5511
+ get IsInjured() {
5512
+ return !!inv('0x84A2DD9AC37C35C1', this.handle, rai());
5513
5513
  }
5514
5514
  /**
5515
5515
  * @returns
5516
5516
  */
5517
- isBeingHogtied() {
5518
- return inv('0xD453BB601D4A606E', this.handle);
5517
+ get IsBeingHogtied() {
5518
+ return !!inv('0xD453BB601D4A606E', this.handle, rai());
5519
5519
  }
5520
5520
  /**
5521
5521
  * https://github.com/Halen84/RDR3-Native-Flags-And-Enums/tree/main/Lasso%20Hogtie%20Flags
@@ -5530,7 +5530,7 @@ export class Ped extends Entity {
5530
5530
  /**
5531
5531
  * @returns
5532
5532
  */
5533
- getStaminaRechargeMultiplier() {
5533
+ get StaminaRechargeMultiplier() {
5534
5534
  return inv('0xE7687EB2F634ABF0', this.handle, raf());
5535
5535
  }
5536
5536
  /**
@@ -5553,7 +5553,7 @@ export class Ped extends Entity {
5553
5553
  /**
5554
5554
  * @param behaviour
5555
5555
  */
5556
- setCombatBehaviour(behaviour) {
5556
+ set CombatBehaviour(behaviour) {
5557
5557
  inv('0x9238A3D970BBB0A9', this.handle, _h(behaviour));
5558
5558
  }
5559
5559
  /**
@@ -5582,21 +5582,21 @@ export class Ped extends Entity {
5582
5582
  /**
5583
5583
  * @returns
5584
5584
  */
5585
- isPlantingBomb() {
5586
- return inv('0xC70B5FAE151982D8', this.handle, rai());
5585
+ get IsPlantingBomb() {
5586
+ return !!inv('0xC70B5FAE151982D8', this.handle, rai());
5587
5587
  }
5588
5588
  /**
5589
5589
  * @returns
5590
5590
  */
5591
5591
  addSubscribeToLegendaryBlips() {
5592
- return inv('0xE37287EE358939C3', this.handle, rai());
5592
+ return !!inv('0xE37287EE358939C3', this.handle, rai());
5593
5593
  }
5594
5594
  /**
5595
5595
  * @param ped2
5596
5596
  * @returns
5597
5597
  */
5598
5598
  isHeadtrackingPed(ped2) {
5599
- return inv('0x5CD3CB88A7F8850D', this.handle, ped2.handle, rai());
5599
+ return !!inv('0x5CD3CB88A7F8850D', this.handle, ped2.handle, rai());
5600
5600
  }
5601
5601
  /**
5602
5602
  * _CLEAR*
@@ -5611,14 +5611,14 @@ export class Ped extends Entity {
5611
5611
  * @returns
5612
5612
  */
5613
5613
  isFullyOnMount(p1) {
5614
- return inv('0x95CBC65780DE7EB1', this.handle, p1);
5614
+ return !!inv('0x95CBC65780DE7EB1', this.handle, p1, rai());
5615
5615
  }
5616
5616
  /**
5617
5617
  * Presumably returns the Entity that the Ped is currently diving out of the way of.
5618
5618
  *
5619
5619
  * @returns evadingEntity
5620
5620
  */
5621
- isEvasiveDiving() {
5621
+ get IsEvasiveDiving() {
5622
5622
  const result = inv('0x414641C26E105898', this.handle, pvi(), rai());
5623
5623
  return [!!result[0], createFromHandle('Entity', result[1])];
5624
5624
  }
@@ -5642,14 +5642,14 @@ export class Ped extends Entity {
5642
5642
  /**
5643
5643
  * @returns
5644
5644
  */
5645
- getPlayerIsFollowing() {
5645
+ get PlayerIsFollowing() {
5646
5646
  return createFromHandle('Player', inv('0x6A3975DEA89F9A17', this.handle, rai()));
5647
5647
  }
5648
5648
  /**
5649
5649
  * @returns
5650
5650
  */
5651
- isSwimming() {
5652
- return inv('0x9DE327631295B4C2', this.handle, rai());
5651
+ get IsSwimming() {
5652
+ return !!inv('0x9DE327631295B4C2', this.handle, rai());
5653
5653
  }
5654
5654
  /**
5655
5655
  * Seems to set the peds stamina to 30%
@@ -5674,7 +5674,7 @@ export class Ped extends Entity {
5674
5674
  /**
5675
5675
  * @param value
5676
5676
  */
5677
- setMaxTimeUnderwater(value) {
5677
+ set MaxTimeUnderwater(value) {
5678
5678
  inv('0x6BA428C528D9E522', this.handle, f(value));
5679
5679
  }
5680
5680
  /**