@nativewrappers/redm-codegen 0.0.3 → 0.0.5
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.
- package/dist/classes/AnimScene.d.ts +135 -135
- package/dist/classes/AnimScene.d.ts.map +1 -1
- package/dist/classes/AnimScene.js +208 -208
- package/dist/classes/BaseModel.d.ts +21 -21
- package/dist/classes/BaseModel.d.ts.map +1 -1
- package/dist/classes/BaseModel.js +33 -33
- package/dist/classes/BaseTask.d.ts +23 -23
- package/dist/classes/BaseTask.d.ts.map +1 -1
- package/dist/classes/BaseTask.js +27 -27
- package/dist/classes/Cam.d.ts +98 -98
- package/dist/classes/Cam.d.ts.map +1 -1
- package/dist/classes/Cam.js +134 -134
- package/dist/classes/Entity.d.ts +385 -380
- package/dist/classes/Entity.d.ts.map +1 -1
- package/dist/classes/Entity.js +498 -489
- package/dist/classes/Interior.d.ts +5 -5
- package/dist/classes/Interior.d.ts.map +1 -1
- package/dist/classes/Interior.js +8 -8
- package/dist/classes/ItemSet.d.ts +2 -2
- package/dist/classes/ItemSet.d.ts.map +1 -1
- package/dist/classes/ItemSet.js +3 -3
- package/dist/classes/Ped.d.ts +336 -336
- package/dist/classes/Ped.d.ts.map +1 -1
- package/dist/classes/Ped.js +495 -495
- package/dist/classes/PedModel.d.ts +1 -1
- package/dist/classes/PedModel.d.ts.map +1 -1
- package/dist/classes/PedModel.js +2 -2
- package/dist/classes/PedTask.d.ts +255 -255
- package/dist/classes/PedTask.d.ts.map +1 -1
- package/dist/classes/PedTask.js +345 -345
- package/dist/classes/PersChar.d.ts +13 -13
- package/dist/classes/PersChar.d.ts.map +1 -1
- package/dist/classes/PersChar.js +29 -29
- package/dist/classes/Pickup.d.ts +8 -8
- package/dist/classes/Pickup.d.ts.map +1 -1
- package/dist/classes/Pickup.js +15 -15
- package/dist/classes/Player.d.ts +713 -709
- package/dist/classes/Player.d.ts.map +1 -1
- package/dist/classes/Player.js +979 -973
- package/dist/classes/Prop.d.ts +115 -115
- package/dist/classes/Prop.d.ts.map +1 -1
- package/dist/classes/Prop.js +160 -160
- package/dist/classes/PropSet.d.ts +5 -5
- package/dist/classes/PropSet.d.ts.map +1 -1
- package/dist/classes/PropSet.js +6 -6
- package/dist/classes/Vehicle.d.ts +122 -122
- package/dist/classes/Vehicle.d.ts.map +1 -1
- package/dist/classes/Vehicle.js +147 -147
- package/dist/classes/VehicleModel.d.ts +1 -1
- package/dist/classes/VehicleModel.d.ts.map +1 -1
- package/dist/classes/VehicleModel.js +2 -2
- package/dist/classes/VehicleTask.d.ts +9 -9
- package/dist/classes/VehicleTask.d.ts.map +1 -1
- package/dist/classes/VehicleTask.js +12 -12
- package/dist/classes/Volume.d.ts +56 -56
- package/dist/classes/Volume.d.ts.map +1 -1
- package/dist/classes/Volume.js +84 -84
- package/dist/classes/Weapon.d.ts +354 -354
- package/dist/classes/Weapon.d.ts.map +1 -1
- package/dist/classes/Weapon.js +464 -464
- package/dist/namespaces/Aicoverpoint.d.ts +23 -23
- package/dist/namespaces/Aicoverpoint.d.ts.map +1 -1
- package/dist/namespaces/Aicoverpoint.js +35 -35
- package/dist/namespaces/Aitransport.d.ts +78 -78
- package/dist/namespaces/Aitransport.d.ts.map +1 -1
- package/dist/namespaces/Aitransport.js +95 -95
- package/dist/namespaces/Animscene.d.ts +49 -49
- package/dist/namespaces/Animscene.d.ts.map +1 -1
- package/dist/namespaces/Animscene.js +67 -67
- package/dist/namespaces/Audio.d.ts +447 -447
- package/dist/namespaces/Audio.d.ts.map +1 -1
- package/dist/namespaces/Audio.js +635 -635
- package/dist/namespaces/CamStatics.d.ts +441 -441
- package/dist/namespaces/CamStatics.d.ts.map +1 -1
- package/dist/namespaces/CamStatics.js +675 -675
- package/dist/namespaces/Collection.d.ts +6 -6
- package/dist/namespaces/Collection.d.ts.map +1 -1
- package/dist/namespaces/Collection.js +11 -11
- package/dist/namespaces/Companion.d.ts +22 -22
- package/dist/namespaces/Companion.d.ts.map +1 -1
- package/dist/namespaces/Companion.js +30 -30
- package/dist/namespaces/Compapp.js +1 -1
- package/dist/namespaces/Compendium.d.ts +82 -82
- package/dist/namespaces/Compendium.d.ts.map +1 -1
- package/dist/namespaces/Compendium.js +115 -115
- package/dist/namespaces/Crashlog.js +9 -9
- package/dist/namespaces/Crew.js +4 -4
- package/dist/namespaces/Databinding.d.ts +164 -164
- package/dist/namespaces/Databinding.d.ts.map +1 -1
- package/dist/namespaces/Databinding.js +232 -232
- package/dist/namespaces/Datafile.js +4 -4
- package/dist/namespaces/Decorator.d.ts +19 -19
- package/dist/namespaces/Decorator.d.ts.map +1 -1
- package/dist/namespaces/Decorator.js +34 -34
- package/dist/namespaces/Dlc.d.ts +5 -5
- package/dist/namespaces/Dlc.d.ts.map +1 -1
- package/dist/namespaces/Dlc.js +9 -9
- package/dist/namespaces/EntityStatics.d.ts +119 -119
- package/dist/namespaces/EntityStatics.d.ts.map +1 -1
- package/dist/namespaces/EntityStatics.js +164 -164
- package/dist/namespaces/Event.js +4 -4
- package/dist/namespaces/Fire.d.ts +89 -89
- package/dist/namespaces/Fire.d.ts.map +1 -1
- package/dist/namespaces/Fire.js +115 -115
- package/dist/namespaces/Flock.js +2 -2
- package/dist/namespaces/Gang.js +2 -2
- package/dist/namespaces/GoogleAnalytics.js +2 -2
- package/dist/namespaces/Graphics.d.ts +375 -375
- package/dist/namespaces/Graphics.d.ts.map +1 -1
- package/dist/namespaces/Graphics.js +569 -569
- package/dist/namespaces/Hud.d.ts +507 -507
- package/dist/namespaces/Hud.d.ts.map +1 -1
- package/dist/namespaces/Hud.js +706 -706
- package/dist/namespaces/Ik.js +1 -1
- package/dist/namespaces/Interaction.js +3 -3
- package/dist/namespaces/InteriorStatics.js +2 -2
- package/dist/namespaces/Inventory.d.ts +159 -159
- package/dist/namespaces/Inventory.d.ts.map +1 -1
- package/dist/namespaces/Inventory.js +214 -214
- package/dist/namespaces/Itemdatabase.d.ts +5 -5
- package/dist/namespaces/Itemdatabase.d.ts.map +1 -1
- package/dist/namespaces/Itemdatabase.js +10 -10
- package/dist/namespaces/Itemset.js +2 -2
- package/dist/namespaces/Law.d.ts +1 -1
- package/dist/namespaces/Law.d.ts.map +1 -1
- package/dist/namespaces/Law.js +19 -19
- package/dist/namespaces/Localization.js +1 -1
- package/dist/namespaces/Map.d.ts +173 -173
- package/dist/namespaces/Map.d.ts.map +1 -1
- package/dist/namespaces/Map.js +240 -240
- package/dist/namespaces/Minigame.d.ts +17 -17
- package/dist/namespaces/Minigame.d.ts.map +1 -1
- package/dist/namespaces/Minigame.js +25 -25
- package/dist/namespaces/Misc.d.ts +3 -3
- package/dist/namespaces/Misc.d.ts.map +1 -1
- package/dist/namespaces/Misc.js +35 -35
- package/dist/namespaces/Missiondata.d.ts +15 -15
- package/dist/namespaces/Missiondata.d.ts.map +1 -1
- package/dist/namespaces/Missiondata.js +24 -24
- package/dist/namespaces/Money.js +3 -3
- package/dist/namespaces/Netshopping.d.ts +58 -58
- package/dist/namespaces/Netshopping.d.ts.map +1 -1
- package/dist/namespaces/Netshopping.js +89 -89
- package/dist/namespaces/Network.d.ts +694 -694
- package/dist/namespaces/Network.d.ts.map +1 -1
- package/dist/namespaces/Network.js +1129 -1129
- package/dist/namespaces/Object.d.ts +142 -142
- package/dist/namespaces/Object.d.ts.map +1 -1
- package/dist/namespaces/Object.js +195 -195
- package/dist/namespaces/Pad.d.ts +101 -101
- package/dist/namespaces/Pad.d.ts.map +1 -1
- package/dist/namespaces/Pad.js +142 -142
- package/dist/namespaces/Pathfind.js +10 -10
- package/dist/namespaces/PedStatics.d.ts +20 -20
- package/dist/namespaces/PedStatics.d.ts.map +1 -1
- package/dist/namespaces/PedStatics.js +36 -36
- package/dist/namespaces/Perschar.d.ts +49 -49
- package/dist/namespaces/Perschar.d.ts.map +1 -1
- package/dist/namespaces/Perschar.js +76 -76
- package/dist/namespaces/Physics.d.ts +89 -89
- package/dist/namespaces/Physics.d.ts.map +1 -1
- package/dist/namespaces/Physics.js +125 -125
- package/dist/namespaces/PlayerStatics.d.ts +139 -139
- package/dist/namespaces/PlayerStatics.d.ts.map +1 -1
- package/dist/namespaces/PlayerStatics.js +200 -200
- package/dist/namespaces/Population.d.ts +75 -75
- package/dist/namespaces/Population.d.ts.map +1 -1
- package/dist/namespaces/Population.js +101 -101
- package/dist/namespaces/Posse.d.ts +54 -54
- package/dist/namespaces/Posse.d.ts.map +1 -1
- package/dist/namespaces/Posse.js +86 -86
- package/dist/namespaces/Replay.d.ts +1 -1
- package/dist/namespaces/Replay.d.ts.map +1 -1
- package/dist/namespaces/Replay.js +2 -2
- package/dist/namespaces/Scripts.d.ts +1 -1
- package/dist/namespaces/Scripts.d.ts.map +1 -1
- package/dist/namespaces/Scripts.js +12 -12
- package/dist/namespaces/Socialclub.js +8 -8
- package/dist/namespaces/Socialclubfeed.js +1 -1
- package/dist/namespaces/Spactionproxy.js +4 -4
- package/dist/namespaces/Stats.d.ts +197 -197
- package/dist/namespaces/Stats.d.ts.map +1 -1
- package/dist/namespaces/Stats.js +285 -285
- package/dist/namespaces/Streaming.d.ts +46 -46
- package/dist/namespaces/Streaming.d.ts.map +1 -1
- package/dist/namespaces/Streaming.js +79 -79
- package/dist/namespaces/Task.d.ts +138 -138
- package/dist/namespaces/Task.d.ts.map +1 -1
- package/dist/namespaces/Task.js +204 -204
- package/dist/namespaces/Telemetry.d.ts +212 -212
- package/dist/namespaces/Telemetry.d.ts.map +1 -1
- package/dist/namespaces/Telemetry.js +308 -308
- package/dist/namespaces/Txd.js +1 -1
- package/dist/namespaces/Uiapps.d.ts +25 -25
- package/dist/namespaces/Uiapps.d.ts.map +1 -1
- package/dist/namespaces/Uiapps.js +36 -36
- package/dist/namespaces/Uievents.js +1 -1
- package/dist/namespaces/Uifeed.d.ts +15 -15
- package/dist/namespaces/Uifeed.d.ts.map +1 -1
- package/dist/namespaces/Uifeed.js +25 -25
- package/dist/namespaces/Uistickyfeed.d.ts +16 -16
- package/dist/namespaces/Uistickyfeed.d.ts.map +1 -1
- package/dist/namespaces/Uistickyfeed.js +21 -21
- package/dist/namespaces/Unlock.js +5 -5
- package/dist/namespaces/VehicleStatics.js +12 -12
- package/dist/namespaces/Voice.d.ts +38 -38
- package/dist/namespaces/Voice.d.ts.map +1 -1
- package/dist/namespaces/Voice.js +61 -61
- package/dist/namespaces/VolumeStatics.d.ts +161 -161
- package/dist/namespaces/VolumeStatics.d.ts.map +1 -1
- package/dist/namespaces/VolumeStatics.js +217 -217
- package/dist/namespaces/Water.d.ts +27 -27
- package/dist/namespaces/Water.d.ts.map +1 -1
- package/dist/namespaces/Water.js +41 -41
- package/dist/namespaces/WeaponStatics.d.ts +274 -274
- package/dist/namespaces/WeaponStatics.d.ts.map +1 -1
- package/dist/namespaces/WeaponStatics.js +390 -390
- package/dist/namespaces/Zone.d.ts +7 -7
- package/dist/namespaces/Zone.d.ts.map +1 -1
- package/dist/namespaces/Zone.js +9 -9
- package/dist/types/NativeAliases.d.ts +3 -1
- package/dist/types/NativeAliases.d.ts.map +1 -1
- package/dist/types/NativeAliases.js +3 -1
- package/package.json +1 -1
- package/src/classes/AnimScene.ts +227 -227
- package/src/classes/BaseModel.ts +36 -36
- package/src/classes/BaseTask.ts +29 -29
- package/src/classes/Cam.ts +143 -143
- package/src/classes/Entity.ts +517 -506
- package/src/classes/Interior.ts +8 -8
- package/src/classes/ItemSet.ts +3 -3
- package/src/classes/Ped.ts +512 -512
- package/src/classes/PedModel.ts +2 -2
- package/src/classes/PedTask.ts +429 -429
- package/src/classes/PersChar.ts +35 -35
- package/src/classes/Pickup.ts +16 -16
- package/src/classes/Player.ts +995 -988
- package/src/classes/Prop.ts +177 -177
- package/src/classes/PropSet.ts +6 -6
- package/src/classes/Vehicle.ts +147 -147
- package/src/classes/VehicleModel.ts +2 -2
- package/src/classes/VehicleTask.ts +13 -13
- package/src/classes/Volume.ts +91 -91
- package/src/classes/Weapon.ts +489 -489
- package/src/namespaces/Aicoverpoint.ts +40 -40
- package/src/namespaces/Aitransport.ts +104 -104
- package/src/namespaces/Animscene.ts +74 -74
- package/src/namespaces/Audio.ts +647 -647
- package/src/namespaces/CamStatics.ts +768 -768
- package/src/namespaces/Collection.ts +12 -12
- package/src/namespaces/Companion.ts +34 -34
- package/src/namespaces/Compapp.ts +1 -1
- package/src/namespaces/Compendium.ts +120 -120
- package/src/namespaces/Crashlog.ts +9 -9
- package/src/namespaces/Crew.ts +4 -4
- package/src/namespaces/Databinding.ts +249 -249
- package/src/namespaces/Datafile.ts +4 -4
- package/src/namespaces/Decorator.ts +37 -37
- package/src/namespaces/Dlc.ts +9 -9
- package/src/namespaces/EntityStatics.ts +172 -172
- package/src/namespaces/Event.ts +4 -4
- package/src/namespaces/Fire.ts +127 -127
- package/src/namespaces/Flock.ts +2 -2
- package/src/namespaces/Gang.ts +2 -2
- package/src/namespaces/GoogleAnalytics.ts +2 -2
- package/src/namespaces/Graphics.ts +583 -583
- package/src/namespaces/Hud.ts +741 -741
- package/src/namespaces/Ik.ts +1 -1
- package/src/namespaces/Interaction.ts +3 -3
- package/src/namespaces/InteriorStatics.ts +2 -2
- package/src/namespaces/Inventory.ts +236 -236
- package/src/namespaces/Itemdatabase.ts +11 -11
- package/src/namespaces/Itemset.ts +2 -2
- package/src/namespaces/Law.ts +20 -20
- package/src/namespaces/Localization.ts +1 -1
- package/src/namespaces/Map.ts +256 -256
- package/src/namespaces/Minigame.ts +29 -29
- package/src/namespaces/Misc.ts +38 -38
- package/src/namespaces/Missiondata.ts +28 -28
- package/src/namespaces/Money.ts +3 -3
- package/src/namespaces/Netshopping.ts +99 -99
- package/src/namespaces/Network.ts +1165 -1165
- package/src/namespaces/Object.ts +214 -214
- package/src/namespaces/Pad.ts +150 -150
- package/src/namespaces/Pathfind.ts +10 -10
- package/src/namespaces/PedStatics.ts +42 -42
- package/src/namespaces/Perschar.ts +78 -78
- package/src/namespaces/Physics.ts +141 -141
- package/src/namespaces/PlayerStatics.ts +228 -228
- package/src/namespaces/Population.ts +114 -114
- package/src/namespaces/Posse.ts +87 -87
- package/src/namespaces/Replay.ts +3 -3
- package/src/namespaces/Scripts.ts +13 -13
- package/src/namespaces/Socialclub.ts +8 -8
- package/src/namespaces/Socialclubfeed.ts +1 -1
- package/src/namespaces/Spactionproxy.ts +4 -4
- package/src/namespaces/Stats.ts +293 -293
- package/src/namespaces/Streaming.ts +93 -93
- package/src/namespaces/Task.ts +228 -228
- package/src/namespaces/Telemetry.ts +322 -322
- package/src/namespaces/Txd.ts +1 -1
- package/src/namespaces/Uiapps.ts +43 -43
- package/src/namespaces/Uievents.ts +1 -1
- package/src/namespaces/Uifeed.ts +28 -28
- package/src/namespaces/Uistickyfeed.ts +23 -23
- package/src/namespaces/Unlock.ts +5 -5
- package/src/namespaces/VehicleStatics.ts +12 -12
- package/src/namespaces/Voice.ts +70 -70
- package/src/namespaces/VolumeStatics.ts +222 -222
- package/src/namespaces/Water.ts +47 -47
- package/src/namespaces/WeaponStatics.ts +402 -402
- package/src/namespaces/Zone.ts +10 -10
- package/src/types/NativeAliases.ts +6 -1
|
@@ -124,7 +124,7 @@ export class Graphics {
|
|
|
124
124
|
* @returns
|
|
125
125
|
*/
|
|
126
126
|
static isDecalAlive(decal: number): boolean {
|
|
127
|
-
return inv<boolean>('0x3E4B4E5CF5D3EEB5', decal, rai());
|
|
127
|
+
return !!inv<boolean>('0x3E4B4E5CF5D3EEB5', decal, rai());
|
|
128
128
|
}
|
|
129
129
|
|
|
130
130
|
/**
|
|
@@ -161,435 +161,389 @@ export class Graphics {
|
|
|
161
161
|
}
|
|
162
162
|
|
|
163
163
|
/**
|
|
164
|
-
*
|
|
165
|
-
* *SET_ENTITY_QUATERNION** - SET_ENTITY_RENDER_*
|
|
164
|
+
* Sets the draw order for script draw commands.
|
|
166
165
|
*
|
|
167
|
-
* @param
|
|
168
|
-
* @param toggle
|
|
166
|
+
* @param drawOrder
|
|
169
167
|
*/
|
|
170
|
-
static
|
|
171
|
-
inv<void>('
|
|
168
|
+
static setScriptGfxDrawOrder(drawOrder: number): void {
|
|
169
|
+
inv<void>('0xCFCC78391C8B3814', drawOrder);
|
|
172
170
|
}
|
|
173
171
|
|
|
174
172
|
/**
|
|
175
|
-
* @param
|
|
176
|
-
* @param entity
|
|
177
|
-
* @param offset
|
|
178
|
-
* @param rot
|
|
179
|
-
* @param scale
|
|
180
|
-
* @param axisX
|
|
181
|
-
* @param axisY
|
|
182
|
-
* @param axisZ
|
|
183
|
-
* @returns
|
|
173
|
+
* @param p0
|
|
184
174
|
*/
|
|
185
|
-
static
|
|
186
|
-
|
|
175
|
+
static enableStaticVegModifier(p0: string | number): void {
|
|
176
|
+
inv<void>('0xDFEA23EC90113657', _h(p0));
|
|
187
177
|
}
|
|
188
178
|
|
|
189
179
|
/**
|
|
190
|
-
* @
|
|
180
|
+
* @returns
|
|
191
181
|
*/
|
|
192
|
-
static
|
|
193
|
-
inv<
|
|
194
|
-
}
|
|
195
|
-
|
|
196
|
-
static N_0x815653A42C5ABE76(): void {
|
|
197
|
-
inv<void>('0x815653A42C5ABE76');
|
|
182
|
+
static getTvChannel(): number {
|
|
183
|
+
return inv<number>('0xF90FBFD68F3C59AE', rai());
|
|
198
184
|
}
|
|
199
185
|
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
* @returns
|
|
203
|
-
*/
|
|
204
|
-
static animpostfxIsTagPlaying(effectName: string | null): any {
|
|
205
|
-
return inv<number>('0x2D4F9C852CE8A253', effectName);
|
|
186
|
+
static N_0x9D1B0B5066205692(): void {
|
|
187
|
+
inv<void>('0x9D1B0B5066205692');
|
|
206
188
|
}
|
|
207
189
|
|
|
208
190
|
/**
|
|
209
|
-
*
|
|
210
|
-
* {
|
|
211
|
-
* Primary,
|
|
212
|
-
* Secondary,
|
|
213
|
-
* Xmas,
|
|
214
|
-
* XmasSecondary // since b1232
|
|
215
|
-
* };
|
|
216
|
-
*
|
|
217
|
-
* @param type
|
|
191
|
+
* @param alpha
|
|
218
192
|
*/
|
|
219
|
-
static
|
|
220
|
-
inv<void>('
|
|
193
|
+
static setParticleFxNonLoopedAlpha(alpha: number): void {
|
|
194
|
+
inv<void>('0xE8A35938A7026CEA', f(alpha));
|
|
221
195
|
}
|
|
222
196
|
|
|
223
197
|
/**
|
|
224
|
-
* @param
|
|
198
|
+
* @param point
|
|
225
199
|
*/
|
|
226
|
-
static
|
|
227
|
-
inv<void>('
|
|
200
|
+
static destroyTrackedPoint(point: number): void {
|
|
201
|
+
inv<void>('0x37A59922109F8F1C', point);
|
|
228
202
|
}
|
|
229
203
|
|
|
230
204
|
/**
|
|
231
|
-
* @param
|
|
232
|
-
* @param toggle
|
|
205
|
+
* @param p0
|
|
233
206
|
*/
|
|
234
|
-
static
|
|
235
|
-
inv<void>('
|
|
207
|
+
static N_0x67B0778C62E74423(p0: any): void {
|
|
208
|
+
inv<void>('0x67B0778C62E74423', p0);
|
|
236
209
|
}
|
|
237
210
|
|
|
238
211
|
/**
|
|
239
|
-
*
|
|
240
|
-
*
|
|
241
|
-
* @param
|
|
242
|
-
* @param rot
|
|
243
|
-
* @param scale
|
|
244
|
-
* @param xAxis
|
|
245
|
-
* @param yAxis
|
|
246
|
-
* @param zAxis
|
|
247
|
-
* @returns
|
|
212
|
+
* ANIMPOSTFX_*
|
|
213
|
+
*
|
|
214
|
+
* @param effectNameHash
|
|
248
215
|
*/
|
|
249
|
-
static
|
|
250
|
-
|
|
216
|
+
static N_0x71845905BCCDE781(effectNameHash: string | number): void {
|
|
217
|
+
inv<void>('0x71845905BCCDE781', _h(effectNameHash));
|
|
251
218
|
}
|
|
252
219
|
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
* @param radius
|
|
256
|
-
*/
|
|
257
|
-
static removeParticleFxInRange(pos: Vector3, radius: number): void {
|
|
258
|
-
inv<void>('0x87B5905ECA623B68', f(pos.x), f(pos.y), f(pos.z), f(radius));
|
|
220
|
+
static N_0xF2F543D48F319A3A(): void {
|
|
221
|
+
inv<void>('0xF2F543D48F319A3A');
|
|
259
222
|
}
|
|
260
223
|
|
|
261
224
|
/**
|
|
262
|
-
*
|
|
225
|
+
* ANIMPOSTFX_*
|
|
263
226
|
*
|
|
264
|
-
* @param effectName
|
|
265
|
-
* @param pos
|
|
266
|
-
* @param rot
|
|
267
|
-
* @param scale
|
|
268
|
-
* @param xAxis
|
|
269
|
-
* @param yAxis
|
|
270
|
-
* @param zAxis
|
|
271
|
-
* @param p11
|
|
272
227
|
* @returns
|
|
273
228
|
*/
|
|
274
|
-
static
|
|
275
|
-
return inv<
|
|
229
|
+
static N_0x3DA7A10583A4BEC0(): boolean {
|
|
230
|
+
return !!inv<boolean>('0x3DA7A10583A4BEC0', rai());
|
|
276
231
|
}
|
|
277
232
|
|
|
278
233
|
/**
|
|
279
|
-
*
|
|
234
|
+
* Does not affect weapons, particles, fire/explosions, flashlights or the sun.
|
|
235
|
+
* When set to true, all emissive textures (including ped components that have light effects), street lights, building lights, vehicle lights, etc will all be turned off. state: True turns off all artificial light sources in the map: buildings, street lights, car lights, etc. False turns them back on.
|
|
236
|
+
*
|
|
237
|
+
* @param state
|
|
280
238
|
*/
|
|
281
|
-
static
|
|
282
|
-
|
|
239
|
+
static setArtificialLightsState(state: boolean): void {
|
|
240
|
+
inv<void>('0xB2797619A7C7747B', state);
|
|
283
241
|
}
|
|
284
242
|
|
|
285
243
|
/**
|
|
286
|
-
*
|
|
244
|
+
* Possible values:
|
|
245
|
+
* "CSM_ST_POINT"
|
|
246
|
+
* "CSM_ST_LINEAR"
|
|
247
|
+
* "CSM_ST_BOX3x3"
|
|
248
|
+
* "CSM_ST_BOX4x4"
|
|
249
|
+
* "CSM_ST_DITHER2_LINEAR"
|
|
250
|
+
* "CSM_ST_CUBIC"
|
|
251
|
+
* "CSM_ST_POISSON16"
|
|
252
|
+
* "CSM_ST_SOFT8"
|
|
253
|
+
* "CSM_ST_SOFT16"
|
|
254
|
+
* "CSM_ST_SOFT32"
|
|
255
|
+
* "CSM_ST_DITHER16_RPDB"
|
|
256
|
+
* "CSM_ST_POISSON16_RPDB_GNORM"
|
|
257
|
+
* "CSM_ST_HIGHRES_BOX4x4"
|
|
258
|
+
* "CSM_ST_ESM"
|
|
287
259
|
*
|
|
288
|
-
* @param
|
|
260
|
+
* @param type
|
|
289
261
|
*/
|
|
290
|
-
static
|
|
291
|
-
inv<void>('
|
|
262
|
+
static cascadeShadowsSetShadowSampleType(type: string | null): void {
|
|
263
|
+
inv<void>('0xCE4774E0F9AD48D1', type);
|
|
292
264
|
}
|
|
293
265
|
|
|
294
266
|
/**
|
|
295
267
|
* @param p0
|
|
296
|
-
* @param p1
|
|
297
|
-
* @param p2
|
|
298
|
-
* @param p3
|
|
299
|
-
* @param p4
|
|
300
268
|
*/
|
|
301
|
-
static
|
|
302
|
-
inv<void>('
|
|
269
|
+
static N_0x519928DF02EB5101(p0: any): void {
|
|
270
|
+
inv<void>('0x519928DF02EB5101', p0);
|
|
303
271
|
}
|
|
304
272
|
|
|
305
273
|
/**
|
|
306
|
-
*
|
|
274
|
+
* Gets set to 1 when GET_STATUS_OF_TAKE_HIGH_QUALITY_PHOTO = PHOTO_OPERATION_SUCCEEDED
|
|
307
275
|
*
|
|
308
|
-
* @
|
|
276
|
+
* @param p0
|
|
309
277
|
*/
|
|
310
|
-
static
|
|
311
|
-
|
|
278
|
+
static N_0x0D5B19C34068FEE7(p0: any): void {
|
|
279
|
+
inv<void>('0x0D5B19C34068FEE7', p0);
|
|
312
280
|
}
|
|
313
281
|
|
|
314
282
|
/**
|
|
315
|
-
*
|
|
316
|
-
* Returns veg modifier handle
|
|
283
|
+
* type must be less than or equal to 20
|
|
317
284
|
*
|
|
318
|
-
* @param
|
|
319
|
-
* @param
|
|
320
|
-
* @param flags
|
|
321
|
-
* @param p3
|
|
322
|
-
* @returns
|
|
285
|
+
* @param entity
|
|
286
|
+
* @param type
|
|
323
287
|
*/
|
|
324
|
-
static
|
|
325
|
-
|
|
288
|
+
static setLightsTypeForEntity(entity: Entity, type: number): void {
|
|
289
|
+
inv<void>('0xAB72C67163DC4DB4', entity.handle, type);
|
|
326
290
|
}
|
|
327
291
|
|
|
328
292
|
/**
|
|
329
|
-
*
|
|
330
|
-
*
|
|
331
|
-
* @param
|
|
293
|
+
* @param p0
|
|
294
|
+
* @param p1
|
|
295
|
+
* @param p2
|
|
296
|
+
* @param p3
|
|
332
297
|
*/
|
|
333
|
-
static
|
|
334
|
-
inv<void>('
|
|
298
|
+
static N_0xD543487A1F12828F(p0: any, p1: any, p2: any, p3: any): void {
|
|
299
|
+
inv<void>('0xD543487A1F12828F', p0, p1, p2, p3);
|
|
335
300
|
}
|
|
336
301
|
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
* @param ped
|
|
340
|
-
* @param playerSlot
|
|
341
|
-
* @returns
|
|
342
|
-
*/
|
|
343
|
-
static pedshotGeneratePersonaPhoto(texture: string | null, ped: Ped, playerSlot: number): boolean {
|
|
344
|
-
return inv<boolean>('0xD9C24F53631F2372', texture, ped.handle, playerSlot, rai());
|
|
302
|
+
static N_0xEC3F7F24EEEB3BA3(): void {
|
|
303
|
+
inv<void>('0xEC3F7F24EEEB3BA3');
|
|
345
304
|
}
|
|
346
305
|
|
|
347
306
|
/**
|
|
348
|
-
*
|
|
307
|
+
* Used in CREATE_BEZIER_BLOOD_TRAIL_OF_TYPE
|
|
308
|
+
*
|
|
309
|
+
* @param p0
|
|
349
310
|
*/
|
|
350
|
-
static
|
|
351
|
-
|
|
311
|
+
static N_0x41F88A85A579A61D(p0: number): void {
|
|
312
|
+
inv<void>('0x41F88A85A579A61D', f(p0));
|
|
352
313
|
}
|
|
353
314
|
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
*/
|
|
357
|
-
static setRegionPhotoTakenStat(p0: string | null): void {
|
|
358
|
-
inv<void>('0xD1031B83AC093BC7', p0);
|
|
315
|
+
static freeMemoryForLowQualityPhoto(): void {
|
|
316
|
+
inv<void>('0x614682E715ADBAAC');
|
|
359
317
|
}
|
|
360
318
|
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
*/
|
|
364
|
-
static animpostfxSetToUnload(effectName: string | null): void {
|
|
365
|
-
inv<void>('0x37D7BDBA89F13959', effectName);
|
|
319
|
+
static freeMemoryForHighQualityPhoto(): void {
|
|
320
|
+
inv<void>('0xD45547D8396F002A');
|
|
366
321
|
}
|
|
367
322
|
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
* @returns
|
|
371
|
-
*/
|
|
372
|
-
static isProxyInteriorIndexArtificialLightsEnabled(proxyInteriorIndex: number): any {
|
|
373
|
-
return inv<number>('0x113857D66A9CABE6', proxyInteriorIndex);
|
|
323
|
+
static N_0x32DE2BFFDA43E62A(): void {
|
|
324
|
+
inv<void>('0x32DE2BFFDA43E62A');
|
|
374
325
|
}
|
|
375
326
|
|
|
376
327
|
/**
|
|
377
|
-
*
|
|
328
|
+
* Resets the exposure to the value when exposure lock was enabled
|
|
378
329
|
*/
|
|
379
|
-
static
|
|
380
|
-
inv<void>('
|
|
330
|
+
static updatePhotoModeExposure(): void {
|
|
331
|
+
inv<void>('0x9229ED770975BD9E');
|
|
381
332
|
}
|
|
382
333
|
|
|
383
334
|
/**
|
|
384
|
-
* @param
|
|
385
|
-
* @param intensity
|
|
335
|
+
* @param effectName
|
|
386
336
|
*/
|
|
387
|
-
static
|
|
388
|
-
inv<void>('
|
|
337
|
+
static animpostfxPreloadPostfx(effectName: string | null): void {
|
|
338
|
+
inv<void>('0x5199405EABFBD7F0', effectName);
|
|
389
339
|
}
|
|
390
340
|
|
|
391
341
|
/**
|
|
392
|
-
* @param
|
|
342
|
+
* @param strength
|
|
393
343
|
*/
|
|
394
|
-
static
|
|
395
|
-
inv<void>('
|
|
344
|
+
static setTransitionOutOfTimecycleModifier(strength: number): void {
|
|
345
|
+
inv<void>('0xBB6C707F20D955D4', f(strength));
|
|
396
346
|
}
|
|
397
347
|
|
|
398
348
|
/**
|
|
399
|
-
* @
|
|
349
|
+
* @param effectName
|
|
350
|
+
* @param p1
|
|
351
|
+
* @param color
|
|
352
|
+
* @param alpha
|
|
400
353
|
*/
|
|
401
|
-
static
|
|
402
|
-
|
|
354
|
+
static animpostfxSetPostfxColor(effectName: string | null, p1: number, color: Color, alpha: number): void {
|
|
355
|
+
inv<void>('0x63011D0C7C6519E0', effectName, p1, color.r, color.g, color.b, color.a, alpha);
|
|
403
356
|
}
|
|
404
357
|
|
|
405
358
|
/**
|
|
406
|
-
* @
|
|
359
|
+
* @param p0
|
|
360
|
+
* @param p1
|
|
407
361
|
*/
|
|
408
|
-
static
|
|
409
|
-
|
|
362
|
+
static startPetrolTrailDecals(p0: any, p1: any): void {
|
|
363
|
+
inv<void>('0x46F246D6504F0031', p0, p1);
|
|
410
364
|
}
|
|
411
365
|
|
|
412
366
|
/**
|
|
413
|
-
*
|
|
414
|
-
*
|
|
415
|
-
* @param toggle
|
|
367
|
+
* @param pickupObject
|
|
368
|
+
* @param allow
|
|
416
369
|
*/
|
|
417
|
-
static
|
|
418
|
-
inv<void>('
|
|
370
|
+
static allowPickupLightSync(pickupObject: Prop, allow: boolean): void {
|
|
371
|
+
inv<void>('0x7C348310A6E2FB91', pickupObject.handle, allow);
|
|
419
372
|
}
|
|
420
373
|
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
*/
|
|
424
|
-
static setDistrictPhotoTakenStat(p0: string | null): void {
|
|
425
|
-
inv<void>('0x9937FACBBF267244', p0);
|
|
374
|
+
static freeMemoryForMissionCreatorPhoto(): void {
|
|
375
|
+
inv<void>('0x7DFF8F94937D2659');
|
|
426
376
|
}
|
|
427
377
|
|
|
428
378
|
/**
|
|
429
|
-
*
|
|
430
|
-
*
|
|
431
|
-
* @param
|
|
432
|
-
* @param
|
|
433
|
-
* @param
|
|
434
|
-
* @param
|
|
435
|
-
* @param
|
|
436
|
-
* @param yAxis
|
|
437
|
-
* @param zAxis
|
|
379
|
+
* Returns veg modifier handle
|
|
380
|
+
*
|
|
381
|
+
* @param pos
|
|
382
|
+
* @param radius
|
|
383
|
+
* @param modType
|
|
384
|
+
* @param flags
|
|
385
|
+
* @param p6
|
|
438
386
|
* @returns
|
|
439
387
|
*/
|
|
440
|
-
static
|
|
441
|
-
return inv<number>('
|
|
388
|
+
static addVegModifierSphere(pos: Vector3, radius: number, modType: number, flags: number, p6: number): number {
|
|
389
|
+
return inv<number>('0xFA50F79257745E74', f(pos.x), f(pos.y), f(pos.z), f(radius), modType, flags, p6, rai());
|
|
442
390
|
}
|
|
443
391
|
|
|
444
392
|
/**
|
|
393
|
+
* Only used in R* SP Script spd_agnesdown1
|
|
394
|
+
*
|
|
445
395
|
* @param p0
|
|
396
|
+
* @param pos
|
|
397
|
+
* @param p4
|
|
398
|
+
* @param p5
|
|
399
|
+
* @param heading
|
|
400
|
+
* @returns
|
|
446
401
|
*/
|
|
447
|
-
static
|
|
448
|
-
inv<
|
|
402
|
+
static N_0x402E1A61D2587FCD(p0: any, pos: Vector3, p4: number, p5: number, heading: number): boolean {
|
|
403
|
+
return !!inv<boolean>('0x402E1A61D2587FCD', p0, f(pos.x), f(pos.y), f(pos.z), f(p4), f(p5), f(heading), rai());
|
|
449
404
|
}
|
|
450
405
|
|
|
451
406
|
/**
|
|
452
|
-
* @
|
|
407
|
+
* @returns
|
|
453
408
|
*/
|
|
454
|
-
static
|
|
455
|
-
inv<
|
|
409
|
+
static N_0xFC9B53C072F418E0(): any {
|
|
410
|
+
return inv<number>('0xFC9B53C072F418E0');
|
|
456
411
|
}
|
|
457
412
|
|
|
458
413
|
/**
|
|
459
|
-
*
|
|
414
|
+
* state: false disables artificial interior light sources for specific proxyInteriorIndex
|
|
460
415
|
*
|
|
461
|
-
* @param
|
|
462
|
-
* @param
|
|
416
|
+
* @param proxyInteriorIndex
|
|
417
|
+
* @param state
|
|
463
418
|
*/
|
|
464
|
-
static
|
|
465
|
-
inv<void>('
|
|
419
|
+
static setProxyInteriorIndexArtificialLightsState(proxyInteriorIndex: number, state: boolean): void {
|
|
420
|
+
inv<void>('0xBFCB17895BB99E4E', proxyInteriorIndex, state);
|
|
466
421
|
}
|
|
467
422
|
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
*/
|
|
471
|
-
static removeParticleFxFromEntity(entity: Entity): void {
|
|
472
|
-
inv<void>('0x92884B4A49D81325', entity.handle);
|
|
423
|
+
static resetPausedRenderphases(): void {
|
|
424
|
+
inv<void>('0xCCD9AAD85E1B559E');
|
|
473
425
|
}
|
|
474
426
|
|
|
475
427
|
/**
|
|
476
|
-
* @param
|
|
477
|
-
* @
|
|
428
|
+
* @param unused
|
|
429
|
+
* @returns
|
|
478
430
|
*/
|
|
479
|
-
static
|
|
480
|
-
inv<
|
|
431
|
+
static saveHighQualityPhoto(unused: number): any {
|
|
432
|
+
return inv<number>('0x57639FD876B68A91', unused);
|
|
481
433
|
}
|
|
482
434
|
|
|
483
435
|
/**
|
|
484
|
-
*
|
|
485
|
-
* p2: EMIT
|
|
486
|
-
* p3: either 0.0f or 1.0f
|
|
487
|
-
*
|
|
488
|
-
* @param entity
|
|
489
|
-
* @param p1
|
|
436
|
+
* @param pos
|
|
490
437
|
* @param p2
|
|
491
|
-
* @param p3
|
|
492
438
|
*/
|
|
493
|
-
static
|
|
494
|
-
inv<void>('
|
|
495
|
-
}
|
|
496
|
-
|
|
497
|
-
/**
|
|
498
|
-
* @param typeHash
|
|
499
|
-
* @param pos1
|
|
500
|
-
* @param pos2
|
|
501
|
-
* @param radius
|
|
502
|
-
* @param color
|
|
503
|
-
* @param alpha
|
|
504
|
-
* @param reserved
|
|
505
|
-
* @returns
|
|
506
|
-
*/
|
|
507
|
-
static createCheckpointWithNamehash(typeHash: string | number, pos1: Vector3, pos2: Vector3, radius: number, color: Color, alpha: number, reserved: number): number {
|
|
508
|
-
return inv<number>('0x175668836B44CBB0', _h(typeHash), f(pos1.x), f(pos1.y), f(pos1.z), f(pos2.x), f(pos2.y), f(pos2.z), f(radius), color.r, color.g, color.b, color.a, alpha, reserved, rai());
|
|
509
|
-
}
|
|
510
|
-
|
|
511
|
-
static disableEntitymask(): void {
|
|
512
|
-
inv<void>('0x5C9978A2A3DC3D0D');
|
|
439
|
+
static setCloudLayer(pos: Vector2, p2: number): void {
|
|
440
|
+
inv<void>('0xB8C984C0D47F4F07', f(pos.x), f(pos.y), p2);
|
|
513
441
|
}
|
|
514
442
|
|
|
515
443
|
/**
|
|
516
|
-
*
|
|
517
|
-
*
|
|
518
|
-
* @param iTrackedPoint
|
|
444
|
+
* @param p0
|
|
519
445
|
* @returns
|
|
520
446
|
*/
|
|
521
|
-
static
|
|
522
|
-
return inv<
|
|
447
|
+
static N_0xEC3D8C228FE553D7(p0: boolean): boolean {
|
|
448
|
+
return !!inv<boolean>('0xEC3D8C228FE553D7', p0, rai());
|
|
523
449
|
}
|
|
524
450
|
|
|
525
451
|
/**
|
|
526
|
-
*
|
|
527
|
-
* @returns layer0; layer1; layer2; layer3
|
|
452
|
+
* *RESET**
|
|
528
453
|
*/
|
|
529
|
-
static
|
|
530
|
-
|
|
531
|
-
return [result[0], result[1], result[2], result[3]];
|
|
454
|
+
static N_0x1460B644397453EB(): void {
|
|
455
|
+
inv<void>('0x1460B644397453EB');
|
|
532
456
|
}
|
|
533
457
|
|
|
534
458
|
/**
|
|
535
|
-
* @param
|
|
536
|
-
* @returns
|
|
459
|
+
* @param personaPhotoLocalCacheType
|
|
537
460
|
*/
|
|
538
|
-
static
|
|
539
|
-
|
|
461
|
+
static pedshotSetPersonaPhotoType(personaPhotoLocalCacheType: number): void {
|
|
462
|
+
inv<void>('0x196D3ACBEBA4A44B', personaPhotoLocalCacheType);
|
|
540
463
|
}
|
|
541
464
|
|
|
542
|
-
static
|
|
543
|
-
inv<void>('
|
|
465
|
+
static pedshotFinishCleanupData(): void {
|
|
466
|
+
inv<void>('0xC2B8164C3BE871A4');
|
|
467
|
+
}
|
|
468
|
+
|
|
469
|
+
static N_0x1C6306E5BC25C29C(): void {
|
|
470
|
+
inv<void>('0x1C6306E5BC25C29C');
|
|
544
471
|
}
|
|
545
472
|
|
|
546
473
|
/**
|
|
547
|
-
*
|
|
474
|
+
* @param pos
|
|
548
475
|
*/
|
|
549
|
-
static
|
|
550
|
-
inv<void>('
|
|
476
|
+
static setCloudNoise(pos: Vector3): void {
|
|
477
|
+
inv<void>('0xFE7966DF01452F32', f(pos.x), f(pos.y), f(pos.z));
|
|
551
478
|
}
|
|
552
479
|
|
|
553
480
|
/**
|
|
554
|
-
*
|
|
481
|
+
* @param p0
|
|
482
|
+
*/
|
|
483
|
+
static N_0xEB48CE48EEC41FD4(p0: any): void {
|
|
484
|
+
inv<void>('0xEB48CE48EEC41FD4', p0);
|
|
485
|
+
}
|
|
486
|
+
|
|
487
|
+
/**
|
|
488
|
+
* Used in NET_CAMP_SPIRIT_ANIMAL_CLEAR_ANIMAL_VISIBILITY
|
|
555
489
|
*
|
|
556
|
-
* @param
|
|
490
|
+
* @param entity
|
|
557
491
|
*/
|
|
558
|
-
static
|
|
559
|
-
inv<void>('
|
|
492
|
+
static N_0xC06F2F45A73EABCD(entity: Entity): void {
|
|
493
|
+
inv<void>('0xC06F2F45A73EABCD', entity.handle);
|
|
560
494
|
}
|
|
561
495
|
|
|
562
496
|
/**
|
|
563
497
|
* @param effectName
|
|
498
|
+
* @param pos
|
|
499
|
+
* @param rot
|
|
500
|
+
* @param scale
|
|
501
|
+
* @param xAxis
|
|
502
|
+
* @param yAxis
|
|
503
|
+
* @param zAxis
|
|
504
|
+
* @returns
|
|
564
505
|
*/
|
|
565
|
-
static
|
|
566
|
-
inv<
|
|
506
|
+
static startNetworkedParticleFxNonLoopedAtCoord(effectName: string | null, pos: Vector3, rot: Vector3, scale: number, xAxis: boolean, yAxis: boolean, zAxis: boolean): boolean {
|
|
507
|
+
return !!inv<boolean>('0xFB97618457994A62', effectName, f(pos.x), f(pos.y), f(pos.z), f(rot.x), f(rot.y), f(rot.z), f(scale), xAxis, yAxis, zAxis, rai());
|
|
567
508
|
}
|
|
568
509
|
|
|
569
510
|
/**
|
|
570
|
-
*
|
|
571
|
-
* *ENABLE**
|
|
511
|
+
* @returns
|
|
572
512
|
*/
|
|
573
|
-
static
|
|
574
|
-
inv<
|
|
513
|
+
static getPhotoModeExposure(): number {
|
|
514
|
+
return inv<number>('0x06C0D8BB6B04A709', raf());
|
|
575
515
|
}
|
|
576
516
|
|
|
577
517
|
/**
|
|
578
|
-
*
|
|
518
|
+
* _SET_PARTICLE_FX_LOOPED_FA* - _SET_PARTICLE_FX_LOOPED_OF*
|
|
519
|
+
*
|
|
520
|
+
* @param ptfxHandle
|
|
521
|
+
* @param scalar
|
|
579
522
|
*/
|
|
580
|
-
static
|
|
581
|
-
inv<void>('
|
|
523
|
+
static setParticleFxLoopedUpdateDistantSmoke(ptfxHandle: number, scalar: number): void {
|
|
524
|
+
inv<void>('0x9DDC222D85D5AF2A', ptfxHandle, f(scalar));
|
|
582
525
|
}
|
|
583
526
|
|
|
584
527
|
/**
|
|
585
|
-
*
|
|
528
|
+
* Known effects: MP_Trans_SceneToPhoto
|
|
529
|
+
* MP_Trans_WinLose
|
|
530
|
+
* SpectateFilter
|
|
531
|
+
* MP_CharacterCreatorPhoto
|
|
532
|
+
* MP_Trans_PhotoToScene
|
|
533
|
+
* InterrogationHit
|
|
586
534
|
*
|
|
587
|
-
* @param
|
|
588
|
-
* @
|
|
589
|
-
* @param alpha
|
|
535
|
+
* @param effectName
|
|
536
|
+
* @returns
|
|
590
537
|
*/
|
|
591
|
-
static
|
|
592
|
-
inv<
|
|
538
|
+
static animpostfxGetStackhash(effectName: string | null): number {
|
|
539
|
+
return (inv<number>('0x842CCC9491FFCD9B', effectName, rai())) & 0xFFFFFFFF;
|
|
540
|
+
}
|
|
541
|
+
|
|
542
|
+
/**
|
|
543
|
+
* @param height
|
|
544
|
+
*/
|
|
545
|
+
static setCloudHeight(height: number): void {
|
|
546
|
+
inv<void>('0xC332C91388F5580B', f(height));
|
|
593
547
|
}
|
|
594
548
|
|
|
595
549
|
/**
|
|
@@ -707,145 +661,6 @@ export class Graphics {
|
|
|
707
661
|
inv<void>('0x62B9F9A1272AED80', f(value));
|
|
708
662
|
}
|
|
709
663
|
|
|
710
|
-
/**
|
|
711
|
-
* Sets the draw order for script draw commands.
|
|
712
|
-
*
|
|
713
|
-
* @param drawOrder
|
|
714
|
-
*/
|
|
715
|
-
static setScriptGfxDrawOrder(drawOrder: number): void {
|
|
716
|
-
inv<void>('0xCFCC78391C8B3814', drawOrder);
|
|
717
|
-
}
|
|
718
|
-
|
|
719
|
-
/**
|
|
720
|
-
* @param p0
|
|
721
|
-
*/
|
|
722
|
-
static enableStaticVegModifier(p0: string | number): void {
|
|
723
|
-
inv<void>('0xDFEA23EC90113657', _h(p0));
|
|
724
|
-
}
|
|
725
|
-
|
|
726
|
-
/**
|
|
727
|
-
* @returns
|
|
728
|
-
*/
|
|
729
|
-
static getTvChannel(): number {
|
|
730
|
-
return inv<number>('0xF90FBFD68F3C59AE', rai());
|
|
731
|
-
}
|
|
732
|
-
|
|
733
|
-
static N_0x9D1B0B5066205692(): void {
|
|
734
|
-
inv<void>('0x9D1B0B5066205692');
|
|
735
|
-
}
|
|
736
|
-
|
|
737
|
-
/**
|
|
738
|
-
* @param alpha
|
|
739
|
-
*/
|
|
740
|
-
static setParticleFxNonLoopedAlpha(alpha: number): void {
|
|
741
|
-
inv<void>('0xE8A35938A7026CEA', f(alpha));
|
|
742
|
-
}
|
|
743
|
-
|
|
744
|
-
/**
|
|
745
|
-
* @param point
|
|
746
|
-
*/
|
|
747
|
-
static destroyTrackedPoint(point: number): void {
|
|
748
|
-
inv<void>('0x37A59922109F8F1C', point);
|
|
749
|
-
}
|
|
750
|
-
|
|
751
|
-
/**
|
|
752
|
-
* @param p0
|
|
753
|
-
*/
|
|
754
|
-
static N_0x67B0778C62E74423(p0: any): void {
|
|
755
|
-
inv<void>('0x67B0778C62E74423', p0);
|
|
756
|
-
}
|
|
757
|
-
|
|
758
|
-
/**
|
|
759
|
-
* ANIMPOSTFX_*
|
|
760
|
-
*
|
|
761
|
-
* @param effectNameHash
|
|
762
|
-
*/
|
|
763
|
-
static N_0x71845905BCCDE781(effectNameHash: string | number): void {
|
|
764
|
-
inv<void>('0x71845905BCCDE781', _h(effectNameHash));
|
|
765
|
-
}
|
|
766
|
-
|
|
767
|
-
static N_0xF2F543D48F319A3A(): void {
|
|
768
|
-
inv<void>('0xF2F543D48F319A3A');
|
|
769
|
-
}
|
|
770
|
-
|
|
771
|
-
/**
|
|
772
|
-
* ANIMPOSTFX_*
|
|
773
|
-
*
|
|
774
|
-
* @returns
|
|
775
|
-
*/
|
|
776
|
-
static N_0x3DA7A10583A4BEC0(): boolean {
|
|
777
|
-
return inv<boolean>('0x3DA7A10583A4BEC0', rai());
|
|
778
|
-
}
|
|
779
|
-
|
|
780
|
-
/**
|
|
781
|
-
* Does not affect weapons, particles, fire/explosions, flashlights or the sun.
|
|
782
|
-
* When set to true, all emissive textures (including ped components that have light effects), street lights, building lights, vehicle lights, etc will all be turned off. state: True turns off all artificial light sources in the map: buildings, street lights, car lights, etc. False turns them back on.
|
|
783
|
-
*
|
|
784
|
-
* @param state
|
|
785
|
-
*/
|
|
786
|
-
static setArtificialLightsState(state: boolean): void {
|
|
787
|
-
inv<void>('0xB2797619A7C7747B', state);
|
|
788
|
-
}
|
|
789
|
-
|
|
790
|
-
/**
|
|
791
|
-
* Possible values:
|
|
792
|
-
* "CSM_ST_POINT"
|
|
793
|
-
* "CSM_ST_LINEAR"
|
|
794
|
-
* "CSM_ST_BOX3x3"
|
|
795
|
-
* "CSM_ST_BOX4x4"
|
|
796
|
-
* "CSM_ST_DITHER2_LINEAR"
|
|
797
|
-
* "CSM_ST_CUBIC"
|
|
798
|
-
* "CSM_ST_POISSON16"
|
|
799
|
-
* "CSM_ST_SOFT8"
|
|
800
|
-
* "CSM_ST_SOFT16"
|
|
801
|
-
* "CSM_ST_SOFT32"
|
|
802
|
-
* "CSM_ST_DITHER16_RPDB"
|
|
803
|
-
* "CSM_ST_POISSON16_RPDB_GNORM"
|
|
804
|
-
* "CSM_ST_HIGHRES_BOX4x4"
|
|
805
|
-
* "CSM_ST_ESM"
|
|
806
|
-
*
|
|
807
|
-
* @param type
|
|
808
|
-
*/
|
|
809
|
-
static cascadeShadowsSetShadowSampleType(type: string | null): void {
|
|
810
|
-
inv<void>('0xCE4774E0F9AD48D1', type);
|
|
811
|
-
}
|
|
812
|
-
|
|
813
|
-
/**
|
|
814
|
-
* @param p0
|
|
815
|
-
*/
|
|
816
|
-
static N_0x519928DF02EB5101(p0: any): void {
|
|
817
|
-
inv<void>('0x519928DF02EB5101', p0);
|
|
818
|
-
}
|
|
819
|
-
|
|
820
|
-
/**
|
|
821
|
-
* Gets set to 1 when GET_STATUS_OF_TAKE_HIGH_QUALITY_PHOTO = PHOTO_OPERATION_SUCCEEDED
|
|
822
|
-
*
|
|
823
|
-
* @param p0
|
|
824
|
-
*/
|
|
825
|
-
static N_0x0D5B19C34068FEE7(p0: any): void {
|
|
826
|
-
inv<void>('0x0D5B19C34068FEE7', p0);
|
|
827
|
-
}
|
|
828
|
-
|
|
829
|
-
/**
|
|
830
|
-
* type must be less than or equal to 20
|
|
831
|
-
*
|
|
832
|
-
* @param entity
|
|
833
|
-
* @param type
|
|
834
|
-
*/
|
|
835
|
-
static setLightsTypeForEntity(entity: Entity, type: number): void {
|
|
836
|
-
inv<void>('0xAB72C67163DC4DB4', entity.handle, type);
|
|
837
|
-
}
|
|
838
|
-
|
|
839
|
-
/**
|
|
840
|
-
* @param p0
|
|
841
|
-
* @param p1
|
|
842
|
-
* @param p2
|
|
843
|
-
* @param p3
|
|
844
|
-
*/
|
|
845
|
-
static N_0xD543487A1F12828F(p0: any, p1: any, p2: any, p3: any): void {
|
|
846
|
-
inv<void>('0xD543487A1F12828F', p0, p1, p2, p3);
|
|
847
|
-
}
|
|
848
|
-
|
|
849
664
|
/**
|
|
850
665
|
* Returns proxyInteriorIndex
|
|
851
666
|
*
|
|
@@ -888,7 +703,7 @@ export class Graphics {
|
|
|
888
703
|
* @returns
|
|
889
704
|
*/
|
|
890
705
|
static isPhotoFrame(): boolean {
|
|
891
|
-
return inv<boolean>('0x86076AE35CBBE55F', rai());
|
|
706
|
+
return !!inv<boolean>('0x86076AE35CBBE55F', rai());
|
|
892
707
|
}
|
|
893
708
|
|
|
894
709
|
/**
|
|
@@ -913,7 +728,7 @@ export class Graphics {
|
|
|
913
728
|
* @returns
|
|
914
729
|
*/
|
|
915
730
|
static animpostfxIsRunning(effectName: string | null): boolean {
|
|
916
|
-
return inv<boolean>('0x4A123E85D7C4CA0B', effectName, rai());
|
|
731
|
+
return !!inv<boolean>('0x4A123E85D7C4CA0B', effectName, rai());
|
|
917
732
|
}
|
|
918
733
|
|
|
919
734
|
/**
|
|
@@ -935,7 +750,7 @@ export class Graphics {
|
|
|
935
750
|
* @returns
|
|
936
751
|
*/
|
|
937
752
|
static N_0xE75CDDEBF618C8FF(effectNameHash: string | number): boolean {
|
|
938
|
-
return inv<boolean>('0xE75CDDEBF618C8FF', _h(effectNameHash), rai());
|
|
753
|
+
return !!inv<boolean>('0xE75CDDEBF618C8FF', _h(effectNameHash), rai());
|
|
939
754
|
}
|
|
940
755
|
|
|
941
756
|
/**
|
|
@@ -981,7 +796,7 @@ export class Graphics {
|
|
|
981
796
|
* @returns
|
|
982
797
|
*/
|
|
983
798
|
static beginCreateLowQualityCopyOfPhoto(p0: number): boolean {
|
|
984
|
-
return inv<boolean>('0x494A9874F17A7D50', p0, rai());
|
|
799
|
+
return !!inv<boolean>('0x494A9874F17A7D50', p0, rai());
|
|
985
800
|
}
|
|
986
801
|
|
|
987
802
|
/**
|
|
@@ -999,125 +814,134 @@ export class Graphics {
|
|
|
999
814
|
return inv<number>('0x4C11CCACB7C02B6E', checkpoint);
|
|
1000
815
|
}
|
|
1001
816
|
|
|
1002
|
-
static N_0xEC3F7F24EEEB3BA3(): void {
|
|
1003
|
-
inv<void>('0xEC3F7F24EEEB3BA3');
|
|
1004
|
-
}
|
|
1005
|
-
|
|
1006
817
|
/**
|
|
1007
|
-
*
|
|
818
|
+
* Creates blood pools for the given ped in some interval for a few seconds.
|
|
1008
819
|
*
|
|
1009
|
-
* @param
|
|
820
|
+
* @param ped
|
|
1010
821
|
*/
|
|
1011
|
-
static
|
|
1012
|
-
inv<void>('
|
|
1013
|
-
}
|
|
1014
|
-
|
|
1015
|
-
static freeMemoryForLowQualityPhoto(): void {
|
|
1016
|
-
inv<void>('0x614682E715ADBAAC');
|
|
822
|
+
static addBloodPoolsForPed(ped: Ped): void {
|
|
823
|
+
inv<void>('0xDFCE8CE9F3EBE93F', ped.handle);
|
|
1017
824
|
}
|
|
1018
825
|
|
|
1019
|
-
|
|
1020
|
-
|
|
826
|
+
/**
|
|
827
|
+
* @param texture
|
|
828
|
+
* @param ped
|
|
829
|
+
* @param playerSlot
|
|
830
|
+
* @returns
|
|
831
|
+
*/
|
|
832
|
+
static pedshotGeneratePersonaPhoto(texture: string | null, ped: Ped, playerSlot: number): boolean {
|
|
833
|
+
return !!inv<boolean>('0xD9C24F53631F2372', texture, ped.handle, playerSlot, rai());
|
|
1021
834
|
}
|
|
1022
835
|
|
|
1023
|
-
|
|
1024
|
-
|
|
836
|
+
/**
|
|
837
|
+
* @returns
|
|
838
|
+
*/
|
|
839
|
+
static queueOperationToCreateSortedListOfPhotos(): any {
|
|
840
|
+
return inv<number>('0xA42EDF1E88734A7E');
|
|
1025
841
|
}
|
|
1026
842
|
|
|
1027
843
|
/**
|
|
1028
|
-
*
|
|
844
|
+
* @param p0
|
|
1029
845
|
*/
|
|
1030
|
-
static
|
|
1031
|
-
inv<void>('
|
|
846
|
+
static setRegionPhotoTakenStat(p0: string | null): void {
|
|
847
|
+
inv<void>('0xD1031B83AC093BC7', p0);
|
|
1032
848
|
}
|
|
1033
849
|
|
|
1034
850
|
/**
|
|
1035
851
|
* @param effectName
|
|
1036
852
|
*/
|
|
1037
|
-
static
|
|
1038
|
-
inv<void>('
|
|
853
|
+
static animpostfxSetToUnload(effectName: string | null): void {
|
|
854
|
+
inv<void>('0x37D7BDBA89F13959', effectName);
|
|
1039
855
|
}
|
|
1040
856
|
|
|
1041
857
|
/**
|
|
1042
|
-
* @param
|
|
858
|
+
* @param proxyInteriorIndex
|
|
859
|
+
* @returns
|
|
1043
860
|
*/
|
|
1044
|
-
static
|
|
1045
|
-
inv<
|
|
861
|
+
static isProxyInteriorIndexArtificialLightsEnabled(proxyInteriorIndex: number): any {
|
|
862
|
+
return inv<number>('0x113857D66A9CABE6', proxyInteriorIndex);
|
|
1046
863
|
}
|
|
1047
864
|
|
|
1048
865
|
/**
|
|
1049
|
-
* @param
|
|
1050
|
-
* @param p1
|
|
1051
|
-
* @param color
|
|
1052
|
-
* @param alpha
|
|
866
|
+
* @param p0
|
|
1053
867
|
*/
|
|
1054
|
-
static
|
|
1055
|
-
inv<void>('
|
|
868
|
+
static setPhotoInPhotomodeStat(p0: boolean): void {
|
|
869
|
+
inv<void>('0xFA91736933AB3D93', p0);
|
|
1056
870
|
}
|
|
1057
871
|
|
|
1058
872
|
/**
|
|
1059
|
-
* @param
|
|
1060
|
-
* @param
|
|
873
|
+
* @param entity
|
|
874
|
+
* @param intensity
|
|
1061
875
|
*/
|
|
1062
|
-
static
|
|
1063
|
-
inv<void>('
|
|
876
|
+
static setLightsIntensityForEntity(entity: Entity, intensity: number): void {
|
|
877
|
+
inv<void>('0x07C0F87AAC57F2E4', entity.handle, f(intensity));
|
|
1064
878
|
}
|
|
1065
879
|
|
|
1066
880
|
/**
|
|
1067
|
-
* @param
|
|
1068
|
-
* @param allow
|
|
881
|
+
* @param entity
|
|
1069
882
|
*/
|
|
1070
|
-
static
|
|
1071
|
-
inv<void>('
|
|
883
|
+
static updateLightsOnEntity(entity: Entity): void {
|
|
884
|
+
inv<void>('0xBDBACB52A03CC760', entity.handle);
|
|
1072
885
|
}
|
|
1073
886
|
|
|
1074
|
-
|
|
1075
|
-
|
|
887
|
+
/**
|
|
888
|
+
* @returns
|
|
889
|
+
*/
|
|
890
|
+
static getStatusOfTakeHighQualityPhoto(): number {
|
|
891
|
+
return inv<number>('0x4A3DA74C3CCB1725', rai());
|
|
1076
892
|
}
|
|
1077
893
|
|
|
1078
894
|
/**
|
|
1079
|
-
* Returns veg modifier handle
|
|
1080
|
-
*
|
|
1081
|
-
* @param pos
|
|
1082
|
-
* @param radius
|
|
1083
|
-
* @param modType
|
|
1084
|
-
* @param flags
|
|
1085
|
-
* @param p6
|
|
1086
895
|
* @returns
|
|
1087
896
|
*/
|
|
1088
|
-
static
|
|
1089
|
-
return inv<number>('
|
|
897
|
+
static N_0x285438C26C732F9D(): any {
|
|
898
|
+
return inv<number>('0x285438C26C732F9D');
|
|
1090
899
|
}
|
|
1091
900
|
|
|
1092
901
|
/**
|
|
1093
|
-
*
|
|
902
|
+
* Sets a flag defining whether or not script draw commands should continue being drawn behind the pause menu. This is usually used for draw commands that are used with a world render target.
|
|
1094
903
|
*
|
|
904
|
+
* @param toggle
|
|
905
|
+
*/
|
|
906
|
+
static setScriptGfxDrawBehindPausemenu(toggle: boolean): void {
|
|
907
|
+
inv<void>('0x906B86E6D7896B9E', toggle);
|
|
908
|
+
}
|
|
909
|
+
|
|
910
|
+
/**
|
|
1095
911
|
* @param p0
|
|
1096
|
-
* @param pos
|
|
1097
|
-
* @param p4
|
|
1098
|
-
* @param p5
|
|
1099
|
-
* @param heading
|
|
1100
|
-
* @returns
|
|
1101
912
|
*/
|
|
1102
|
-
static
|
|
1103
|
-
|
|
913
|
+
static setDistrictPhotoTakenStat(p0: string | null): void {
|
|
914
|
+
inv<void>('0x9937FACBBF267244', p0);
|
|
1104
915
|
}
|
|
1105
916
|
|
|
1106
917
|
/**
|
|
918
|
+
* @param effectName
|
|
919
|
+
* @param ped
|
|
920
|
+
* @param offset
|
|
921
|
+
* @param rot
|
|
922
|
+
* @param boneIndex
|
|
923
|
+
* @param scale
|
|
924
|
+
* @param xAxis
|
|
925
|
+
* @param yAxis
|
|
926
|
+
* @param zAxis
|
|
1107
927
|
* @returns
|
|
1108
928
|
*/
|
|
1109
|
-
static
|
|
1110
|
-
return inv<number>('
|
|
929
|
+
static startParticleFxLoopedOnPedBone(effectName: string | null, ped: Ped, offset: Vector3, rot: Vector3, boneIndex: number, scale: number, xAxis: boolean, yAxis: boolean, zAxis: boolean): number {
|
|
930
|
+
return inv<number>('0xE689C1B1432BB8AF', effectName, ped.handle, f(offset.x), f(offset.y), f(offset.z), f(rot.x), f(rot.y), f(rot.z), boneIndex, f(scale), xAxis, yAxis, zAxis, rai());
|
|
1111
931
|
}
|
|
1112
932
|
|
|
1113
933
|
/**
|
|
1114
|
-
*
|
|
1115
|
-
*
|
|
1116
|
-
* @param proxyInteriorIndex
|
|
1117
|
-
* @param state
|
|
934
|
+
* @param p0
|
|
1118
935
|
*/
|
|
1119
|
-
static
|
|
1120
|
-
inv<void>('
|
|
936
|
+
static setPhotoStudioStat(p0: number): void {
|
|
937
|
+
inv<void>('0x8E6AFF353C09652E', p0);
|
|
938
|
+
}
|
|
939
|
+
|
|
940
|
+
/**
|
|
941
|
+
* @param effectName
|
|
942
|
+
*/
|
|
943
|
+
static animpostfxStop(effectName: string | null): void {
|
|
944
|
+
inv<void>('0xB4FD7446BAB2F394', effectName);
|
|
1121
945
|
}
|
|
1122
946
|
|
|
1123
947
|
/**
|
|
@@ -1239,7 +1063,7 @@ export class Graphics {
|
|
|
1239
1063
|
* @returns
|
|
1240
1064
|
*/
|
|
1241
1065
|
static isTvshowCurrentlyPlaying(videoCliphash: string | number): boolean {
|
|
1242
|
-
return inv<boolean>('0x4D562223E0EB65F3', _h(videoCliphash), rai());
|
|
1066
|
+
return !!inv<boolean>('0x4D562223E0EB65F3', _h(videoCliphash), rai());
|
|
1243
1067
|
}
|
|
1244
1068
|
|
|
1245
1069
|
/**
|
|
@@ -1522,7 +1346,7 @@ export class Graphics {
|
|
|
1522
1346
|
* @returns
|
|
1523
1347
|
*/
|
|
1524
1348
|
static N_0xFF584F097C17FA8F(): boolean {
|
|
1525
|
-
return inv<boolean>('0xFF584F097C17FA8F', rai());
|
|
1349
|
+
return !!inv<boolean>('0xFF584F097C17FA8F', rai());
|
|
1526
1350
|
}
|
|
1527
1351
|
|
|
1528
1352
|
/**
|
|
@@ -1624,86 +1448,251 @@ export class Graphics {
|
|
|
1624
1448
|
inv<void>('0x48FE0DB54045B975', p0, p1, p2, p3, p4, p5, p6);
|
|
1625
1449
|
}
|
|
1626
1450
|
|
|
1627
|
-
static cascadeShadowsClearShadowSampleType(): void {
|
|
1628
|
-
inv<void>('0xF7C29D7C12C36F03');
|
|
1451
|
+
static cascadeShadowsClearShadowSampleType(): void {
|
|
1452
|
+
inv<void>('0xF7C29D7C12C36F03');
|
|
1453
|
+
}
|
|
1454
|
+
|
|
1455
|
+
/**
|
|
1456
|
+
* Draws a rectangle on the screen. -x: The relative X point of the center of the rectangle. (0.0-1.0, 0.0 is the left edge of the screen, 1.0 is the right edge of the screen) -y: The relative Y point of the center of the rectangle. (0.0-1.0, 0.0 is the top edge of the screen, 1.0 is the bottom edge of the screen) -width: The relative width of the rectangle. (0.0-1.0, 1.0 means the whole screen width) -height: The relative height of the rectangle. (0.0-1.0, 1.0 means the whole screen height) -R: Red part of the color. (0-255) -G: Green part of the color. (0-255) -B: Blue part of the color. (0-255) -A: Alpha part of the color. (0-255, 0 means totally transparent, 255 means totally opaque)
|
|
1457
|
+
*
|
|
1458
|
+
* @param x
|
|
1459
|
+
* @param y
|
|
1460
|
+
* @param width
|
|
1461
|
+
* @param height
|
|
1462
|
+
* @param color
|
|
1463
|
+
* @param alpha
|
|
1464
|
+
* @param p8
|
|
1465
|
+
* @param p9
|
|
1466
|
+
*/
|
|
1467
|
+
static drawRect(x: number, y: number, width: number, height: number, color: Color, alpha: number, p8: boolean, p9: boolean): void {
|
|
1468
|
+
inv<void>('0x405224591DF02025', f(x), f(y), f(width), f(height), color.r, color.g, color.b, color.a, alpha, p8, p9);
|
|
1469
|
+
}
|
|
1470
|
+
|
|
1471
|
+
/**
|
|
1472
|
+
* @param tvChannel
|
|
1473
|
+
* @param playlistName
|
|
1474
|
+
* @param restart
|
|
1475
|
+
*/
|
|
1476
|
+
static setTvChannelPlaylist(tvChannel: number, playlistName: string | null, restart: boolean): void {
|
|
1477
|
+
inv<void>('0xDEC6B25F5DC8925B', tvChannel, playlistName, restart);
|
|
1478
|
+
}
|
|
1479
|
+
|
|
1480
|
+
/**
|
|
1481
|
+
* @param checkpoint
|
|
1482
|
+
*/
|
|
1483
|
+
static deleteCheckpoint(checkpoint: number): void {
|
|
1484
|
+
inv<void>('0x0DED5B0C8EBAAE12', checkpoint);
|
|
1485
|
+
}
|
|
1486
|
+
|
|
1487
|
+
/**
|
|
1488
|
+
* *DISABLE**
|
|
1489
|
+
*
|
|
1490
|
+
* @param p0
|
|
1491
|
+
*/
|
|
1492
|
+
static N_0xFB680A9B33D0EDBE(p0: boolean): void {
|
|
1493
|
+
inv<void>('0xFB680A9B33D0EDBE', p0);
|
|
1494
|
+
}
|
|
1495
|
+
|
|
1496
|
+
/**
|
|
1497
|
+
* @returns
|
|
1498
|
+
*/
|
|
1499
|
+
static N_0xC28F62AC9774FC1B(): any {
|
|
1500
|
+
return inv<number>('0xC28F62AC9774FC1B');
|
|
1501
|
+
}
|
|
1502
|
+
|
|
1503
|
+
/**
|
|
1504
|
+
* @param p1
|
|
1505
|
+
* @param p2
|
|
1506
|
+
* @param p3
|
|
1507
|
+
* @returns p0
|
|
1508
|
+
*/
|
|
1509
|
+
static loadMissionCreatorPhoto(p1: any, p2: any, p3: any): [boolean, number] {
|
|
1510
|
+
const result = inv<[boolean, number]>('0x84F0BA7462FF8D58', pvi(), p1, p2, p3, rai());
|
|
1511
|
+
return [!!result[0], result[1]];
|
|
1512
|
+
}
|
|
1513
|
+
|
|
1514
|
+
/**
|
|
1515
|
+
* @param entity
|
|
1516
|
+
* @returns layer0; layer1; layer2; layer3
|
|
1517
|
+
*/
|
|
1518
|
+
static getEntityMaskLayers(entity: Entity): [boolean, number, number, number, number] {
|
|
1519
|
+
const result = inv<[boolean, number, number, number, number]>('0xE8A8378BF651079C', entity.handle, pvf(), pvf(), pvf(), pvf(), rai());
|
|
1520
|
+
return [!!result[0], result[1], result[2], result[3], result[4]];
|
|
1521
|
+
}
|
|
1522
|
+
|
|
1523
|
+
/**
|
|
1524
|
+
* @param ped
|
|
1525
|
+
* @param p1
|
|
1526
|
+
* @param size
|
|
1527
|
+
* @param p3
|
|
1528
|
+
*/
|
|
1529
|
+
static addBloodPoolsForPedWithParams(ped: Ped, p1: number, size: number, p3: number): void {
|
|
1530
|
+
inv<void>('0xC349EE1E6EFA494B', ped.handle, f(p1), f(size), f(p3));
|
|
1531
|
+
}
|
|
1532
|
+
|
|
1533
|
+
/**
|
|
1534
|
+
* Only used in guama1 R* SP Script while spawning the ship
|
|
1535
|
+
* *SET_ENTITY_QUATERNION** - SET_ENTITY_RENDER_*
|
|
1536
|
+
*
|
|
1537
|
+
* @param vehicle
|
|
1538
|
+
* @param toggle
|
|
1539
|
+
*/
|
|
1540
|
+
static setEntityRenderGuarmaShip(vehicle: Vehicle, toggle: boolean): void {
|
|
1541
|
+
inv<void>('0xC38B4952B728397A', vehicle.handle, toggle);
|
|
1542
|
+
}
|
|
1543
|
+
|
|
1544
|
+
/**
|
|
1545
|
+
* @param effectName
|
|
1546
|
+
* @param entity
|
|
1547
|
+
* @param offset
|
|
1548
|
+
* @param rot
|
|
1549
|
+
* @param scale
|
|
1550
|
+
* @param axisX
|
|
1551
|
+
* @param axisY
|
|
1552
|
+
* @param axisZ
|
|
1553
|
+
* @returns
|
|
1554
|
+
*/
|
|
1555
|
+
static startNetworkedParticleFxNonLoopedOnEntity(effectName: string | null, entity: Entity, offset: Vector3, rot: Vector3, scale: number, axisX: boolean, axisY: boolean, axisZ: boolean): boolean {
|
|
1556
|
+
return !!inv<boolean>('0xE6CFE43937061143', effectName, entity.handle, f(offset.x), f(offset.y), f(offset.z), f(rot.x), f(rot.y), f(rot.z), f(scale), axisX, axisY, axisZ, rai());
|
|
1557
|
+
}
|
|
1558
|
+
|
|
1559
|
+
/**
|
|
1560
|
+
* @param lock
|
|
1561
|
+
*/
|
|
1562
|
+
static setPhotoModeExposureLocked(lock: boolean): void {
|
|
1563
|
+
inv<void>('0x5CD6A2CCE5087161', lock);
|
|
1564
|
+
}
|
|
1565
|
+
|
|
1566
|
+
static N_0x815653A42C5ABE76(): void {
|
|
1567
|
+
inv<void>('0x815653A42C5ABE76');
|
|
1568
|
+
}
|
|
1569
|
+
|
|
1570
|
+
/**
|
|
1571
|
+
* @param effectName
|
|
1572
|
+
* @returns
|
|
1573
|
+
*/
|
|
1574
|
+
static animpostfxIsTagPlaying(effectName: string | null): any {
|
|
1575
|
+
return inv<number>('0x2D4F9C852CE8A253', effectName);
|
|
1576
|
+
}
|
|
1577
|
+
|
|
1578
|
+
/**
|
|
1579
|
+
* enum class eSnowCoverageType
|
|
1580
|
+
* {
|
|
1581
|
+
* Primary,
|
|
1582
|
+
* Secondary,
|
|
1583
|
+
* Xmas,
|
|
1584
|
+
* XmasSecondary // since b1232
|
|
1585
|
+
* };
|
|
1586
|
+
*
|
|
1587
|
+
* @param type
|
|
1588
|
+
*/
|
|
1589
|
+
static setSnowCoverageType(type: number): void {
|
|
1590
|
+
inv<void>('0xF02A9C330BBFC5C7', type);
|
|
1591
|
+
}
|
|
1592
|
+
|
|
1593
|
+
/**
|
|
1594
|
+
* @param effectNameHash
|
|
1595
|
+
*/
|
|
1596
|
+
static animpostfxPlayTag(effectNameHash: string | number): void {
|
|
1597
|
+
inv<void>('0x9B8D5D4CB8AF58B3', _h(effectNameHash));
|
|
1629
1598
|
}
|
|
1630
1599
|
|
|
1631
1600
|
/**
|
|
1632
|
-
*
|
|
1633
|
-
*
|
|
1634
|
-
* @param x
|
|
1635
|
-
* @param y
|
|
1636
|
-
* @param width
|
|
1637
|
-
* @param height
|
|
1638
|
-
* @param color
|
|
1639
|
-
* @param alpha
|
|
1640
|
-
* @param p8
|
|
1641
|
-
* @param p9
|
|
1601
|
+
* @param pickupObject
|
|
1602
|
+
* @param toggle
|
|
1642
1603
|
*/
|
|
1643
|
-
static
|
|
1644
|
-
inv<void>('
|
|
1604
|
+
static blockPickupObjectLight(pickupObject: Prop, toggle: boolean): void {
|
|
1605
|
+
inv<void>('0x50C14328119E1DD1', pickupObject.handle, toggle);
|
|
1645
1606
|
}
|
|
1646
1607
|
|
|
1647
1608
|
/**
|
|
1648
|
-
* @param
|
|
1649
|
-
* @param
|
|
1650
|
-
* @param
|
|
1609
|
+
* @param effectName
|
|
1610
|
+
* @param entity
|
|
1611
|
+
* @param offset
|
|
1612
|
+
* @param rot
|
|
1613
|
+
* @param scale
|
|
1614
|
+
* @param xAxis
|
|
1615
|
+
* @param yAxis
|
|
1616
|
+
* @param zAxis
|
|
1617
|
+
* @returns
|
|
1651
1618
|
*/
|
|
1652
|
-
static
|
|
1653
|
-
inv<
|
|
1619
|
+
static startNetworkedParticleFxLoopedOnEntity(effectName: string | null, entity: Entity, offset: Vector3, rot: Vector3, scale: number, xAxis: boolean, yAxis: boolean, zAxis: boolean): number {
|
|
1620
|
+
return inv<number>('0x8F90AB32E1944BDE', effectName, entity.handle, f(offset.x), f(offset.y), f(offset.z), f(rot.x), f(rot.y), f(rot.z), f(scale), xAxis, yAxis, zAxis, rai());
|
|
1654
1621
|
}
|
|
1655
1622
|
|
|
1656
1623
|
/**
|
|
1657
|
-
* @param
|
|
1624
|
+
* @param pos
|
|
1625
|
+
* @param radius
|
|
1658
1626
|
*/
|
|
1659
|
-
static
|
|
1660
|
-
inv<void>('
|
|
1627
|
+
static removeParticleFxInRange(pos: Vector3, radius: number): void {
|
|
1628
|
+
inv<void>('0x87B5905ECA623B68', f(pos.x), f(pos.y), f(pos.z), f(radius));
|
|
1661
1629
|
}
|
|
1662
1630
|
|
|
1663
1631
|
/**
|
|
1664
|
-
*
|
|
1632
|
+
* https://github.com/femga/rdr3_discoveries/blob/master/graphics/ptfx/ptfx_assets_looped.lua
|
|
1665
1633
|
*
|
|
1666
|
-
* @param
|
|
1634
|
+
* @param effectName
|
|
1635
|
+
* @param pos
|
|
1636
|
+
* @param rot
|
|
1637
|
+
* @param scale
|
|
1638
|
+
* @param xAxis
|
|
1639
|
+
* @param yAxis
|
|
1640
|
+
* @param zAxis
|
|
1641
|
+
* @param p11
|
|
1642
|
+
* @returns
|
|
1667
1643
|
*/
|
|
1668
|
-
static
|
|
1669
|
-
inv<
|
|
1644
|
+
static startParticleFxLoopedAtCoord(effectName: string | null, pos: Vector3, rot: Vector3, scale: number, xAxis: boolean, yAxis: boolean, zAxis: boolean, p11: boolean): number {
|
|
1645
|
+
return inv<number>('0xBA32867E86125D3A', effectName, f(pos.x), f(pos.y), f(pos.z), f(rot.x), f(rot.y), f(rot.z), f(scale), xAxis, yAxis, zAxis, p11, rai());
|
|
1670
1646
|
}
|
|
1671
1647
|
|
|
1672
1648
|
/**
|
|
1673
1649
|
* @returns
|
|
1674
1650
|
*/
|
|
1675
|
-
static
|
|
1676
|
-
return inv<number>('
|
|
1651
|
+
static getTimecycleModifierIndex(): number {
|
|
1652
|
+
return inv<number>('0xA705394293E2B3D3', rai());
|
|
1653
|
+
}
|
|
1654
|
+
|
|
1655
|
+
/**
|
|
1656
|
+
* nullsub, doesn't do anything
|
|
1657
|
+
*
|
|
1658
|
+
* @param toggle
|
|
1659
|
+
*/
|
|
1660
|
+
static enableMovieSubtitles(toggle: boolean): void {
|
|
1661
|
+
inv<void>('0x6FC9B065229C0787', toggle);
|
|
1677
1662
|
}
|
|
1678
1663
|
|
|
1679
1664
|
/**
|
|
1665
|
+
* @param p0
|
|
1680
1666
|
* @param p1
|
|
1681
1667
|
* @param p2
|
|
1682
1668
|
* @param p3
|
|
1683
|
-
* @
|
|
1669
|
+
* @param p4
|
|
1684
1670
|
*/
|
|
1685
|
-
static
|
|
1686
|
-
|
|
1687
|
-
return [!!result[0], result[1]];
|
|
1671
|
+
static N_0x171C18E994C1A395(p0: any, p1: any, p2: any, p3: any, p4: any): void {
|
|
1672
|
+
inv<void>('0x171C18E994C1A395', p0, p1, p2, p3, p4);
|
|
1688
1673
|
}
|
|
1689
1674
|
|
|
1690
1675
|
/**
|
|
1691
|
-
*
|
|
1692
|
-
*
|
|
1676
|
+
* Doesn't actually return anything. ANIMPOSTFX_*
|
|
1677
|
+
*
|
|
1678
|
+
* @returns
|
|
1693
1679
|
*/
|
|
1694
|
-
static
|
|
1695
|
-
|
|
1696
|
-
return [!!result[0], result[1], result[2], result[3], result[4]];
|
|
1680
|
+
static N_0xC37792A3F9C90771(): any {
|
|
1681
|
+
return inv<number>('0xC37792A3F9C90771');
|
|
1697
1682
|
}
|
|
1698
1683
|
|
|
1699
1684
|
/**
|
|
1700
|
-
*
|
|
1685
|
+
* Adds Vegetation Blocking Zone, Added Snow Flattening veg mod Zone
|
|
1686
|
+
* Returns veg modifier handle
|
|
1687
|
+
*
|
|
1688
|
+
* @param volume
|
|
1701
1689
|
* @param p1
|
|
1702
|
-
* @param
|
|
1690
|
+
* @param flags
|
|
1703
1691
|
* @param p3
|
|
1692
|
+
* @returns
|
|
1704
1693
|
*/
|
|
1705
|
-
static
|
|
1706
|
-
inv<
|
|
1694
|
+
static addVegModifierZone(volume: Volume, p1: number, flags: number, p3: number): number {
|
|
1695
|
+
return inv<number>('0xBD3324281E8B9933', volume.handle, p1, flags, p3, rai());
|
|
1707
1696
|
}
|
|
1708
1697
|
|
|
1709
1698
|
/**
|
|
@@ -1896,7 +1885,7 @@ export class Graphics {
|
|
|
1896
1885
|
* @returns
|
|
1897
1886
|
*/
|
|
1898
1887
|
static N_0xFD05B1DDE83749FA(p0: string | null): boolean {
|
|
1899
|
-
return inv<boolean>('0xFD05B1DDE83749FA', p0, rai());
|
|
1888
|
+
return !!inv<boolean>('0xFD05B1DDE83749FA', p0, rai());
|
|
1900
1889
|
}
|
|
1901
1890
|
|
|
1902
1891
|
/**
|
|
@@ -1911,7 +1900,7 @@ export class Graphics {
|
|
|
1911
1900
|
* @returns
|
|
1912
1901
|
*/
|
|
1913
1902
|
static doesParticleFxLoopedExist(ptfxHandle: number): boolean {
|
|
1914
|
-
return inv<boolean>('0x9DD5AFF561E88F2A', ptfxHandle, rai());
|
|
1903
|
+
return !!inv<boolean>('0x9DD5AFF561E88F2A', ptfxHandle, rai());
|
|
1915
1904
|
}
|
|
1916
1905
|
|
|
1917
1906
|
/**
|
|
@@ -1926,14 +1915,14 @@ export class Graphics {
|
|
|
1926
1915
|
* @returns
|
|
1927
1916
|
*/
|
|
1928
1917
|
static startParticleFxNonLoopedOnEntity(effectName: string | null, entity: Entity, offset: Vector3, rot: Vector3, scale: number, axisX: boolean, axisY: boolean, axisZ: boolean): boolean {
|
|
1929
|
-
return inv<boolean>('0xFF4C64C513388C12', effectName, entity.handle, f(offset.x), f(offset.y), f(offset.z), f(rot.x), f(rot.y), f(rot.z), f(scale), axisX, axisY, axisZ, rai());
|
|
1918
|
+
return !!inv<boolean>('0xFF4C64C513388C12', effectName, entity.handle, f(offset.x), f(offset.y), f(offset.z), f(rot.x), f(rot.y), f(rot.z), f(scale), axisX, axisY, axisZ, rai());
|
|
1930
1919
|
}
|
|
1931
1920
|
|
|
1932
1921
|
/**
|
|
1933
1922
|
* @returns
|
|
1934
1923
|
*/
|
|
1935
1924
|
static getTogglePausedRenderphasesStatus(): boolean {
|
|
1936
|
-
return inv<boolean>('0x86ED21BDB2791CE8', rai());
|
|
1925
|
+
return !!inv<boolean>('0x86ED21BDB2791CE8', rai());
|
|
1937
1926
|
}
|
|
1938
1927
|
|
|
1939
1928
|
/**
|
|
@@ -1985,7 +1974,7 @@ export class Graphics {
|
|
|
1985
1974
|
* @returns
|
|
1986
1975
|
*/
|
|
1987
1976
|
static N_0xB958D97A0DFAA0C2(effectName: string | null): boolean {
|
|
1988
|
-
return inv<boolean>('0xB958D97A0DFAA0C2', effectName, rai());
|
|
1977
|
+
return !!inv<boolean>('0xB958D97A0DFAA0C2', effectName, rai());
|
|
1989
1978
|
}
|
|
1990
1979
|
|
|
1991
1980
|
/**
|
|
@@ -2124,7 +2113,7 @@ export class Graphics {
|
|
|
2124
2113
|
* @returns
|
|
2125
2114
|
*/
|
|
2126
2115
|
static startParticleFxNonLoopedOnPedBone(effectName: string | null, ped: Ped, offset: Vector3, rot: Vector3, boneIndex: number, scale: number, axisX: boolean, axisY: boolean, axisZ: boolean): boolean {
|
|
2127
|
-
return inv<boolean>('0x3FAA72BD940C3AC0', effectName, ped.handle, f(offset.x), f(offset.y), f(offset.z), f(rot.x), f(rot.y), f(rot.z), boneIndex, f(scale), axisX, axisY, axisZ, rai());
|
|
2116
|
+
return !!inv<boolean>('0x3FAA72BD940C3AC0', effectName, ped.handle, f(offset.x), f(offset.y), f(offset.z), f(rot.x), f(rot.y), f(rot.z), boneIndex, f(scale), axisX, axisY, axisZ, rai());
|
|
2128
2117
|
}
|
|
2129
2118
|
|
|
2130
2119
|
/**
|
|
@@ -2144,130 +2133,141 @@ export class Graphics {
|
|
|
2144
2133
|
inv<void>('0x6C03118E9E5C1A14', p0);
|
|
2145
2134
|
}
|
|
2146
2135
|
|
|
2147
|
-
static resetPausedRenderphases(): void {
|
|
2148
|
-
inv<void>('0xCCD9AAD85E1B559E');
|
|
2149
|
-
}
|
|
2150
|
-
|
|
2151
2136
|
/**
|
|
2152
|
-
*
|
|
2153
|
-
*
|
|
2137
|
+
* https://imgur.com/a/I2swSDJ Old name: _SET_PICKUP_OBJECT_GLOW_ENABLED
|
|
2138
|
+
*
|
|
2139
|
+
* @param object
|
|
2140
|
+
* @param toggle
|
|
2154
2141
|
*/
|
|
2155
|
-
static
|
|
2156
|
-
|
|
2142
|
+
static setPickupLight(object: Prop, toggle: boolean): void {
|
|
2143
|
+
inv<void>('0x7DFB49BCDB73089A', object.handle, toggle);
|
|
2157
2144
|
}
|
|
2158
2145
|
|
|
2159
2146
|
/**
|
|
2160
|
-
* @param
|
|
2161
|
-
* @param p2
|
|
2147
|
+
* @param entity
|
|
2162
2148
|
*/
|
|
2163
|
-
static
|
|
2164
|
-
inv<void>('
|
|
2149
|
+
static removeParticleFxFromEntity(entity: Entity): void {
|
|
2150
|
+
inv<void>('0x92884B4A49D81325', entity.handle);
|
|
2165
2151
|
}
|
|
2166
2152
|
|
|
2167
2153
|
/**
|
|
2168
|
-
* @param
|
|
2169
|
-
* @
|
|
2154
|
+
* @param ptfxHandle
|
|
2155
|
+
* @param p1
|
|
2170
2156
|
*/
|
|
2171
|
-
static
|
|
2172
|
-
|
|
2157
|
+
static stopParticleFxLooped(ptfxHandle: number, p1: boolean): void {
|
|
2158
|
+
inv<void>('0x22970F3A088B133B', ptfxHandle, p1);
|
|
2173
2159
|
}
|
|
2174
2160
|
|
|
2175
2161
|
/**
|
|
2176
|
-
*
|
|
2162
|
+
* p1: AMB_ANN_COAL_CHUTE_DIVE, AMB_ANN_COAL_CHUTE
|
|
2163
|
+
* p2: EMIT
|
|
2164
|
+
* p3: either 0.0f or 1.0f
|
|
2165
|
+
*
|
|
2166
|
+
* @param entity
|
|
2167
|
+
* @param p1
|
|
2168
|
+
* @param p2
|
|
2169
|
+
* @param p3
|
|
2177
2170
|
*/
|
|
2178
|
-
static
|
|
2179
|
-
inv<void>('
|
|
2171
|
+
static N_0x4FB67D172C4476F3(entity: Entity, p1: string | null, p2: string | null, p3: number): void {
|
|
2172
|
+
inv<void>('0x4FB67D172C4476F3', entity.handle, p1, p2, f(p3));
|
|
2180
2173
|
}
|
|
2181
2174
|
|
|
2182
2175
|
/**
|
|
2183
|
-
* @param
|
|
2176
|
+
* @param typeHash
|
|
2177
|
+
* @param pos1
|
|
2178
|
+
* @param pos2
|
|
2179
|
+
* @param radius
|
|
2180
|
+
* @param color
|
|
2181
|
+
* @param alpha
|
|
2182
|
+
* @param reserved
|
|
2183
|
+
* @returns
|
|
2184
2184
|
*/
|
|
2185
|
-
static
|
|
2186
|
-
inv<
|
|
2185
|
+
static createCheckpointWithNamehash(typeHash: string | number, pos1: Vector3, pos2: Vector3, radius: number, color: Color, alpha: number, reserved: number): number {
|
|
2186
|
+
return inv<number>('0x175668836B44CBB0', _h(typeHash), f(pos1.x), f(pos1.y), f(pos1.z), f(pos2.x), f(pos2.y), f(pos2.z), f(radius), color.r, color.g, color.b, color.a, alpha, reserved, rai());
|
|
2187
2187
|
}
|
|
2188
2188
|
|
|
2189
|
-
static
|
|
2190
|
-
inv<void>('
|
|
2189
|
+
static disableEntitymask(): void {
|
|
2190
|
+
inv<void>('0x5C9978A2A3DC3D0D');
|
|
2191
2191
|
}
|
|
2192
2192
|
|
|
2193
|
-
|
|
2194
|
-
|
|
2193
|
+
/**
|
|
2194
|
+
* Returns iNumPixels, iPixelsVisible
|
|
2195
|
+
*
|
|
2196
|
+
* @param iTrackedPoint
|
|
2197
|
+
* @returns
|
|
2198
|
+
*/
|
|
2199
|
+
static N_0xDFE332A5DA6FE7C9(iTrackedPoint: number): number {
|
|
2200
|
+
return inv<number>('0xDFE332A5DA6FE7C9', iTrackedPoint, rai());
|
|
2195
2201
|
}
|
|
2196
2202
|
|
|
2197
2203
|
/**
|
|
2198
|
-
* @param
|
|
2204
|
+
* @param entity
|
|
2205
|
+
* @returns layer0; layer1; layer2; layer3
|
|
2199
2206
|
*/
|
|
2200
|
-
static
|
|
2201
|
-
inv<
|
|
2207
|
+
static setEntityMaskLayers(entity: Entity): [number, number, number, number] {
|
|
2208
|
+
const result = inv<[number, number, number, number]>('0xE92012611461A42A', entity.handle, pvf(), pvf(), pvf(), pvf());
|
|
2209
|
+
return [result[0], result[1], result[2], result[3]];
|
|
2202
2210
|
}
|
|
2203
2211
|
|
|
2204
2212
|
/**
|
|
2205
|
-
* @param
|
|
2213
|
+
* @param point
|
|
2214
|
+
* @returns
|
|
2206
2215
|
*/
|
|
2207
|
-
static
|
|
2208
|
-
inv<
|
|
2216
|
+
static isTrackedPointVisible(point: number): boolean {
|
|
2217
|
+
return !!inv<boolean>('0xCBB056BA159FB48D', point, rai());
|
|
2218
|
+
}
|
|
2219
|
+
|
|
2220
|
+
static clearTimecycleModifier(): void {
|
|
2221
|
+
inv<void>('0x0E3F4AF2D63491FB');
|
|
2209
2222
|
}
|
|
2210
2223
|
|
|
2211
2224
|
/**
|
|
2212
|
-
*
|
|
2213
|
-
*
|
|
2214
|
-
* @param entity
|
|
2225
|
+
* Closes the the binocular scaleform
|
|
2215
2226
|
*/
|
|
2216
|
-
static
|
|
2217
|
-
inv<void>('
|
|
2227
|
+
static N_0x5AC6E0FA028369DE(): void {
|
|
2228
|
+
inv<void>('0x5AC6E0FA028369DE');
|
|
2218
2229
|
}
|
|
2219
2230
|
|
|
2220
2231
|
/**
|
|
2221
|
-
*
|
|
2222
|
-
*
|
|
2223
|
-
* @param
|
|
2224
|
-
* @param scale
|
|
2225
|
-
* @param xAxis
|
|
2226
|
-
* @param yAxis
|
|
2227
|
-
* @param zAxis
|
|
2228
|
-
* @returns
|
|
2232
|
+
* ANIMPOSTFX_*
|
|
2233
|
+
*
|
|
2234
|
+
* @param effectNameHash
|
|
2229
2235
|
*/
|
|
2230
|
-
static
|
|
2231
|
-
|
|
2236
|
+
static N_0xC76FC4C2FC5F4405(effectNameHash: string | number): void {
|
|
2237
|
+
inv<void>('0xC76FC4C2FC5F4405', _h(effectNameHash));
|
|
2232
2238
|
}
|
|
2233
2239
|
|
|
2234
2240
|
/**
|
|
2235
|
-
* @
|
|
2241
|
+
* @param effectName
|
|
2236
2242
|
*/
|
|
2237
|
-
static
|
|
2238
|
-
|
|
2243
|
+
static animpostfxStopTag(effectName: string | null): void {
|
|
2244
|
+
inv<void>('0xAD74C22A541AB987', effectName);
|
|
2239
2245
|
}
|
|
2240
2246
|
|
|
2241
2247
|
/**
|
|
2242
|
-
*
|
|
2243
|
-
*
|
|
2244
|
-
* @param ptfxHandle
|
|
2245
|
-
* @param scalar
|
|
2248
|
+
* Used in CREATE_BEZIER_BLOOD_TRAIL_OF_TYPE
|
|
2249
|
+
* *ENABLE**
|
|
2246
2250
|
*/
|
|
2247
|
-
static
|
|
2248
|
-
inv<void>('
|
|
2251
|
+
static N_0x812C1563185C6FB2(): void {
|
|
2252
|
+
inv<void>('0x812C1563185C6FB2');
|
|
2249
2253
|
}
|
|
2250
2254
|
|
|
2251
2255
|
/**
|
|
2252
|
-
*
|
|
2253
|
-
* MP_Trans_WinLose
|
|
2254
|
-
* SpectateFilter
|
|
2255
|
-
* MP_CharacterCreatorPhoto
|
|
2256
|
-
* MP_Trans_PhotoToScene
|
|
2257
|
-
* InterrogationHit
|
|
2258
|
-
*
|
|
2259
|
-
* @param effectName
|
|
2260
|
-
* @returns
|
|
2256
|
+
* @param posseId
|
|
2261
2257
|
*/
|
|
2262
|
-
static
|
|
2263
|
-
|
|
2258
|
+
static setPosseIdForPhoto(posseId: any): void {
|
|
2259
|
+
inv<void>('0x564837D4A9EDE296', posseId);
|
|
2264
2260
|
}
|
|
2265
2261
|
|
|
2266
2262
|
/**
|
|
2267
|
-
*
|
|
2263
|
+
* Sets the checkpoint color.
|
|
2264
|
+
*
|
|
2265
|
+
* @param checkpoint
|
|
2266
|
+
* @param color
|
|
2267
|
+
* @param alpha
|
|
2268
2268
|
*/
|
|
2269
|
-
static
|
|
2270
|
-
inv<void>('
|
|
2269
|
+
static setCheckpointRgba(checkpoint: number, color: Color, alpha: number): void {
|
|
2270
|
+
inv<void>('0xCAAFC225E33B1D15', checkpoint, color.r, color.g, color.b, color.a, alpha);
|
|
2271
2271
|
}
|
|
2272
2272
|
|
|
2273
2273
|
/**
|