@nativewrappers/redm-codegen 0.0.2 → 0.0.3
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 +142 -142
- package/dist/classes/AnimScene.d.ts.map +1 -1
- package/dist/classes/AnimScene.js +203 -203
- package/dist/classes/BaseModel.d.ts +29 -29
- package/dist/classes/BaseModel.d.ts.map +1 -1
- package/dist/classes/BaseModel.js +43 -43
- package/dist/classes/BaseTask.d.ts +34 -34
- package/dist/classes/BaseTask.d.ts.map +1 -1
- package/dist/classes/BaseTask.js +42 -42
- package/dist/classes/Cam.d.ts +71 -71
- package/dist/classes/Cam.d.ts.map +1 -1
- package/dist/classes/Cam.js +102 -102
- package/dist/classes/Entity.d.ts +387 -386
- package/dist/classes/Entity.d.ts.map +1 -1
- package/dist/classes/Entity.js +509 -504
- package/dist/classes/Interior.d.ts +27 -27
- package/dist/classes/Interior.d.ts.map +1 -1
- package/dist/classes/Interior.js +42 -42
- package/dist/classes/Ped.d.ts +67 -66
- package/dist/classes/Ped.d.ts.map +1 -1
- package/dist/classes/Ped.js +80 -75
- package/dist/classes/PedTask.d.ts +1518 -1518
- package/dist/classes/PedTask.d.ts.map +1 -1
- package/dist/classes/PedTask.js +1930 -1930
- package/dist/classes/PersChar.d.ts +11 -11
- package/dist/classes/PersChar.d.ts.map +1 -1
- package/dist/classes/PersChar.js +23 -23
- package/dist/classes/Pickup.d.ts +7 -7
- package/dist/classes/Pickup.d.ts.map +1 -1
- package/dist/classes/Pickup.js +13 -13
- package/dist/classes/Player.d.ts +237 -237
- package/dist/classes/Player.d.ts.map +1 -1
- package/dist/classes/Player.js +319 -319
- package/dist/classes/Prop.d.ts +105 -104
- package/dist/classes/Prop.d.ts.map +1 -1
- package/dist/classes/Prop.js +155 -150
- package/dist/classes/PropSet.d.ts +1 -1
- package/dist/classes/PropSet.d.ts.map +1 -1
- package/dist/classes/Vehicle.d.ts +1 -0
- package/dist/classes/Vehicle.d.ts.map +1 -1
- package/dist/classes/Vehicle.js +5 -0
- package/dist/classes/VehicleTask.d.ts +21 -21
- package/dist/classes/VehicleTask.d.ts.map +1 -1
- package/dist/classes/VehicleTask.js +27 -27
- package/dist/classes/Volume.d.ts +40 -40
- package/dist/classes/Volume.d.ts.map +1 -1
- package/dist/classes/Volume.js +54 -54
- package/dist/classes/Weapon.d.ts +364 -364
- package/dist/classes/Weapon.d.ts.map +1 -1
- package/dist/classes/Weapon.js +515 -515
- package/dist/namespaces/Aitransport.d.ts +77 -77
- package/dist/namespaces/Aitransport.d.ts.map +1 -1
- package/dist/namespaces/Aitransport.js +94 -94
- package/dist/namespaces/Animscene.d.ts +65 -65
- package/dist/namespaces/Animscene.d.ts.map +1 -1
- package/dist/namespaces/Animscene.js +83 -83
- package/dist/namespaces/Audio.d.ts +464 -464
- package/dist/namespaces/Audio.d.ts.map +1 -1
- package/dist/namespaces/Audio.js +651 -651
- package/dist/namespaces/Bounty.d.ts +23 -23
- package/dist/namespaces/Bounty.d.ts.map +1 -1
- package/dist/namespaces/Bounty.js +40 -40
- package/dist/namespaces/Brain.d.ts +15 -15
- package/dist/namespaces/Brain.d.ts.map +1 -1
- package/dist/namespaces/Brain.js +20 -20
- package/dist/namespaces/CamStatics.d.ts +459 -459
- package/dist/namespaces/CamStatics.d.ts.map +1 -1
- package/dist/namespaces/CamStatics.js +719 -719
- package/dist/namespaces/Collection.d.ts +78 -78
- package/dist/namespaces/Collection.d.ts.map +1 -1
- package/dist/namespaces/Collection.js +109 -109
- 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/Compendium.d.ts +94 -94
- package/dist/namespaces/Compendium.d.ts.map +1 -1
- package/dist/namespaces/Compendium.js +126 -126
- package/dist/namespaces/Databinding.d.ts +113 -113
- package/dist/namespaces/Databinding.d.ts.map +1 -1
- package/dist/namespaces/Databinding.js +167 -167
- 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 +164 -164
- package/dist/namespaces/EntityStatics.d.ts.map +1 -1
- package/dist/namespaces/EntityStatics.js +225 -225
- package/dist/namespaces/Event.d.ts +62 -62
- package/dist/namespaces/Event.d.ts.map +1 -1
- package/dist/namespaces/Event.js +82 -82
- package/dist/namespaces/Fire.d.ts +7 -7
- package/dist/namespaces/Fire.d.ts.map +1 -1
- package/dist/namespaces/Fire.js +9 -9
- package/dist/namespaces/Graphics.d.ts +688 -688
- package/dist/namespaces/Graphics.d.ts.map +1 -1
- package/dist/namespaces/Graphics.js +876 -876
- package/dist/namespaces/Hud.d.ts +456 -456
- package/dist/namespaces/Hud.d.ts.map +1 -1
- package/dist/namespaces/Hud.js +598 -598
- package/dist/namespaces/InteriorStatics.d.ts +42 -42
- package/dist/namespaces/InteriorStatics.d.ts.map +1 -1
- package/dist/namespaces/InteriorStatics.js +56 -56
- package/dist/namespaces/Inventory.d.ts +156 -156
- package/dist/namespaces/Inventory.d.ts.map +1 -1
- package/dist/namespaces/Inventory.js +210 -210
- package/dist/namespaces/Itemdatabase.d.ts +3 -3
- package/dist/namespaces/Itemdatabase.d.ts.map +1 -1
- package/dist/namespaces/Law.d.ts +2 -2
- package/dist/namespaces/Law.d.ts.map +1 -1
- package/dist/namespaces/Map.d.ts +128 -128
- package/dist/namespaces/Map.d.ts.map +1 -1
- package/dist/namespaces/Map.js +180 -180
- package/dist/namespaces/Minigame.d.ts +60 -60
- package/dist/namespaces/Minigame.d.ts.map +1 -1
- package/dist/namespaces/Minigame.js +88 -88
- package/dist/namespaces/Misc.d.ts +5 -5
- package/dist/namespaces/Misc.d.ts.map +1 -1
- package/dist/namespaces/Missiondata.d.ts +3 -3
- package/dist/namespaces/Missiondata.d.ts.map +1 -1
- package/dist/namespaces/Netshopping.d.ts +1 -1
- package/dist/namespaces/Netshopping.d.ts.map +1 -1
- package/dist/namespaces/Network.d.ts +1528 -1536
- package/dist/namespaces/Network.d.ts.map +1 -1
- package/dist/namespaces/Network.js +2196 -2204
- package/dist/namespaces/Object.d.ts +244 -244
- package/dist/namespaces/Object.d.ts.map +1 -1
- package/dist/namespaces/Object.js +355 -355
- package/dist/namespaces/Pad.d.ts +43 -43
- package/dist/namespaces/Pad.d.ts.map +1 -1
- package/dist/namespaces/Pad.js +58 -58
- package/dist/namespaces/PedStatics.d.ts +21 -21
- package/dist/namespaces/PedStatics.d.ts.map +1 -1
- package/dist/namespaces/PedStatics.js +26 -26
- package/dist/namespaces/Perschar.d.ts +62 -62
- package/dist/namespaces/Perschar.d.ts.map +1 -1
- package/dist/namespaces/Perschar.js +91 -91
- package/dist/namespaces/Persistence.d.ts +30 -30
- package/dist/namespaces/Persistence.d.ts.map +1 -1
- package/dist/namespaces/Persistence.js +42 -42
- package/dist/namespaces/Physics.d.ts +207 -207
- package/dist/namespaces/Physics.d.ts.map +1 -1
- package/dist/namespaces/Physics.js +310 -310
- package/dist/namespaces/PlayerStatics.d.ts +72 -72
- package/dist/namespaces/PlayerStatics.d.ts.map +1 -1
- package/dist/namespaces/PlayerStatics.js +103 -103
- package/dist/namespaces/Population.d.ts +88 -88
- package/dist/namespaces/Population.d.ts.map +1 -1
- package/dist/namespaces/Population.js +116 -116
- package/dist/namespaces/Posse.d.ts +49 -49
- package/dist/namespaces/Posse.d.ts.map +1 -1
- package/dist/namespaces/Posse.js +79 -79
- package/dist/namespaces/Propset.d.ts +1 -1
- package/dist/namespaces/Propset.d.ts.map +1 -1
- package/dist/namespaces/Scripts.d.ts +3 -3
- package/dist/namespaces/Scripts.d.ts.map +1 -1
- package/dist/namespaces/Shapetest.d.ts +11 -11
- package/dist/namespaces/Shapetest.d.ts.map +1 -1
- package/dist/namespaces/Shapetest.js +13 -13
- package/dist/namespaces/Socialclub.d.ts +1 -1
- package/dist/namespaces/Socialclub.d.ts.map +1 -1
- package/dist/namespaces/Stats.d.ts +174 -174
- package/dist/namespaces/Stats.d.ts.map +1 -1
- package/dist/namespaces/Stats.js +240 -240
- package/dist/namespaces/Streaming.d.ts +127 -127
- package/dist/namespaces/Streaming.d.ts.map +1 -1
- package/dist/namespaces/Streaming.js +193 -193
- package/dist/namespaces/Task.d.ts +220 -220
- package/dist/namespaces/Task.d.ts.map +1 -1
- package/dist/namespaces/Task.js +299 -299
- package/dist/namespaces/Telemetry.d.ts +188 -188
- package/dist/namespaces/Telemetry.d.ts.map +1 -1
- package/dist/namespaces/Telemetry.js +249 -249
- package/dist/namespaces/Uiapps.d.ts +24 -24
- package/dist/namespaces/Uiapps.d.ts.map +1 -1
- package/dist/namespaces/Uiapps.js +33 -33
- 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/VehicleStatics.d.ts +2 -2
- package/dist/namespaces/VehicleStatics.d.ts.map +1 -1
- package/dist/namespaces/VolumeStatics.d.ts +64 -64
- package/dist/namespaces/VolumeStatics.d.ts.map +1 -1
- package/dist/namespaces/VolumeStatics.js +85 -85
- package/dist/namespaces/WeaponStatics.d.ts +262 -262
- package/dist/namespaces/WeaponStatics.d.ts.map +1 -1
- package/dist/namespaces/WeaponStatics.js +361 -361
- package/dist/namespaces/Zone.d.ts +2 -2
- package/dist/namespaces/Zone.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/classes/AnimScene.ts +230 -230
- package/src/classes/BaseModel.ts +50 -50
- package/src/classes/BaseTask.ts +46 -46
- package/src/classes/Cam.ts +113 -113
- package/src/classes/Entity.ts +537 -532
- package/src/classes/Interior.ts +43 -43
- package/src/classes/Ped.ts +100 -95
- package/src/classes/PedTask.ts +1969 -1969
- package/src/classes/PersChar.ts +28 -28
- package/src/classes/Pickup.ts +13 -13
- package/src/classes/Player.ts +364 -364
- package/src/classes/Prop.ts +167 -162
- package/src/classes/PropSet.ts +1 -1
- package/src/classes/Vehicle.ts +5 -0
- package/src/classes/VehicleTask.ts +30 -30
- package/src/classes/Volume.ts +62 -62
- package/src/classes/Weapon.ts +517 -517
- package/src/namespaces/Aitransport.ts +102 -102
- package/src/namespaces/Animscene.ts +92 -92
- package/src/namespaces/Audio.ts +765 -765
- package/src/namespaces/Bounty.ts +46 -46
- package/src/namespaces/Brain.ts +22 -22
- package/src/namespaces/CamStatics.ts +747 -747
- package/src/namespaces/Collection.ts +112 -112
- package/src/namespaces/Companion.ts +34 -34
- package/src/namespaces/Compendium.ts +131 -131
- package/src/namespaces/Databinding.ts +170 -170
- package/src/namespaces/Dlc.ts +9 -9
- package/src/namespaces/EntityStatics.ts +237 -237
- package/src/namespaces/Event.ts +92 -92
- package/src/namespaces/Fire.ts +10 -10
- package/src/namespaces/Graphics.ts +1206 -1206
- package/src/namespaces/Hud.ts +647 -647
- package/src/namespaces/InteriorStatics.ts +66 -66
- package/src/namespaces/Inventory.ts +237 -237
- package/src/namespaces/Itemdatabase.ts +3 -3
- package/src/namespaces/Law.ts +2 -2
- package/src/namespaces/Map.ts +204 -204
- package/src/namespaces/Minigame.ts +100 -100
- package/src/namespaces/Misc.ts +5 -5
- package/src/namespaces/Missiondata.ts +3 -3
- package/src/namespaces/Netshopping.ts +1 -1
- package/src/namespaces/Network.ts +2217 -2225
- package/src/namespaces/Object.ts +381 -381
- package/src/namespaces/Pad.ts +67 -67
- package/src/namespaces/PedStatics.ts +33 -33
- package/src/namespaces/Perschar.ts +105 -105
- package/src/namespaces/Persistence.ts +48 -48
- package/src/namespaces/Physics.ts +326 -326
- package/src/namespaces/PlayerStatics.ts +113 -113
- package/src/namespaces/Population.ts +133 -133
- package/src/namespaces/Posse.ts +80 -80
- package/src/namespaces/Propset.ts +1 -1
- package/src/namespaces/Scripts.ts +3 -3
- package/src/namespaces/Shapetest.ts +14 -14
- package/src/namespaces/Socialclub.ts +1 -1
- package/src/namespaces/Stats.ts +266 -266
- package/src/namespaces/Streaming.ts +226 -226
- package/src/namespaces/Task.ts +527 -527
- package/src/namespaces/Telemetry.ts +300 -300
- package/src/namespaces/Uiapps.ts +39 -39
- package/src/namespaces/Uistickyfeed.ts +23 -23
- package/src/namespaces/VehicleStatics.ts +2 -2
- package/src/namespaces/VolumeStatics.ts +87 -87
- package/src/namespaces/WeaponStatics.ts +365 -365
- package/src/namespaces/Zone.ts +2 -2
package/dist/namespaces/Map.d.ts
CHANGED
|
@@ -98,134 +98,6 @@ export declare class Map {
|
|
|
98
98
|
* @param angle
|
|
99
99
|
*/
|
|
100
100
|
static lockMinimapAngle(angle: number): void;
|
|
101
|
-
/**
|
|
102
|
-
* adds the entity blip icon to the entity lockon prompt if wrong param will remove the icon if had any
|
|
103
|
-
*
|
|
104
|
-
* @param entity
|
|
105
|
-
* @param blipId
|
|
106
|
-
*/
|
|
107
|
-
static setEntityBlipIconToLockonEntityPrompt(entity: Entity, blipId: number): void;
|
|
108
|
-
/**
|
|
109
|
-
* @returns blip
|
|
110
|
-
*/
|
|
111
|
-
static removeBlip(): Blip | null;
|
|
112
|
-
static clearGpsPlayerWaypoint(): void;
|
|
113
|
-
/**
|
|
114
|
-
* @param blip
|
|
115
|
-
* @param hash
|
|
116
|
-
* @param p2
|
|
117
|
-
*/
|
|
118
|
-
static setBlipSprite(blip: number, hash: string | number, p2: boolean): void;
|
|
119
|
-
/**
|
|
120
|
-
* checks if the entity lockon prompt contains an icon
|
|
121
|
-
*
|
|
122
|
-
* @param entity
|
|
123
|
-
* @param blipId
|
|
124
|
-
* @returns
|
|
125
|
-
*/
|
|
126
|
-
static isBlipIconOnLockonEntityPrompt(entity: Entity, blipId: number): any;
|
|
127
|
-
/**
|
|
128
|
-
* @param toggle
|
|
129
|
-
*/
|
|
130
|
-
static allowSonarBlips(toggle: boolean): void;
|
|
131
|
-
static showActivePointsOfInterest(): void;
|
|
132
|
-
/**
|
|
133
|
-
* @returns
|
|
134
|
-
*/
|
|
135
|
-
static isWaypointActive(): boolean;
|
|
136
|
-
/**
|
|
137
|
-
* @param blip
|
|
138
|
-
* @returns p1; p2
|
|
139
|
-
*/
|
|
140
|
-
static setBlipFlashes(blip: number): [any, number, number];
|
|
141
|
-
/**
|
|
142
|
-
* @param blipHash
|
|
143
|
-
* @param pickup
|
|
144
|
-
* @returns
|
|
145
|
-
*/
|
|
146
|
-
static blipAddForPickupPlacement(blipHash: string | number, pickup: Pickup): number;
|
|
147
|
-
static hideActivePointsOfInterest(): void;
|
|
148
|
-
/**
|
|
149
|
-
* @param volume
|
|
150
|
-
* @param p1
|
|
151
|
-
*/
|
|
152
|
-
static setMinimapFowRevealVolume(volume: Volume, p1: string | number): void;
|
|
153
|
-
/**
|
|
154
|
-
* https://github.com/femga/rdr3_discoveries/tree/master/useful_info_from_rpfs/blip_styles
|
|
155
|
-
* Removes any existing modifiers and sets the style.
|
|
156
|
-
*
|
|
157
|
-
* @param blip
|
|
158
|
-
* @param styleHash
|
|
159
|
-
* @returns
|
|
160
|
-
*/
|
|
161
|
-
static blipSetStyle(blip: number, styleHash: string | number): any;
|
|
162
|
-
/**
|
|
163
|
-
* @param zoomLevel
|
|
164
|
-
*/
|
|
165
|
-
static setRadarZoom(zoomLevel: number): void;
|
|
166
|
-
/**
|
|
167
|
-
* @param regionHash
|
|
168
|
-
* @param styleHash
|
|
169
|
-
* @returns
|
|
170
|
-
*/
|
|
171
|
-
static isRegionHighlightedWithStyle(regionHash: string | number, styleHash: string | number): any;
|
|
172
|
-
/**
|
|
173
|
-
* Unlike `GET_WAYPOINT_COORDS - 0x29B30D07C3F7873B`, which returns a single value, this native returns the x and y coordinates of the waypoint separately as floats from pointer. To retrieve each coordinate, `Citizen.PointerValueFloat()` must be used with this function.
|
|
174
|
-
*
|
|
175
|
-
* @returns x; y
|
|
176
|
-
*/
|
|
177
|
-
static getWaypointPosition(): [any, number, number];
|
|
178
|
-
/**
|
|
179
|
-
* Clear blip data. It must be used before RemoveBlip I'm pretty sure that blips are handled internally with databinding. This function should then allow you to clear blip container and therefore free up memory?.
|
|
180
|
-
*
|
|
181
|
-
* @param blipid
|
|
182
|
-
* @returns
|
|
183
|
-
*/
|
|
184
|
-
static clearBlip(blipid: number): any;
|
|
185
|
-
/**
|
|
186
|
-
* hash can be the hash of "guarma" or "world".
|
|
187
|
-
*
|
|
188
|
-
* @param zone
|
|
189
|
-
*/
|
|
190
|
-
static setMinimapZone(zone: string | number): void;
|
|
191
|
-
/**
|
|
192
|
-
* @param blipHash
|
|
193
|
-
* @param pos
|
|
194
|
-
* @param radius
|
|
195
|
-
* @returns
|
|
196
|
-
*/
|
|
197
|
-
static blipAddForRadius(blipHash: string | number, pos: Vector3, radius: number): number;
|
|
198
|
-
/**
|
|
199
|
-
* @param waypointRecording
|
|
200
|
-
* @param point
|
|
201
|
-
* @param numPoints
|
|
202
|
-
* @param colorNameHash
|
|
203
|
-
* @param p4
|
|
204
|
-
* @param p5
|
|
205
|
-
*/
|
|
206
|
-
static startGpsCustomRouteFromWaypointRecordingRoute(waypointRecording: string | null, point: number, numPoints: number, colorNameHash: string | number, p4: boolean, p5: boolean): void;
|
|
207
|
-
/**
|
|
208
|
-
* @param pos
|
|
209
|
-
* @returns outPosition
|
|
210
|
-
*/
|
|
211
|
-
static findClosestGpsPosition(pos: Vector3): [any, Vector3];
|
|
212
|
-
/**
|
|
213
|
-
* @returns
|
|
214
|
-
*/
|
|
215
|
-
static getMainPlayerBlipId(): number;
|
|
216
|
-
/**
|
|
217
|
-
* @param blipHash
|
|
218
|
-
* @param pos
|
|
219
|
-
* @param scale
|
|
220
|
-
* @param p7
|
|
221
|
-
* @returns
|
|
222
|
-
*/
|
|
223
|
-
static blipAddForArea(blipHash: string | number, pos: Vector3, scale: Vector3, p7: number): number;
|
|
224
|
-
/**
|
|
225
|
-
* @param blip
|
|
226
|
-
* @param scale
|
|
227
|
-
*/
|
|
228
|
-
static setBlipScale(blip: number, scale: number): void;
|
|
229
101
|
/**
|
|
230
102
|
* Checks if the GPS route to the waypoint is navigable along a road. If a route exists but there is no valid road path, this function returns false.
|
|
231
103
|
*
|
|
@@ -469,5 +341,133 @@ export declare class Map {
|
|
|
469
341
|
* @param toggle
|
|
470
342
|
*/
|
|
471
343
|
static setMinimapHideFow(toggle: boolean): void;
|
|
344
|
+
/**
|
|
345
|
+
* Clear blip data. It must be used before RemoveBlip I'm pretty sure that blips are handled internally with databinding. This function should then allow you to clear blip container and therefore free up memory?.
|
|
346
|
+
*
|
|
347
|
+
* @param blipid
|
|
348
|
+
* @returns
|
|
349
|
+
*/
|
|
350
|
+
static clearBlip(blipid: number): any;
|
|
351
|
+
/**
|
|
352
|
+
* hash can be the hash of "guarma" or "world".
|
|
353
|
+
*
|
|
354
|
+
* @param zone
|
|
355
|
+
*/
|
|
356
|
+
static setMinimapZone(zone: string | number): void;
|
|
357
|
+
/**
|
|
358
|
+
* @param blipHash
|
|
359
|
+
* @param pos
|
|
360
|
+
* @param radius
|
|
361
|
+
* @returns
|
|
362
|
+
*/
|
|
363
|
+
static blipAddForRadius(blipHash: string | number, pos: Vector3, radius: number): number;
|
|
364
|
+
/**
|
|
365
|
+
* @param waypointRecording
|
|
366
|
+
* @param point
|
|
367
|
+
* @param numPoints
|
|
368
|
+
* @param colorNameHash
|
|
369
|
+
* @param p4
|
|
370
|
+
* @param p5
|
|
371
|
+
*/
|
|
372
|
+
static startGpsCustomRouteFromWaypointRecordingRoute(waypointRecording: string | null, point: number, numPoints: number, colorNameHash: string | number, p4: boolean, p5: boolean): void;
|
|
373
|
+
/**
|
|
374
|
+
* @param pos
|
|
375
|
+
* @returns outPosition
|
|
376
|
+
*/
|
|
377
|
+
static findClosestGpsPosition(pos: Vector3): [any, Vector3];
|
|
378
|
+
/**
|
|
379
|
+
* @returns
|
|
380
|
+
*/
|
|
381
|
+
static getMainPlayerBlipId(): number;
|
|
382
|
+
/**
|
|
383
|
+
* @param blipHash
|
|
384
|
+
* @param pos
|
|
385
|
+
* @param scale
|
|
386
|
+
* @param p7
|
|
387
|
+
* @returns
|
|
388
|
+
*/
|
|
389
|
+
static blipAddForArea(blipHash: string | number, pos: Vector3, scale: Vector3, p7: number): number;
|
|
390
|
+
/**
|
|
391
|
+
* @param blip
|
|
392
|
+
* @param scale
|
|
393
|
+
*/
|
|
394
|
+
static setBlipScale(blip: number, scale: number): void;
|
|
395
|
+
/**
|
|
396
|
+
* adds the entity blip icon to the entity lockon prompt if wrong param will remove the icon if had any
|
|
397
|
+
*
|
|
398
|
+
* @param entity
|
|
399
|
+
* @param blipId
|
|
400
|
+
*/
|
|
401
|
+
static setEntityBlipIconToLockonEntityPrompt(entity: Entity, blipId: number): void;
|
|
402
|
+
/**
|
|
403
|
+
* @returns blip
|
|
404
|
+
*/
|
|
405
|
+
static removeBlip(): Blip | null;
|
|
406
|
+
static clearGpsPlayerWaypoint(): void;
|
|
407
|
+
/**
|
|
408
|
+
* @param blip
|
|
409
|
+
* @param hash
|
|
410
|
+
* @param p2
|
|
411
|
+
*/
|
|
412
|
+
static setBlipSprite(blip: number, hash: string | number, p2: boolean): void;
|
|
413
|
+
/**
|
|
414
|
+
* checks if the entity lockon prompt contains an icon
|
|
415
|
+
*
|
|
416
|
+
* @param entity
|
|
417
|
+
* @param blipId
|
|
418
|
+
* @returns
|
|
419
|
+
*/
|
|
420
|
+
static isBlipIconOnLockonEntityPrompt(entity: Entity, blipId: number): any;
|
|
421
|
+
/**
|
|
422
|
+
* @param toggle
|
|
423
|
+
*/
|
|
424
|
+
static allowSonarBlips(toggle: boolean): void;
|
|
425
|
+
static showActivePointsOfInterest(): void;
|
|
426
|
+
/**
|
|
427
|
+
* @returns
|
|
428
|
+
*/
|
|
429
|
+
static isWaypointActive(): boolean;
|
|
430
|
+
/**
|
|
431
|
+
* @param blip
|
|
432
|
+
* @returns p1; p2
|
|
433
|
+
*/
|
|
434
|
+
static setBlipFlashes(blip: number): [any, number, number];
|
|
435
|
+
/**
|
|
436
|
+
* @param blipHash
|
|
437
|
+
* @param pickup
|
|
438
|
+
* @returns
|
|
439
|
+
*/
|
|
440
|
+
static blipAddForPickupPlacement(blipHash: string | number, pickup: Pickup): number;
|
|
441
|
+
static hideActivePointsOfInterest(): void;
|
|
442
|
+
/**
|
|
443
|
+
* @param volume
|
|
444
|
+
* @param p1
|
|
445
|
+
*/
|
|
446
|
+
static setMinimapFowRevealVolume(volume: Volume, p1: string | number): void;
|
|
447
|
+
/**
|
|
448
|
+
* https://github.com/femga/rdr3_discoveries/tree/master/useful_info_from_rpfs/blip_styles
|
|
449
|
+
* Removes any existing modifiers and sets the style.
|
|
450
|
+
*
|
|
451
|
+
* @param blip
|
|
452
|
+
* @param styleHash
|
|
453
|
+
* @returns
|
|
454
|
+
*/
|
|
455
|
+
static blipSetStyle(blip: number, styleHash: string | number): any;
|
|
456
|
+
/**
|
|
457
|
+
* @param zoomLevel
|
|
458
|
+
*/
|
|
459
|
+
static setRadarZoom(zoomLevel: number): void;
|
|
460
|
+
/**
|
|
461
|
+
* @param regionHash
|
|
462
|
+
* @param styleHash
|
|
463
|
+
* @returns
|
|
464
|
+
*/
|
|
465
|
+
static isRegionHighlightedWithStyle(regionHash: string | number, styleHash: string | number): any;
|
|
466
|
+
/**
|
|
467
|
+
* Unlike `GET_WAYPOINT_COORDS - 0x29B30D07C3F7873B`, which returns a single value, this native returns the x and y coordinates of the waypoint separately as floats from pointer. To retrieve each coordinate, `Citizen.PointerValueFloat()` must be used with this function.
|
|
468
|
+
*
|
|
469
|
+
* @returns x; y
|
|
470
|
+
*/
|
|
471
|
+
static getWaypointPosition(): [any, number, number];
|
|
472
472
|
}
|
|
473
473
|
//# sourceMappingURL=Map.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Map.d.ts","sourceRoot":"","sources":["../../src/namespaces/Map.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAChD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAChD,OAAO,KAAK,EAA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MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,GAAG,MAAM,GAAG,GAAG;IAIlE;;OAEG;IACH,MAAM,CAAC,YAAY,CAAC,SAAS,EAAE,MAAM,GAAG,IAAI;IAI5C;;;;OAIG;IACH,MAAM,CAAC,4BAA4B,CAAC,UAAU,EAAE,MAAM,GAAG,MAAM,EAAE,SAAS,EAAE,MAAM,GAAG,MAAM,GAAG,GAAG;IAIjG;;;;OAIG;IACH,MAAM,CAAC,mBAAmB,IAAI,CAAC,GAAG,EAAE,MAAM,EAAE,MAAM,CAAC;CAKpD"}
|
package/dist/namespaces/Map.js
CHANGED
|
@@ -125,186 +125,6 @@ export class Map {
|
|
|
125
125
|
static lockMinimapAngle(angle) {
|
|
126
126
|
inv('0x0BFD145EF819FB3A', angle);
|
|
127
127
|
}
|
|
128
|
-
/**
|
|
129
|
-
* adds the entity blip icon to the entity lockon prompt if wrong param will remove the icon if had any
|
|
130
|
-
*
|
|
131
|
-
* @param entity
|
|
132
|
-
* @param blipId
|
|
133
|
-
*/
|
|
134
|
-
static setEntityBlipIconToLockonEntityPrompt(entity, blipId) {
|
|
135
|
-
inv('0x97F6F158CC5B5CA2', entity.handle, blipId);
|
|
136
|
-
}
|
|
137
|
-
/**
|
|
138
|
-
* @returns blip
|
|
139
|
-
*/
|
|
140
|
-
static removeBlip() {
|
|
141
|
-
const result = inv('0xF2C3C9DA47AAA54A', pvi());
|
|
142
|
-
return result;
|
|
143
|
-
}
|
|
144
|
-
static clearGpsPlayerWaypoint() {
|
|
145
|
-
inv('0x08FDC6F796E350D1');
|
|
146
|
-
}
|
|
147
|
-
/**
|
|
148
|
-
* @param blip
|
|
149
|
-
* @param hash
|
|
150
|
-
* @param p2
|
|
151
|
-
*/
|
|
152
|
-
static setBlipSprite(blip, hash, p2) {
|
|
153
|
-
inv('0x74F74D3207ED525C', blip, _h(hash), p2);
|
|
154
|
-
}
|
|
155
|
-
/**
|
|
156
|
-
* checks if the entity lockon prompt contains an icon
|
|
157
|
-
*
|
|
158
|
-
* @param entity
|
|
159
|
-
* @param blipId
|
|
160
|
-
* @returns
|
|
161
|
-
*/
|
|
162
|
-
static isBlipIconOnLockonEntityPrompt(entity, blipId) {
|
|
163
|
-
return inv('0x3CB8859F04763C78', entity.handle, blipId);
|
|
164
|
-
}
|
|
165
|
-
/**
|
|
166
|
-
* @param toggle
|
|
167
|
-
*/
|
|
168
|
-
static allowSonarBlips(toggle) {
|
|
169
|
-
inv('0x6E6E64788C07D2E0', toggle);
|
|
170
|
-
}
|
|
171
|
-
static showActivePointsOfInterest() {
|
|
172
|
-
inv('0x3FBB838AEA30C1D8');
|
|
173
|
-
}
|
|
174
|
-
/**
|
|
175
|
-
* @returns
|
|
176
|
-
*/
|
|
177
|
-
static isWaypointActive() {
|
|
178
|
-
return inv('0x202B1BBFC6AB5EE4', rai());
|
|
179
|
-
}
|
|
180
|
-
/**
|
|
181
|
-
* @param blip
|
|
182
|
-
* @returns p1; p2
|
|
183
|
-
*/
|
|
184
|
-
static setBlipFlashes(blip) {
|
|
185
|
-
const result = inv('0x0DF2B55F717DDB10', blip, pvi(), pvi());
|
|
186
|
-
return [result[0], result[1], result[2]];
|
|
187
|
-
}
|
|
188
|
-
/**
|
|
189
|
-
* @param blipHash
|
|
190
|
-
* @param pickup
|
|
191
|
-
* @returns
|
|
192
|
-
*/
|
|
193
|
-
static blipAddForPickupPlacement(blipHash, pickup) {
|
|
194
|
-
return inv('0xA486008892065FB9', _h(blipHash), pickup.handle, rai());
|
|
195
|
-
}
|
|
196
|
-
static hideActivePointsOfInterest() {
|
|
197
|
-
inv('0xA1B4052C2A3DCC1E');
|
|
198
|
-
}
|
|
199
|
-
/**
|
|
200
|
-
* @param volume
|
|
201
|
-
* @param p1
|
|
202
|
-
*/
|
|
203
|
-
static setMinimapFowRevealVolume(volume, p1) {
|
|
204
|
-
inv('0x63CBBD6CA6F321F9', volume.handle, _h(p1));
|
|
205
|
-
}
|
|
206
|
-
/**
|
|
207
|
-
* https://github.com/femga/rdr3_discoveries/tree/master/useful_info_from_rpfs/blip_styles
|
|
208
|
-
* Removes any existing modifiers and sets the style.
|
|
209
|
-
*
|
|
210
|
-
* @param blip
|
|
211
|
-
* @param styleHash
|
|
212
|
-
* @returns
|
|
213
|
-
*/
|
|
214
|
-
static blipSetStyle(blip, styleHash) {
|
|
215
|
-
return inv('0xEDD964B7984AC291', blip, _h(styleHash));
|
|
216
|
-
}
|
|
217
|
-
/**
|
|
218
|
-
* @param zoomLevel
|
|
219
|
-
*/
|
|
220
|
-
static setRadarZoom(zoomLevel) {
|
|
221
|
-
inv('0xCAF6489DA2C8DD9E', zoomLevel);
|
|
222
|
-
}
|
|
223
|
-
/**
|
|
224
|
-
* @param regionHash
|
|
225
|
-
* @param styleHash
|
|
226
|
-
* @returns
|
|
227
|
-
*/
|
|
228
|
-
static isRegionHighlightedWithStyle(regionHash, styleHash) {
|
|
229
|
-
return inv('0xE38450DBCBC70E3D', _h(regionHash), _h(styleHash));
|
|
230
|
-
}
|
|
231
|
-
/**
|
|
232
|
-
* Unlike `GET_WAYPOINT_COORDS - 0x29B30D07C3F7873B`, which returns a single value, this native returns the x and y coordinates of the waypoint separately as floats from pointer. To retrieve each coordinate, `Citizen.PointerValueFloat()` must be used with this function.
|
|
233
|
-
*
|
|
234
|
-
* @returns x; y
|
|
235
|
-
*/
|
|
236
|
-
static getWaypointPosition() {
|
|
237
|
-
const result = inv('0xF08E42BFA46BDFF8', pvf(), pvf());
|
|
238
|
-
return [result[0], result[1], result[2]];
|
|
239
|
-
}
|
|
240
|
-
/**
|
|
241
|
-
* Clear blip data. It must be used before RemoveBlip I'm pretty sure that blips are handled internally with databinding. This function should then allow you to clear blip container and therefore free up memory?.
|
|
242
|
-
*
|
|
243
|
-
* @param blipid
|
|
244
|
-
* @returns
|
|
245
|
-
*/
|
|
246
|
-
static clearBlip(blipid) {
|
|
247
|
-
return inv('0x01B928CA2E198B01', blipid);
|
|
248
|
-
}
|
|
249
|
-
/**
|
|
250
|
-
* hash can be the hash of "guarma" or "world".
|
|
251
|
-
*
|
|
252
|
-
* @param zone
|
|
253
|
-
*/
|
|
254
|
-
static setMinimapZone(zone) {
|
|
255
|
-
inv('0xA657EC9DBC6CC900', _h(zone));
|
|
256
|
-
}
|
|
257
|
-
/**
|
|
258
|
-
* @param blipHash
|
|
259
|
-
* @param pos
|
|
260
|
-
* @param radius
|
|
261
|
-
* @returns
|
|
262
|
-
*/
|
|
263
|
-
static blipAddForRadius(blipHash, pos, radius) {
|
|
264
|
-
return inv('0x45F13B7E0A15C880', _h(blipHash), f(pos.x), f(pos.y), f(pos.z), f(radius), rai());
|
|
265
|
-
}
|
|
266
|
-
/**
|
|
267
|
-
* @param waypointRecording
|
|
268
|
-
* @param point
|
|
269
|
-
* @param numPoints
|
|
270
|
-
* @param colorNameHash
|
|
271
|
-
* @param p4
|
|
272
|
-
* @param p5
|
|
273
|
-
*/
|
|
274
|
-
static startGpsCustomRouteFromWaypointRecordingRoute(waypointRecording, point, numPoints, colorNameHash, p4, p5) {
|
|
275
|
-
inv('0x6B44F13D888F770D', waypointRecording, point, numPoints, _h(colorNameHash), p4, p5);
|
|
276
|
-
}
|
|
277
|
-
/**
|
|
278
|
-
* @param pos
|
|
279
|
-
* @returns outPosition
|
|
280
|
-
*/
|
|
281
|
-
static findClosestGpsPosition(pos) {
|
|
282
|
-
const result = inv('0x3FDA2B79AEEE351C', f(pos.x), f(pos.y), f(pos.z), pvv());
|
|
283
|
-
return [result[0], Vector3.fromArray(result[1])];
|
|
284
|
-
}
|
|
285
|
-
/**
|
|
286
|
-
* @returns
|
|
287
|
-
*/
|
|
288
|
-
static getMainPlayerBlipId() {
|
|
289
|
-
return inv('0x5CD2889B2B381D45', rai());
|
|
290
|
-
}
|
|
291
|
-
/**
|
|
292
|
-
* @param blipHash
|
|
293
|
-
* @param pos
|
|
294
|
-
* @param scale
|
|
295
|
-
* @param p7
|
|
296
|
-
* @returns
|
|
297
|
-
*/
|
|
298
|
-
static blipAddForArea(blipHash, pos, scale, p7) {
|
|
299
|
-
return inv('0xEC174ADBCB611ECC', _h(blipHash), f(pos.x), f(pos.y), f(pos.z), f(scale.x), f(scale.y), f(scale.z), p7, rai());
|
|
300
|
-
}
|
|
301
|
-
/**
|
|
302
|
-
* @param blip
|
|
303
|
-
* @param scale
|
|
304
|
-
*/
|
|
305
|
-
static setBlipScale(blip, scale) {
|
|
306
|
-
inv('0xD38744167B2FA257', blip, f(scale));
|
|
307
|
-
}
|
|
308
128
|
/**
|
|
309
129
|
* Checks if the GPS route to the waypoint is navigable along a road. If a route exists but there is no valid road path, this function returns false.
|
|
310
130
|
*
|
|
@@ -638,4 +458,184 @@ export class Map {
|
|
|
638
458
|
static setMinimapHideFow(toggle) {
|
|
639
459
|
inv('0x4B8F743A4A6D2FF8', toggle);
|
|
640
460
|
}
|
|
461
|
+
/**
|
|
462
|
+
* Clear blip data. It must be used before RemoveBlip I'm pretty sure that blips are handled internally with databinding. This function should then allow you to clear blip container and therefore free up memory?.
|
|
463
|
+
*
|
|
464
|
+
* @param blipid
|
|
465
|
+
* @returns
|
|
466
|
+
*/
|
|
467
|
+
static clearBlip(blipid) {
|
|
468
|
+
return inv('0x01B928CA2E198B01', blipid);
|
|
469
|
+
}
|
|
470
|
+
/**
|
|
471
|
+
* hash can be the hash of "guarma" or "world".
|
|
472
|
+
*
|
|
473
|
+
* @param zone
|
|
474
|
+
*/
|
|
475
|
+
static setMinimapZone(zone) {
|
|
476
|
+
inv('0xA657EC9DBC6CC900', _h(zone));
|
|
477
|
+
}
|
|
478
|
+
/**
|
|
479
|
+
* @param blipHash
|
|
480
|
+
* @param pos
|
|
481
|
+
* @param radius
|
|
482
|
+
* @returns
|
|
483
|
+
*/
|
|
484
|
+
static blipAddForRadius(blipHash, pos, radius) {
|
|
485
|
+
return inv('0x45F13B7E0A15C880', _h(blipHash), f(pos.x), f(pos.y), f(pos.z), f(radius), rai());
|
|
486
|
+
}
|
|
487
|
+
/**
|
|
488
|
+
* @param waypointRecording
|
|
489
|
+
* @param point
|
|
490
|
+
* @param numPoints
|
|
491
|
+
* @param colorNameHash
|
|
492
|
+
* @param p4
|
|
493
|
+
* @param p5
|
|
494
|
+
*/
|
|
495
|
+
static startGpsCustomRouteFromWaypointRecordingRoute(waypointRecording, point, numPoints, colorNameHash, p4, p5) {
|
|
496
|
+
inv('0x6B44F13D888F770D', waypointRecording, point, numPoints, _h(colorNameHash), p4, p5);
|
|
497
|
+
}
|
|
498
|
+
/**
|
|
499
|
+
* @param pos
|
|
500
|
+
* @returns outPosition
|
|
501
|
+
*/
|
|
502
|
+
static findClosestGpsPosition(pos) {
|
|
503
|
+
const result = inv('0x3FDA2B79AEEE351C', f(pos.x), f(pos.y), f(pos.z), pvv());
|
|
504
|
+
return [result[0], Vector3.fromArray(result[1])];
|
|
505
|
+
}
|
|
506
|
+
/**
|
|
507
|
+
* @returns
|
|
508
|
+
*/
|
|
509
|
+
static getMainPlayerBlipId() {
|
|
510
|
+
return inv('0x5CD2889B2B381D45', rai());
|
|
511
|
+
}
|
|
512
|
+
/**
|
|
513
|
+
* @param blipHash
|
|
514
|
+
* @param pos
|
|
515
|
+
* @param scale
|
|
516
|
+
* @param p7
|
|
517
|
+
* @returns
|
|
518
|
+
*/
|
|
519
|
+
static blipAddForArea(blipHash, pos, scale, p7) {
|
|
520
|
+
return inv('0xEC174ADBCB611ECC', _h(blipHash), f(pos.x), f(pos.y), f(pos.z), f(scale.x), f(scale.y), f(scale.z), p7, rai());
|
|
521
|
+
}
|
|
522
|
+
/**
|
|
523
|
+
* @param blip
|
|
524
|
+
* @param scale
|
|
525
|
+
*/
|
|
526
|
+
static setBlipScale(blip, scale) {
|
|
527
|
+
inv('0xD38744167B2FA257', blip, f(scale));
|
|
528
|
+
}
|
|
529
|
+
/**
|
|
530
|
+
* adds the entity blip icon to the entity lockon prompt if wrong param will remove the icon if had any
|
|
531
|
+
*
|
|
532
|
+
* @param entity
|
|
533
|
+
* @param blipId
|
|
534
|
+
*/
|
|
535
|
+
static setEntityBlipIconToLockonEntityPrompt(entity, blipId) {
|
|
536
|
+
inv('0x97F6F158CC5B5CA2', entity.handle, blipId);
|
|
537
|
+
}
|
|
538
|
+
/**
|
|
539
|
+
* @returns blip
|
|
540
|
+
*/
|
|
541
|
+
static removeBlip() {
|
|
542
|
+
const result = inv('0xF2C3C9DA47AAA54A', pvi());
|
|
543
|
+
return result;
|
|
544
|
+
}
|
|
545
|
+
static clearGpsPlayerWaypoint() {
|
|
546
|
+
inv('0x08FDC6F796E350D1');
|
|
547
|
+
}
|
|
548
|
+
/**
|
|
549
|
+
* @param blip
|
|
550
|
+
* @param hash
|
|
551
|
+
* @param p2
|
|
552
|
+
*/
|
|
553
|
+
static setBlipSprite(blip, hash, p2) {
|
|
554
|
+
inv('0x74F74D3207ED525C', blip, _h(hash), p2);
|
|
555
|
+
}
|
|
556
|
+
/**
|
|
557
|
+
* checks if the entity lockon prompt contains an icon
|
|
558
|
+
*
|
|
559
|
+
* @param entity
|
|
560
|
+
* @param blipId
|
|
561
|
+
* @returns
|
|
562
|
+
*/
|
|
563
|
+
static isBlipIconOnLockonEntityPrompt(entity, blipId) {
|
|
564
|
+
return inv('0x3CB8859F04763C78', entity.handle, blipId);
|
|
565
|
+
}
|
|
566
|
+
/**
|
|
567
|
+
* @param toggle
|
|
568
|
+
*/
|
|
569
|
+
static allowSonarBlips(toggle) {
|
|
570
|
+
inv('0x6E6E64788C07D2E0', toggle);
|
|
571
|
+
}
|
|
572
|
+
static showActivePointsOfInterest() {
|
|
573
|
+
inv('0x3FBB838AEA30C1D8');
|
|
574
|
+
}
|
|
575
|
+
/**
|
|
576
|
+
* @returns
|
|
577
|
+
*/
|
|
578
|
+
static isWaypointActive() {
|
|
579
|
+
return inv('0x202B1BBFC6AB5EE4', rai());
|
|
580
|
+
}
|
|
581
|
+
/**
|
|
582
|
+
* @param blip
|
|
583
|
+
* @returns p1; p2
|
|
584
|
+
*/
|
|
585
|
+
static setBlipFlashes(blip) {
|
|
586
|
+
const result = inv('0x0DF2B55F717DDB10', blip, pvi(), pvi());
|
|
587
|
+
return [result[0], result[1], result[2]];
|
|
588
|
+
}
|
|
589
|
+
/**
|
|
590
|
+
* @param blipHash
|
|
591
|
+
* @param pickup
|
|
592
|
+
* @returns
|
|
593
|
+
*/
|
|
594
|
+
static blipAddForPickupPlacement(blipHash, pickup) {
|
|
595
|
+
return inv('0xA486008892065FB9', _h(blipHash), pickup.handle, rai());
|
|
596
|
+
}
|
|
597
|
+
static hideActivePointsOfInterest() {
|
|
598
|
+
inv('0xA1B4052C2A3DCC1E');
|
|
599
|
+
}
|
|
600
|
+
/**
|
|
601
|
+
* @param volume
|
|
602
|
+
* @param p1
|
|
603
|
+
*/
|
|
604
|
+
static setMinimapFowRevealVolume(volume, p1) {
|
|
605
|
+
inv('0x63CBBD6CA6F321F9', volume.handle, _h(p1));
|
|
606
|
+
}
|
|
607
|
+
/**
|
|
608
|
+
* https://github.com/femga/rdr3_discoveries/tree/master/useful_info_from_rpfs/blip_styles
|
|
609
|
+
* Removes any existing modifiers and sets the style.
|
|
610
|
+
*
|
|
611
|
+
* @param blip
|
|
612
|
+
* @param styleHash
|
|
613
|
+
* @returns
|
|
614
|
+
*/
|
|
615
|
+
static blipSetStyle(blip, styleHash) {
|
|
616
|
+
return inv('0xEDD964B7984AC291', blip, _h(styleHash));
|
|
617
|
+
}
|
|
618
|
+
/**
|
|
619
|
+
* @param zoomLevel
|
|
620
|
+
*/
|
|
621
|
+
static setRadarZoom(zoomLevel) {
|
|
622
|
+
inv('0xCAF6489DA2C8DD9E', zoomLevel);
|
|
623
|
+
}
|
|
624
|
+
/**
|
|
625
|
+
* @param regionHash
|
|
626
|
+
* @param styleHash
|
|
627
|
+
* @returns
|
|
628
|
+
*/
|
|
629
|
+
static isRegionHighlightedWithStyle(regionHash, styleHash) {
|
|
630
|
+
return inv('0xE38450DBCBC70E3D', _h(regionHash), _h(styleHash));
|
|
631
|
+
}
|
|
632
|
+
/**
|
|
633
|
+
* Unlike `GET_WAYPOINT_COORDS - 0x29B30D07C3F7873B`, which returns a single value, this native returns the x and y coordinates of the waypoint separately as floats from pointer. To retrieve each coordinate, `Citizen.PointerValueFloat()` must be used with this function.
|
|
634
|
+
*
|
|
635
|
+
* @returns x; y
|
|
636
|
+
*/
|
|
637
|
+
static getWaypointPosition() {
|
|
638
|
+
const result = inv('0xF08E42BFA46BDFF8', pvf(), pvf());
|
|
639
|
+
return [result[0], result[1], result[2]];
|
|
640
|
+
}
|
|
641
641
|
}
|