@citizenfx/client 2.0.9601-1 → 2.0.9635-1
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/natives_universal.d.ts +22 -5
- package/package.json +1 -1
package/natives_universal.d.ts
CHANGED
|
@@ -1665,6 +1665,14 @@ declare function ApplyPedDamageDecal(ped: number, damageZone: number, xOffset: n
|
|
|
1665
1665
|
*/
|
|
1666
1666
|
declare function ApplyPedDamagePack(ped: number, damagePack: string, damage: number, mult: number): void;
|
|
1667
1667
|
|
|
1668
|
+
/**
|
|
1669
|
+
* APPLY_WEATHER_CYCLES
|
|
1670
|
+
* @param numEntries The number of cycle entries. Must be between 1 and 256
|
|
1671
|
+
* @param msPerCycle The duration in milliseconds of each cycle. Must be between 1000 and 86400000 (24 hours)
|
|
1672
|
+
* @return Returns true if all parameters were valid, otherwise false.
|
|
1673
|
+
*/
|
|
1674
|
+
declare function ApplyWeatherCycles(numEntries: number, msPerCycle: number): boolean;
|
|
1675
|
+
|
|
1668
1676
|
/**
|
|
1669
1677
|
* ARE_ALL_NAVMESH_REGIONS_LOADED
|
|
1670
1678
|
*/
|
|
@@ -14893,24 +14901,24 @@ declare function GetPedEventData(ped: number, eventType: number, outData?: numbe
|
|
|
14893
14901
|
declare function GetPedExtractedDisplacement(ped: number, worldSpace: boolean): number[];
|
|
14894
14902
|
|
|
14895
14903
|
/**
|
|
14896
|
-
* A getter for [
|
|
14904
|
+
* A getter for [`_SET_PED_EYE_COLOR`](#\_0x50B56988B170AFDF).
|
|
14897
14905
|
* @param ped The target ped
|
|
14898
14906
|
* @return Returns ped's eye colour, or -1 if fails to get.
|
|
14899
14907
|
*/
|
|
14900
14908
|
declare function GetPedEyeColor(ped: number): number;
|
|
14901
|
-
|
|
14902
14909
|
/**
|
|
14903
14910
|
* A getter for [`_SET_PED_EYE_COLOR`](#\_0x50B56988B170AFDF).
|
|
14904
14911
|
* @param ped The target ped
|
|
14905
14912
|
* @return Returns ped's eye colour, or -1 if fails to get.
|
|
14906
14913
|
*/
|
|
14907
|
-
declare function
|
|
14914
|
+
declare function N_0x76bba2cee66d47e9(ped: number): number;
|
|
14915
|
+
|
|
14908
14916
|
/**
|
|
14909
|
-
* A getter for [
|
|
14917
|
+
* A getter for [\_SET_PED_EYE_COLOR](#\_0x50B56988B170AFDF). Returns -1 if fails to get.
|
|
14910
14918
|
* @param ped The target ped
|
|
14911
14919
|
* @return Returns ped's eye colour, or -1 if fails to get.
|
|
14912
14920
|
*/
|
|
14913
|
-
declare function
|
|
14921
|
+
declare function GetPedEyeColor(ped: number): number;
|
|
14914
14922
|
|
|
14915
14923
|
/**
|
|
14916
14924
|
* A getter for [\_SET_PED_FACE_FEATURE](#\_0x71A5C1DBA060049E). Returns 0.0 if fails to get.
|
|
@@ -55173,6 +55181,15 @@ declare function SetWeaponsNoAutoreload(state: boolean): void;
|
|
|
55173
55181
|
*/
|
|
55174
55182
|
declare function SetWeaponsNoAutoswap(state: boolean): void;
|
|
55175
55183
|
|
|
55184
|
+
/**
|
|
55185
|
+
* SET_WEATHER_CYCLE_ENTRY
|
|
55186
|
+
* @param index The index of the entry to set. Must be between 0 and 255
|
|
55187
|
+
* @param typeName The name of the weather type for this cycle
|
|
55188
|
+
* @param timeMult The relative duration of this cycle, which is multiplied by `msPerCycle` during ['APPLY_WEATHER_CYCLES'](#\_0x3422291c). Must be between 1 and 255
|
|
55189
|
+
* @return Returns true if all parameters were valid, otherwise false.
|
|
55190
|
+
*/
|
|
55191
|
+
declare function SetWeatherCycleEntry(index: number, typeName: string, timeMult: number): boolean;
|
|
55192
|
+
|
|
55176
55193
|
/**
|
|
55177
55194
|
* Sets whether or not the weather should be owned by the network subsystem.
|
|
55178
55195
|
* To be able to use [\_SET_WEATHER_TYPE_TRANSITION](#\_0x578C752848ECFA0C), this has to be set to false.
|