@nativewrappers/redm-codegen 0.0.4 → 0.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/classes/AnimScene.d.ts +109 -109
- package/dist/classes/AnimScene.d.ts.map +1 -1
- package/dist/classes/AnimScene.js +158 -158
- package/dist/classes/BaseModel.d.ts +34 -34
- package/dist/classes/BaseModel.d.ts.map +1 -1
- package/dist/classes/BaseModel.js +53 -53
- package/dist/classes/BaseTask.d.ts +36 -36
- package/dist/classes/BaseTask.d.ts.map +1 -1
- package/dist/classes/BaseTask.js +44 -44
- package/dist/classes/Cam.d.ts +91 -91
- package/dist/classes/Cam.d.ts.map +1 -1
- package/dist/classes/Cam.js +124 -124
- package/dist/classes/Entity.d.ts +507 -502
- package/dist/classes/Entity.d.ts.map +1 -1
- package/dist/classes/Entity.js +723 -714
- 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/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 +286 -286
- package/dist/classes/Ped.d.ts.map +1 -1
- package/dist/classes/Ped.js +425 -425
- 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 +770 -770
- package/dist/classes/PedTask.d.ts.map +1 -1
- package/dist/classes/PedTask.js +985 -985
- 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 +6 -6
- package/dist/classes/Pickup.d.ts.map +1 -1
- package/dist/classes/Pickup.js +12 -12
- package/dist/classes/Player.d.ts +237 -233
- package/dist/classes/Player.d.ts.map +1 -1
- package/dist/classes/Player.js +309 -303
- package/dist/classes/Prop.d.ts +126 -126
- package/dist/classes/Prop.d.ts.map +1 -1
- package/dist/classes/Prop.js +180 -180
- package/dist/classes/PropSet.d.ts +16 -16
- package/dist/classes/PropSet.d.ts.map +1 -1
- package/dist/classes/PropSet.js +22 -22
- 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 +17 -17
- package/dist/classes/VehicleTask.d.ts.map +1 -1
- package/dist/classes/VehicleTask.js +24 -24
- package/dist/classes/Volume.d.ts +44 -44
- package/dist/classes/Volume.d.ts.map +1 -1
- package/dist/classes/Volume.js +58 -58
- package/dist/classes/Weapon.d.ts +243 -243
- package/dist/classes/Weapon.d.ts.map +1 -1
- package/dist/classes/Weapon.js +339 -339
- 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 +37 -37
- package/dist/namespaces/Animscene.d.ts.map +1 -1
- package/dist/namespaces/Animscene.js +51 -51
- package/dist/namespaces/Audio.d.ts +395 -395
- package/dist/namespaces/Audio.d.ts.map +1 -1
- package/dist/namespaces/Audio.js +530 -530
- 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 +483 -483
- package/dist/namespaces/CamStatics.d.ts.map +1 -1
- package/dist/namespaces/CamStatics.js +693 -693
- package/dist/namespaces/Clock.d.ts +51 -51
- package/dist/namespaces/Clock.d.ts.map +1 -1
- package/dist/namespaces/Clock.js +73 -73
- 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/Compapp.js +1 -1
- package/dist/namespaces/Compendium.d.ts +58 -58
- package/dist/namespaces/Compendium.d.ts.map +1 -1
- package/dist/namespaces/Compendium.js +83 -83
- package/dist/namespaces/Crashlog.js +9 -9
- package/dist/namespaces/Crew.d.ts +9 -9
- package/dist/namespaces/Crew.d.ts.map +1 -1
- package/dist/namespaces/Crew.js +18 -18
- package/dist/namespaces/Databinding.d.ts +146 -146
- package/dist/namespaces/Databinding.d.ts.map +1 -1
- package/dist/namespaces/Databinding.js +218 -218
- 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.js +2 -2
- package/dist/namespaces/EntityStatics.d.ts +186 -186
- package/dist/namespaces/EntityStatics.d.ts.map +1 -1
- package/dist/namespaces/EntityStatics.js +249 -249
- 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 +776 -776
- package/dist/namespaces/Graphics.d.ts.map +1 -1
- package/dist/namespaces/Graphics.js +1120 -1120
- package/dist/namespaces/Hud.d.ts +497 -497
- package/dist/namespaces/Hud.d.ts.map +1 -1
- package/dist/namespaces/Hud.js +748 -748
- package/dist/namespaces/Ik.js +1 -1
- package/dist/namespaces/Interaction.js +3 -3
- package/dist/namespaces/InteriorStatics.d.ts +40 -40
- package/dist/namespaces/InteriorStatics.d.ts.map +1 -1
- package/dist/namespaces/InteriorStatics.js +57 -57
- package/dist/namespaces/Inventory.d.ts +205 -205
- package/dist/namespaces/Inventory.d.ts.map +1 -1
- package/dist/namespaces/Inventory.js +340 -340
- package/dist/namespaces/Itemdatabase.d.ts +78 -78
- package/dist/namespaces/Itemdatabase.d.ts.map +1 -1
- package/dist/namespaces/Itemdatabase.js +109 -109
- 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 +156 -156
- package/dist/namespaces/Map.d.ts.map +1 -1
- package/dist/namespaces/Map.js +209 -209
- package/dist/namespaces/Minigame.d.ts +66 -66
- package/dist/namespaces/Minigame.d.ts.map +1 -1
- package/dist/namespaces/Minigame.js +111 -111
- 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.js +1 -1
- 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 +1199 -1199
- package/dist/namespaces/Network.d.ts.map +1 -1
- package/dist/namespaces/Network.js +1650 -1650
- package/dist/namespaces/Object.d.ts +262 -262
- package/dist/namespaces/Object.d.ts.map +1 -1
- package/dist/namespaces/Object.js +367 -367
- package/dist/namespaces/Pad.d.ts +102 -102
- package/dist/namespaces/Pad.d.ts.map +1 -1
- package/dist/namespaces/Pad.js +141 -141
- package/dist/namespaces/Pathfind.js +10 -10
- package/dist/namespaces/PedStatics.d.ts +2 -2
- package/dist/namespaces/PedStatics.d.ts.map +1 -1
- package/dist/namespaces/PedStatics.js +10 -10
- package/dist/namespaces/Perschar.d.ts +42 -42
- package/dist/namespaces/Perschar.d.ts.map +1 -1
- package/dist/namespaces/Perschar.js +59 -59
- package/dist/namespaces/Physics.d.ts +37 -37
- package/dist/namespaces/Physics.d.ts.map +1 -1
- package/dist/namespaces/Physics.js +54 -54
- package/dist/namespaces/PlayerStatics.d.ts +68 -68
- package/dist/namespaces/PlayerStatics.d.ts.map +1 -1
- package/dist/namespaces/PlayerStatics.js +104 -104
- package/dist/namespaces/Population.d.ts +86 -86
- package/dist/namespaces/Population.d.ts.map +1 -1
- package/dist/namespaces/Population.js +116 -116
- package/dist/namespaces/Posse.d.ts +48 -48
- package/dist/namespaces/Posse.d.ts.map +1 -1
- package/dist/namespaces/Posse.js +78 -78
- package/dist/namespaces/Propset.d.ts +59 -59
- package/dist/namespaces/Propset.d.ts.map +1 -1
- package/dist/namespaces/Propset.js +81 -81
- 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 +203 -203
- package/dist/namespaces/Stats.d.ts.map +1 -1
- package/dist/namespaces/Stats.js +294 -294
- package/dist/namespaces/Streaming.d.ts +128 -128
- package/dist/namespaces/Streaming.d.ts.map +1 -1
- package/dist/namespaces/Streaming.js +202 -202
- package/dist/namespaces/Task.d.ts +366 -366
- package/dist/namespaces/Task.d.ts.map +1 -1
- package/dist/namespaces/Task.js +517 -517
- package/dist/namespaces/Telemetry.d.ts +83 -83
- package/dist/namespaces/Telemetry.d.ts.map +1 -1
- package/dist/namespaces/Telemetry.js +111 -111
- 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.js +1 -1
- 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.js +7 -7
- package/dist/namespaces/VolumeStatics.d.ts +99 -99
- package/dist/namespaces/VolumeStatics.d.ts.map +1 -1
- package/dist/namespaces/VolumeStatics.js +137 -137
- 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 +206 -206
- package/dist/namespaces/WeaponStatics.d.ts.map +1 -1
- package/dist/namespaces/WeaponStatics.js +303 -303
- 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 +164 -164
- package/src/classes/BaseModel.ts +60 -60
- package/src/classes/BaseTask.ts +46 -46
- package/src/classes/Cam.ts +136 -136
- package/src/classes/Entity.ts +738 -727
- package/src/classes/Interior.ts +43 -43
- package/src/classes/ItemSet.ts +3 -3
- package/src/classes/Ped.ts +432 -432
- package/src/classes/PedModel.ts +2 -2
- package/src/classes/PedTask.ts +1023 -1023
- package/src/classes/PersChar.ts +28 -28
- package/src/classes/Pickup.ts +13 -13
- package/src/classes/Player.ts +326 -319
- package/src/classes/Prop.ts +185 -185
- package/src/classes/PropSet.ts +25 -25
- package/src/classes/Vehicle.ts +147 -147
- package/src/classes/VehicleModel.ts +2 -2
- package/src/classes/VehicleTask.ts +27 -27
- package/src/classes/Volume.ts +62 -62
- package/src/classes/Weapon.ts +358 -358
- package/src/namespaces/Aicoverpoint.ts +40 -40
- package/src/namespaces/Aitransport.ts +104 -104
- package/src/namespaces/Animscene.ts +55 -55
- package/src/namespaces/Audio.ts +565 -565
- package/src/namespaces/Bounty.ts +46 -46
- package/src/namespaces/Brain.ts +22 -22
- package/src/namespaces/CamStatics.ts +706 -706
- package/src/namespaces/Clock.ts +82 -82
- package/src/namespaces/Collection.ts +12 -12
- package/src/namespaces/Compapp.ts +1 -1
- package/src/namespaces/Compendium.ts +94 -94
- package/src/namespaces/Crashlog.ts +9 -9
- package/src/namespaces/Crew.ts +20 -20
- package/src/namespaces/Databinding.ts +222 -222
- package/src/namespaces/Datafile.ts +4 -4
- package/src/namespaces/Decorator.ts +37 -37
- package/src/namespaces/Dlc.ts +2 -2
- package/src/namespaces/EntityStatics.ts +259 -259
- 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 +1081 -1081
- package/src/namespaces/Hud.ts +767 -767
- package/src/namespaces/Ik.ts +1 -1
- package/src/namespaces/Interaction.ts +3 -3
- package/src/namespaces/InteriorStatics.ts +65 -65
- package/src/namespaces/Inventory.ts +352 -352
- package/src/namespaces/Itemdatabase.ts +121 -121
- 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 +217 -217
- package/src/namespaces/Minigame.ts +119 -119
- package/src/namespaces/Misc.ts +38 -38
- package/src/namespaces/Missiondata.ts +1 -1
- package/src/namespaces/Money.ts +3 -3
- package/src/namespaces/Netshopping.ts +99 -99
- package/src/namespaces/Network.ts +1738 -1738
- package/src/namespaces/Object.ts +370 -370
- package/src/namespaces/Pad.ts +155 -155
- package/src/namespaces/Pathfind.ts +10 -10
- package/src/namespaces/PedStatics.ts +12 -12
- package/src/namespaces/Perschar.ts +67 -67
- package/src/namespaces/Physics.ts +62 -62
- package/src/namespaces/PlayerStatics.ts +112 -112
- package/src/namespaces/Population.ts +131 -131
- package/src/namespaces/Posse.ts +81 -81
- package/src/namespaces/Propset.ts +92 -92
- 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 +296 -296
- package/src/namespaces/Streaming.ts +236 -236
- package/src/namespaces/Task.ts +583 -583
- package/src/namespaces/Telemetry.ts +125 -125
- 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 +1 -1
- 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 +7 -7
- package/src/namespaces/VolumeStatics.ts +143 -143
- package/src/namespaces/Water.ts +47 -47
- package/src/namespaces/WeaponStatics.ts +311 -311
- package/src/types/NativeAliases.ts +6 -1
package/dist/classes/Player.d.ts
CHANGED
|
@@ -9,140 +9,44 @@ export declare class Player implements IHandle {
|
|
|
9
9
|
constructor(handle: number);
|
|
10
10
|
static fromHandle(handle: number): Player | null;
|
|
11
11
|
/**
|
|
12
|
-
* Returns true if the player is riding a train.
|
|
13
|
-
*
|
|
14
|
-
* @returns
|
|
15
|
-
*/
|
|
16
|
-
isRidingTrain(): boolean;
|
|
17
|
-
/**
|
|
18
|
-
* Sets whether all trails are hidden during Eagle Eye mode.
|
|
19
|
-
*
|
|
20
|
-
* @param hide
|
|
21
|
-
*/
|
|
22
|
-
eagleEyeSetHideAllTrails(hide: boolean): void;
|
|
23
|
-
/**
|
|
24
|
-
* _IS_PLAYER_S* - _IS_PLAYER_T*
|
|
25
|
-
*
|
|
26
|
-
* @returns
|
|
27
|
-
*/
|
|
28
|
-
N_0x621D1B289CAF5978(): boolean;
|
|
29
|
-
/**
|
|
30
|
-
* Decreases the damage the player receives while on horseback
|
|
31
|
-
* Previous name: _SET_RECEIVED_HORSEBACK_DAMAGE_DECREASE
|
|
32
|
-
*
|
|
33
|
-
* @param damageDecrease
|
|
34
|
-
*/
|
|
35
|
-
setReceivedDamageTakenOnHorsebackModifier(damageDecrease: number): void;
|
|
36
|
-
/**
|
|
37
|
-
* @param toggle
|
|
38
|
-
*/
|
|
39
|
-
setCanMercyKill(toggle: boolean): void;
|
|
40
|
-
/**
|
|
41
|
-
* @param p1
|
|
42
|
-
* @param discoveryHash
|
|
43
|
-
* @returns
|
|
44
|
-
*/
|
|
45
|
-
getHasDiscoveredCharacterNameSp(p1: number, discoveryHash: string | number): any;
|
|
46
|
-
/**
|
|
47
|
-
* @param speech
|
|
48
|
-
*/
|
|
49
|
-
setInteractionPositiveResponse(speech: string | null): void;
|
|
50
|
-
/**
|
|
51
|
-
* This can be between 1.0f - 50.0f
|
|
52
|
-
*
|
|
53
|
-
* @param multiplier
|
|
54
|
-
*/
|
|
55
|
-
setAirDragMultiplierForPlayersVehicle(multiplier: number): void;
|
|
56
|
-
/**
|
|
57
|
-
* Only applies to HUNTERCART01
|
|
58
|
-
*
|
|
59
|
-
* @param wagon
|
|
60
|
-
*/
|
|
61
|
-
setHuntingWagon(wagon: Vehicle): void;
|
|
62
|
-
/**
|
|
63
|
-
* Applies a customizable aura effect to nearby entities when Deadeye is active, with control over aura intensity and additional behavior based on a flag parameter.
|
|
64
|
-
*
|
|
65
|
-
* @param p1
|
|
66
12
|
* @param p2
|
|
67
13
|
* @param p3
|
|
68
|
-
* @
|
|
69
|
-
* @param flag
|
|
70
|
-
*/
|
|
71
|
-
setDeadeyeEntityAuraIntensityWithFlag(p1: number, p2: number, p3: number, intensity: number, flag: number): void;
|
|
72
|
-
/**
|
|
73
|
-
* @param target
|
|
74
|
-
*/
|
|
75
|
-
setBountyTarget(target: Player): void;
|
|
76
|
-
/**
|
|
77
|
-
* Retrieves whether all trails are currently hidden during Eagle Eye mode for the specified player.
|
|
78
|
-
*
|
|
79
|
-
* @returns
|
|
80
|
-
*/
|
|
81
|
-
eagleEyeAreAllTrailsHidden(): any;
|
|
82
|
-
/**
|
|
83
|
-
* @returns
|
|
14
|
+
* @returns outEntity
|
|
84
15
|
*/
|
|
85
|
-
|
|
16
|
+
getInteractionTargetEntity(p2: boolean, p3: boolean): [any, Entity | null];
|
|
86
17
|
/**
|
|
87
|
-
* @param weaponGroup
|
|
88
18
|
* @param toggle
|
|
89
19
|
*/
|
|
90
|
-
|
|
20
|
+
set DeadeyeTaggingEnabled(toggle: boolean);
|
|
91
21
|
/**
|
|
92
|
-
* Returns false if PromptType is enabled
|
|
93
|
-
* Params: See 0x0751D461F06E41CE
|
|
94
|
-
*
|
|
95
|
-
* @param promptType
|
|
96
|
-
* @param promptMode
|
|
97
22
|
* @returns
|
|
98
23
|
*/
|
|
99
|
-
|
|
100
|
-
/**
|
|
101
|
-
* @param toggle
|
|
102
|
-
*/
|
|
103
|
-
setLockonToFriendlyPlayers(toggle: boolean): void;
|
|
24
|
+
get Stamina(): number;
|
|
104
25
|
/**
|
|
105
|
-
*
|
|
106
|
-
*
|
|
107
|
-
* @param targetPed
|
|
108
|
-
* @param promptOrder
|
|
109
|
-
* @param p3
|
|
26
|
+
* @param modifier
|
|
110
27
|
*/
|
|
111
|
-
|
|
112
|
-
/**
|
|
113
|
-
* https://github.com/Halen84/RDR3-Native-Flags-And-Enums/tree/main/ePlayerResetFlags
|
|
114
|
-
* https://github.com/femga/rdr3_discoveries/tree/master/AI/PLAYER_RESET_FLAGS
|
|
115
|
-
*
|
|
116
|
-
* @param playerResetFlag
|
|
117
|
-
* @param p2
|
|
118
|
-
*/
|
|
119
|
-
setResetFlag(playerResetFlag: number, p2: boolean): void;
|
|
28
|
+
set MeleeWeaponDamageModifier(modifier: number);
|
|
120
29
|
/**
|
|
121
30
|
* @returns
|
|
122
31
|
*/
|
|
123
|
-
|
|
124
|
-
/**
|
|
125
|
-
* @param closeRangeLowerBound
|
|
126
|
-
* @param closeRangeUpperBound
|
|
127
|
-
*/
|
|
128
|
-
setDamageCloseDistanceBonus(closeRangeLowerBound: number, closeRangeUpperBound: number): void;
|
|
129
|
-
/**
|
|
130
|
-
* @param multiplier
|
|
131
|
-
*/
|
|
132
|
-
setSneakingNoiseMultiplier(multiplier: number): void;
|
|
32
|
+
hasBeenSpottedInStolenVehicle(): boolean;
|
|
133
33
|
/**
|
|
134
|
-
*
|
|
34
|
+
* Enables or disables the Pick Up prompt for a hat on the ground for the specified player. When set to true, the player will see a prompt to pick up the hat if they are near it.
|
|
135
35
|
*
|
|
136
|
-
* @param
|
|
137
|
-
* @param bRestrictToThisScript
|
|
36
|
+
* @param canPickup
|
|
138
37
|
*/
|
|
139
|
-
|
|
38
|
+
set CanPickupHat(canPickup: boolean);
|
|
140
39
|
/**
|
|
141
|
-
*
|
|
40
|
+
* Sets the aura color for entities that the player can target in Deadeye mode, based on a specific hash value. This Native was previously named `SetPlayerStatFlagHash`, but it has been re-evaluated and renamed to better reflect its function in controlling the Deadeye aura color for targeted entities
|
|
41
|
+
* some colors
|
|
42
|
+
* 0: Default aura
|
|
43
|
+
* 1014693585
|
|
44
|
+
* 1936842089
|
|
45
|
+
* 1979474018
|
|
142
46
|
*
|
|
143
|
-
* @
|
|
47
|
+
* @param auraColorHash
|
|
144
48
|
*/
|
|
145
|
-
|
|
49
|
+
set DeadEyeAuraByHash(auraColorHash: string | number);
|
|
146
50
|
/**
|
|
147
51
|
* @param disabled
|
|
148
52
|
*/
|
|
@@ -164,7 +68,7 @@ export declare class Player implements IHandle {
|
|
|
164
68
|
/**
|
|
165
69
|
* @returns
|
|
166
70
|
*/
|
|
167
|
-
|
|
71
|
+
get CachedDeadEyeAmount(): number;
|
|
168
72
|
clearHasDamagedAtLeastOnePed(): void;
|
|
169
73
|
/**
|
|
170
74
|
* @param entity
|
|
@@ -177,7 +81,7 @@ export declare class Player implements IHandle {
|
|
|
177
81
|
*
|
|
178
82
|
* @returns
|
|
179
83
|
*/
|
|
180
|
-
|
|
84
|
+
get RequiredDeadEyeAmount(): number;
|
|
181
85
|
/**
|
|
182
86
|
* @param p1
|
|
183
87
|
*/
|
|
@@ -192,7 +96,7 @@ export declare class Player implements IHandle {
|
|
|
192
96
|
/**
|
|
193
97
|
* @param toggle
|
|
194
98
|
*/
|
|
195
|
-
|
|
99
|
+
set Lockon(toggle: boolean);
|
|
196
100
|
/**
|
|
197
101
|
* Sets the player's ability to wear hats based on the specified flag. The flag value determines whether the player can wear all hats or only the ones they own.
|
|
198
102
|
* If the flag is set to 15 and `allow` is true, the player can wear all available hats. However, if you want to restrict the player to wearing only their owned hats (flag 1), you **must first** disable flag 15 by setting it to false, and then set flag 1 to true.
|
|
@@ -204,7 +108,7 @@ export declare class Player implements IHandle {
|
|
|
204
108
|
/**
|
|
205
109
|
* @param closeDamageBonus
|
|
206
110
|
*/
|
|
207
|
-
|
|
111
|
+
set DamageCloseDistanceBonusTotal(closeDamageBonus: number);
|
|
208
112
|
/**
|
|
209
113
|
* Params: p1 = -1 in R* Scripts
|
|
210
114
|
*
|
|
@@ -215,7 +119,7 @@ export declare class Player implements IHandle {
|
|
|
215
119
|
/**
|
|
216
120
|
* @param multiplier
|
|
217
121
|
*/
|
|
218
|
-
|
|
122
|
+
set StaminaSprintDepletionMultiplier(multiplier: number);
|
|
219
123
|
/**
|
|
220
124
|
* @param p1
|
|
221
125
|
*/
|
|
@@ -225,11 +129,11 @@ export declare class Player implements IHandle {
|
|
|
225
129
|
*
|
|
226
130
|
* @returns entity
|
|
227
131
|
*/
|
|
228
|
-
|
|
132
|
+
get InteractionAimEntity(): [boolean, Entity | null];
|
|
229
133
|
/**
|
|
230
134
|
* @param modifier
|
|
231
135
|
*/
|
|
232
|
-
|
|
136
|
+
set WeaponDefenseModifier(modifier: number);
|
|
233
137
|
/**
|
|
234
138
|
* @returns
|
|
235
139
|
*/
|
|
@@ -237,13 +141,13 @@ export declare class Player implements IHandle {
|
|
|
237
141
|
/**
|
|
238
142
|
* @returns
|
|
239
143
|
*/
|
|
240
|
-
|
|
144
|
+
get DeadeyeAbilityLevel(): number;
|
|
241
145
|
/**
|
|
242
146
|
* This native is used to determine if the player has an active lockon an entity while riding a horse.
|
|
243
147
|
*
|
|
244
148
|
* @returns
|
|
245
149
|
*/
|
|
246
|
-
|
|
150
|
+
get IsOnMountLockonEntity(): boolean;
|
|
247
151
|
suppressWitnessesCallingPoliceThisFrame(): void;
|
|
248
152
|
/**
|
|
249
153
|
* bullet damage modifier: type = 4
|
|
@@ -276,11 +180,11 @@ export declare class Player implements IHandle {
|
|
|
276
180
|
/**
|
|
277
181
|
* @param accuracy
|
|
278
182
|
*/
|
|
279
|
-
|
|
183
|
+
set TotalAccuracyModifier(accuracy: number);
|
|
280
184
|
/**
|
|
281
185
|
* @returns
|
|
282
186
|
*/
|
|
283
|
-
|
|
187
|
+
get VehicleOwnedByPlayer(): Vehicle | null;
|
|
284
188
|
/**
|
|
285
189
|
* Activates EagleEye, called together with 0x28A13BF6B05C3D83
|
|
286
190
|
*/
|
|
@@ -304,7 +208,7 @@ export declare class Player implements IHandle {
|
|
|
304
208
|
/**
|
|
305
209
|
* @param multiplier
|
|
306
210
|
*/
|
|
307
|
-
|
|
211
|
+
set StaminaRechargeMultiplier(multiplier: number);
|
|
308
212
|
/**
|
|
309
213
|
* Deactivates EagleEye, called together with 0xC0B21F235C02139C
|
|
310
214
|
*
|
|
@@ -324,13 +228,13 @@ export declare class Player implements IHandle {
|
|
|
324
228
|
/**
|
|
325
229
|
* @param modifier
|
|
326
230
|
*/
|
|
327
|
-
|
|
231
|
+
set WeaponDegradationModifier(modifier: number);
|
|
328
232
|
/**
|
|
329
233
|
* Only used in R* SP Script short_update
|
|
330
234
|
*
|
|
331
235
|
* @param timer
|
|
332
236
|
*/
|
|
333
|
-
|
|
237
|
+
set SpecialAbilityDisableTimer(timer: number);
|
|
334
238
|
/**
|
|
335
239
|
* @param abilityType
|
|
336
240
|
* @param toggle
|
|
@@ -348,18 +252,18 @@ export declare class Player implements IHandle {
|
|
|
348
252
|
*
|
|
349
253
|
* @returns
|
|
350
254
|
*/
|
|
351
|
-
|
|
255
|
+
get IsClimbing(): boolean;
|
|
352
256
|
/**
|
|
353
257
|
* @returns Refer to [enum: ePedMood]
|
|
354
258
|
*/
|
|
355
|
-
|
|
259
|
+
get Mood(): number;
|
|
356
260
|
clearBountyTarget(): void;
|
|
357
261
|
/**
|
|
358
262
|
* Focus Fire VFX start for player: p1 = focusfire
|
|
359
263
|
*
|
|
360
264
|
* @param p1
|
|
361
265
|
*/
|
|
362
|
-
|
|
266
|
+
set LockonFocusFireVfx(p1: string | null);
|
|
363
267
|
/**
|
|
364
268
|
* Params: https://github.com/Halen84/RDR3-Native-Flags-And-Enums/tree/main/ePromptType
|
|
365
269
|
* promptType is mostly 34 (PP_TRACK_ANIMAL), promptMode = 0 (PP_MODE_BLOCK) in R* Scripts
|
|
@@ -401,7 +305,7 @@ export declare class Player implements IHandle {
|
|
|
401
305
|
/**
|
|
402
306
|
* @param vehicle
|
|
403
307
|
*/
|
|
404
|
-
|
|
308
|
+
set OwnsVehicle(vehicle: Vehicle);
|
|
405
309
|
/**
|
|
406
310
|
* @returns
|
|
407
311
|
*/
|
|
@@ -411,7 +315,7 @@ export declare class Player implements IHandle {
|
|
|
411
315
|
*
|
|
412
316
|
* @param mount
|
|
413
317
|
*/
|
|
414
|
-
|
|
318
|
+
set OwnsMount(mount: Ped);
|
|
415
319
|
/**
|
|
416
320
|
* nullsub, doesn't do anything
|
|
417
321
|
*/
|
|
@@ -421,7 +325,7 @@ export declare class Player implements IHandle {
|
|
|
421
325
|
*
|
|
422
326
|
* @returns
|
|
423
327
|
*/
|
|
424
|
-
|
|
328
|
+
get PedScriptIndex(): Ped | null;
|
|
425
329
|
/**
|
|
426
330
|
* Retrieves the ID of the ped that the specified player is currently tracking while in Eagle Eye mode.
|
|
427
331
|
*
|
|
@@ -431,13 +335,13 @@ export declare class Player implements IHandle {
|
|
|
431
335
|
/**
|
|
432
336
|
* @returns Returns the player name, or if the player doesn't exist, it returns "**Invalid**"
|
|
433
337
|
*/
|
|
434
|
-
|
|
338
|
+
get Name(): string | null;
|
|
435
339
|
/**
|
|
436
340
|
* Seems to work similar to 0xD2CB0FB0FDCB473D
|
|
437
341
|
*
|
|
438
342
|
* @param horse
|
|
439
343
|
*/
|
|
440
|
-
|
|
344
|
+
set PedActiveHorse(horse: Ped);
|
|
441
345
|
/**
|
|
442
346
|
* Name could potentially be inaccurate.
|
|
443
347
|
* Used in Script Function HORSE_SETUP_PLAYER_HORSE_ATTRIBUTES (p1 = true)
|
|
@@ -445,7 +349,7 @@ export declare class Player implements IHandle {
|
|
|
445
349
|
*
|
|
446
350
|
* @param active
|
|
447
351
|
*/
|
|
448
|
-
|
|
352
|
+
set MountStateActive(active: boolean);
|
|
449
353
|
/**
|
|
450
354
|
* _IS_PLAYER_I* - _IS_PLAYER_P*
|
|
451
355
|
*
|
|
@@ -467,7 +371,7 @@ export declare class Player implements IHandle {
|
|
|
467
371
|
*
|
|
468
372
|
* @param label
|
|
469
373
|
*/
|
|
470
|
-
|
|
374
|
+
set SitPromptText(label: string | null);
|
|
471
375
|
updateWantedPositionThisFrame(): void;
|
|
472
376
|
/**
|
|
473
377
|
* @param entity
|
|
@@ -484,7 +388,7 @@ export declare class Player implements IHandle {
|
|
|
484
388
|
*
|
|
485
389
|
* @param label
|
|
486
390
|
*/
|
|
487
|
-
|
|
391
|
+
set MeleePromptText(label: string | null);
|
|
488
392
|
/**
|
|
489
393
|
* Used in script function INIT_DEADEYE_SLOWDOWN
|
|
490
394
|
*
|
|
@@ -511,13 +415,13 @@ export declare class Player implements IHandle {
|
|
|
511
415
|
/**
|
|
512
416
|
* @param modifier
|
|
513
417
|
*/
|
|
514
|
-
|
|
418
|
+
set ExplosiveWeaponDamageModifier(modifier: number);
|
|
515
419
|
/**
|
|
516
420
|
* returns true if the player is on a road while riding a horse but at a certain speed, if you go off road then it returns false or if you go too slow like walking state it also returns false
|
|
517
421
|
*
|
|
518
422
|
* @returns
|
|
519
423
|
*/
|
|
520
|
-
|
|
424
|
+
get IsMountOnRoad(): any;
|
|
521
425
|
/**
|
|
522
426
|
* @param entity
|
|
523
427
|
* @returns
|
|
@@ -528,21 +432,21 @@ export declare class Player implements IHandle {
|
|
|
528
432
|
*
|
|
529
433
|
* @param level
|
|
530
434
|
*/
|
|
531
|
-
|
|
435
|
+
set DeadeyeAbilityLevel(level: number);
|
|
532
436
|
/**
|
|
533
437
|
* Shows or hides all Pick Up prompts for the specified player, including the prompt for picking up hats from the ground. When set to true, the player will see Pick Up prompts for all nearby items. If set to false, all Pick Up prompts will be hidden.
|
|
534
438
|
*
|
|
535
439
|
* @param enable
|
|
536
440
|
*/
|
|
537
|
-
|
|
441
|
+
set PickupPromptVisible(enable: boolean);
|
|
538
442
|
/**
|
|
539
443
|
* @param mount
|
|
540
444
|
*/
|
|
541
|
-
|
|
445
|
+
set PedAsSaddleHorseForPlayer(mount: Ped);
|
|
542
446
|
/**
|
|
543
447
|
* @returns
|
|
544
448
|
*/
|
|
545
|
-
|
|
449
|
+
get ActiveHorseForPlayer(): Ped | null;
|
|
546
450
|
/**
|
|
547
451
|
* @param entity
|
|
548
452
|
* @param p2
|
|
@@ -583,17 +487,17 @@ export declare class Player implements IHandle {
|
|
|
583
487
|
/**
|
|
584
488
|
* @returns
|
|
585
489
|
*/
|
|
586
|
-
|
|
490
|
+
get StaminaRechargeMultiplier(): number;
|
|
587
491
|
/**
|
|
588
492
|
* Returns the depletion delay value for the Deadeye ability that was previously set using `SetDeadeyeAbilityDepletionDelay - 0x870634493CB4372C`
|
|
589
493
|
*
|
|
590
494
|
* @returns
|
|
591
495
|
*/
|
|
592
|
-
|
|
496
|
+
get DeadeyeAbilityDepletionDelay(): any;
|
|
593
497
|
/**
|
|
594
498
|
* @returns
|
|
595
499
|
*/
|
|
596
|
-
|
|
500
|
+
get IsReadyForCutscene(): boolean;
|
|
597
501
|
/**
|
|
598
502
|
* @param p1
|
|
599
503
|
*/
|
|
@@ -622,13 +526,13 @@ export declare class Player implements IHandle {
|
|
|
622
526
|
/**
|
|
623
527
|
* @returns
|
|
624
528
|
*/
|
|
625
|
-
|
|
529
|
+
get Ped(): Ped | null;
|
|
626
530
|
/**
|
|
627
531
|
* Sets whether all random peds will run away from player if they are agitated (threatened) (bool=true), or some peds can stand up for themselves (bool=false).
|
|
628
532
|
*
|
|
629
533
|
* @param toggle
|
|
630
534
|
*/
|
|
631
|
-
|
|
535
|
+
set AllRandomPedsFlee(toggle: boolean);
|
|
632
536
|
/**
|
|
633
537
|
* @param p1
|
|
634
538
|
* @param discoveryHash
|
|
@@ -637,11 +541,11 @@ export declare class Player implements IHandle {
|
|
|
637
541
|
/**
|
|
638
542
|
* @returns entity
|
|
639
543
|
*/
|
|
640
|
-
|
|
544
|
+
get EntityIsFreeAimingAt(): [boolean, Entity | null];
|
|
641
545
|
/**
|
|
642
546
|
* @returns
|
|
643
547
|
*/
|
|
644
|
-
|
|
548
|
+
get TempHorse(): Ped | null;
|
|
645
549
|
/**
|
|
646
550
|
* this native checks if the player has damaged or killed any ped human/animal recently within the duration passed, either by shooting or even using melee
|
|
647
551
|
* duration is in miliseconds
|
|
@@ -653,35 +557,35 @@ export declare class Player implements IHandle {
|
|
|
653
557
|
/**
|
|
654
558
|
* @returns entity
|
|
655
559
|
*/
|
|
656
|
-
|
|
560
|
+
get TargetEntity(): [boolean, Entity | null];
|
|
657
561
|
/**
|
|
658
562
|
* @returns Returns true if the ped has a ped, and the ped is alive and not arrested.
|
|
659
563
|
*/
|
|
660
|
-
|
|
564
|
+
get IsPlaying(): boolean;
|
|
661
565
|
/**
|
|
662
566
|
* @returns
|
|
663
567
|
*/
|
|
664
|
-
|
|
568
|
+
get SaddleHorseForPlayer(): Ped | null;
|
|
665
569
|
/**
|
|
666
570
|
* Affects the range of auto aim target.
|
|
667
571
|
*
|
|
668
572
|
* @param range
|
|
669
573
|
*/
|
|
670
|
-
|
|
574
|
+
set LockonRangeOverride(range: number);
|
|
671
575
|
/**
|
|
672
576
|
* @returns
|
|
673
577
|
*/
|
|
674
|
-
|
|
578
|
+
get HuntingWagon(): Vehicle | null;
|
|
675
579
|
/**
|
|
676
580
|
* @param modifier
|
|
677
581
|
*/
|
|
678
|
-
|
|
582
|
+
set TrampleDamageModifier(modifier: number);
|
|
679
583
|
/**
|
|
680
584
|
* Checks if player is focused on any entity
|
|
681
585
|
*
|
|
682
586
|
* @returns
|
|
683
587
|
*/
|
|
684
|
-
|
|
588
|
+
get IsFreeFocusing(): any;
|
|
685
589
|
/**
|
|
686
590
|
* flags: https://github.com/Halen84/RDR3-Native-Flags-And-Enums/tree/main/eSetPlayerControlFlags
|
|
687
591
|
*
|
|
@@ -695,37 +599,37 @@ export declare class Player implements IHandle {
|
|
|
695
599
|
*
|
|
696
600
|
* @returns
|
|
697
601
|
*/
|
|
698
|
-
|
|
602
|
+
get IsSecondarySpecialAbilityEnabled(): boolean;
|
|
699
603
|
/**
|
|
700
604
|
* @param multiplier
|
|
701
605
|
*/
|
|
702
|
-
|
|
606
|
+
set NoiseMultiplier(multiplier: number);
|
|
703
607
|
/**
|
|
704
608
|
* Gets a value indicating whether the specified player is currently aiming freely.
|
|
705
609
|
*
|
|
706
610
|
* @returns
|
|
707
611
|
*/
|
|
708
|
-
|
|
612
|
+
get IsFreeAiming(): boolean;
|
|
709
613
|
/**
|
|
710
614
|
* @param showingInfoCard
|
|
711
615
|
*/
|
|
712
|
-
|
|
616
|
+
set ShowInfoCard(showingInfoCard: boolean);
|
|
713
617
|
/**
|
|
714
618
|
* @param regenRate
|
|
715
619
|
*/
|
|
716
|
-
|
|
620
|
+
set HealthRechargeMultiplier(regenRate: number);
|
|
717
621
|
/**
|
|
718
622
|
* damageInfo: STANDARD_PED_DAMAGE, STANDARD_FEMALE_PED_DAMAGE, STANDARD_PLAYER_PED_DAMAGE_MP, STANDARD_FEMALE_PLAYER_PED_DAMAGE_MP
|
|
719
623
|
*
|
|
720
624
|
* @param damageInfo
|
|
721
625
|
*/
|
|
722
|
-
|
|
626
|
+
set DamageInfoOverride(damageInfo: string | null);
|
|
723
627
|
/**
|
|
724
628
|
* Sets whether this player can be hassled by gangs.
|
|
725
629
|
*
|
|
726
630
|
* @param toggle
|
|
727
631
|
*/
|
|
728
|
-
|
|
632
|
+
set CanBeHassledByGangs(toggle: boolean);
|
|
729
633
|
/**
|
|
730
634
|
* Clears the intensity of aura effects applied to entities for a specific player in Deadeye mode based on a flag parameter. This function is used to reset any intensity modifications set by `_SET_DEADEYE_ENTITY_AURA_INTENSITY_WITH_FLAG - 0x131E294EF60160DF`, restoring affected entities' aura intensity to their default state.
|
|
731
635
|
*
|
|
@@ -737,7 +641,7 @@ export declare class Player implements IHandle {
|
|
|
737
641
|
*
|
|
738
642
|
* @param staminaDrain
|
|
739
643
|
*/
|
|
740
|
-
|
|
644
|
+
set BowStaminaDrainSpeed(staminaDrain: number);
|
|
741
645
|
setAllRandomPedsFleeThisFrame(): void;
|
|
742
646
|
/**
|
|
743
647
|
* Unsure what it does, sets a Vector on the CPlayerInfo but it doesn't? look like its used anywhere
|
|
@@ -750,7 +654,7 @@ export declare class Player implements IHandle {
|
|
|
750
654
|
*
|
|
751
655
|
* @param damage
|
|
752
656
|
*/
|
|
753
|
-
|
|
657
|
+
set LassoDamagePerSecond(damage: number);
|
|
754
658
|
/**
|
|
755
659
|
* Return true while player is being arrested / busted. If atArresting is set to 1, this function will return 1 when player is being arrested (while player is putting his hand up, but still have control) If atArresting is set to 0, this function will return 1 only when the busted screen is shown.
|
|
756
660
|
*
|
|
@@ -768,12 +672,12 @@ export declare class Player implements IHandle {
|
|
|
768
672
|
/**
|
|
769
673
|
* @param farDamageBonus
|
|
770
674
|
*/
|
|
771
|
-
|
|
675
|
+
set DamageFarDistanceBonusTotal(farDamageBonus: number);
|
|
772
676
|
setMayNotEnterAnyVehicle(): void;
|
|
773
677
|
/**
|
|
774
678
|
* @returns
|
|
775
679
|
*/
|
|
776
|
-
|
|
680
|
+
get Health(): number;
|
|
777
681
|
resetWantedLevelDifficulty(): void;
|
|
778
682
|
/**
|
|
779
683
|
* @param linkedWaypointPed
|
|
@@ -782,7 +686,7 @@ export declare class Player implements IHandle {
|
|
|
782
686
|
/**
|
|
783
687
|
* @returns
|
|
784
688
|
*/
|
|
785
|
-
|
|
689
|
+
get NumMarkedDeadeyeTargets(): number;
|
|
786
690
|
/**
|
|
787
691
|
* @param weaponHash Refer to [enum: eWeaponHash]
|
|
788
692
|
* @returns
|
|
@@ -798,7 +702,7 @@ export declare class Player implements IHandle {
|
|
|
798
702
|
/**
|
|
799
703
|
* @param speech
|
|
800
704
|
*/
|
|
801
|
-
|
|
705
|
+
set InteractionNegativeResponse(speech: string | null);
|
|
802
706
|
/**
|
|
803
707
|
* Params: p1, p2, p3, p4 = 1.f, 0, 0, 0 in R* Scripts
|
|
804
708
|
* _SPECIAL_ABILITY*
|
|
@@ -812,17 +716,17 @@ export declare class Player implements IHandle {
|
|
|
812
716
|
/**
|
|
813
717
|
* @param toggle
|
|
814
718
|
*/
|
|
815
|
-
|
|
719
|
+
set SimulateAiming(toggle: boolean);
|
|
816
720
|
/**
|
|
817
721
|
* @returns
|
|
818
722
|
*/
|
|
819
|
-
|
|
723
|
+
get AiDefenseModifierAgainstAi(): number;
|
|
820
724
|
/**
|
|
821
725
|
* Setting player's Health recharge time to zero forces immediate health regen
|
|
822
726
|
*
|
|
823
727
|
* @param modifier
|
|
824
728
|
*/
|
|
825
|
-
|
|
729
|
+
set HealthRechargeTimeModifier(modifier: number);
|
|
826
730
|
/**
|
|
827
731
|
* Returns true if the given player has a valid ped.
|
|
828
732
|
*
|
|
@@ -832,7 +736,7 @@ export declare class Player implements IHandle {
|
|
|
832
736
|
/**
|
|
833
737
|
* @param accuracy
|
|
834
738
|
*/
|
|
835
|
-
|
|
739
|
+
set RemoteAccuracyFloorModifier(accuracy: number);
|
|
836
740
|
/**
|
|
837
741
|
* @param weapon
|
|
838
742
|
* @param speed
|
|
@@ -841,11 +745,11 @@ export declare class Player implements IHandle {
|
|
|
841
745
|
/**
|
|
842
746
|
* @returns
|
|
843
747
|
*/
|
|
844
|
-
|
|
748
|
+
get StaminaDepletionMultiplier(): number;
|
|
845
749
|
/**
|
|
846
750
|
* @returns
|
|
847
751
|
*/
|
|
848
|
-
|
|
752
|
+
get CurrentStealthNoise(): number;
|
|
849
753
|
/**
|
|
850
754
|
* @param ped
|
|
851
755
|
* @returns
|
|
@@ -856,7 +760,7 @@ export declare class Player implements IHandle {
|
|
|
856
760
|
*
|
|
857
761
|
* @param mood Refer to [enum: ePedMood]
|
|
858
762
|
*/
|
|
859
|
-
|
|
763
|
+
set Mood(mood: number);
|
|
860
764
|
/**
|
|
861
765
|
* Params: See 0x0751D461F06E41CE
|
|
862
766
|
*
|
|
@@ -877,7 +781,7 @@ export declare class Player implements IHandle {
|
|
|
877
781
|
*
|
|
878
782
|
* @param disable
|
|
879
783
|
*/
|
|
880
|
-
|
|
784
|
+
set DisableWantedLevel(disable: boolean);
|
|
881
785
|
/**
|
|
882
786
|
* Disables the previously set interactive focus mode preset for a given player. see `_SET_PLAYER_INTERACTIVE_FOCUS_PRESET - 0x3C1B1807C7A415D6`
|
|
883
787
|
*
|
|
@@ -887,15 +791,15 @@ export declare class Player implements IHandle {
|
|
|
887
791
|
/**
|
|
888
792
|
* @param p1
|
|
889
793
|
*/
|
|
890
|
-
|
|
794
|
+
set ManageBuffSuperJump(p1: number);
|
|
891
795
|
/**
|
|
892
796
|
* @param multiplier
|
|
893
797
|
*/
|
|
894
|
-
|
|
798
|
+
set SpecialAbilityMultiplier(multiplier: number);
|
|
895
799
|
/**
|
|
896
800
|
* @param accuracy
|
|
897
801
|
*/
|
|
898
|
-
|
|
802
|
+
set LocalAccuracyFloorModifier(accuracy: number);
|
|
899
803
|
/**
|
|
900
804
|
* @param wantedLevel
|
|
901
805
|
* @returns
|
|
@@ -913,17 +817,17 @@ export declare class Player implements IHandle {
|
|
|
913
817
|
*
|
|
914
818
|
* @param type
|
|
915
819
|
*/
|
|
916
|
-
|
|
820
|
+
set SpecialAbilityType(type: number);
|
|
917
821
|
/**
|
|
918
822
|
* @param toggle
|
|
919
823
|
*/
|
|
920
|
-
|
|
824
|
+
set EveryoneIgnorePlayer(toggle: boolean);
|
|
921
825
|
/**
|
|
922
826
|
* Sets whether this player can take cover.
|
|
923
827
|
*
|
|
924
828
|
* @param toggle
|
|
925
829
|
*/
|
|
926
|
-
|
|
830
|
+
set CanUseCover(toggle: boolean);
|
|
927
831
|
/**
|
|
928
832
|
* @param ped
|
|
929
833
|
*/
|
|
@@ -946,7 +850,7 @@ export declare class Player implements IHandle {
|
|
|
946
850
|
/**
|
|
947
851
|
* @param filter
|
|
948
852
|
*/
|
|
949
|
-
|
|
853
|
+
set DeadeyeTaggingConfig(filter: number);
|
|
950
854
|
/**
|
|
951
855
|
* (Un)lock Eagle Eye functionality
|
|
952
856
|
*
|
|
@@ -963,7 +867,7 @@ export declare class Player implements IHandle {
|
|
|
963
867
|
/**
|
|
964
868
|
* @returns
|
|
965
869
|
*/
|
|
966
|
-
|
|
870
|
+
get IsSpecialAbilityActive(): any;
|
|
967
871
|
reportPoliceSpottedPlayer(): void;
|
|
968
872
|
/**
|
|
969
873
|
* @param p1
|
|
@@ -974,7 +878,7 @@ export declare class Player implements IHandle {
|
|
|
974
878
|
/**
|
|
975
879
|
* @returns
|
|
976
880
|
*/
|
|
977
|
-
|
|
881
|
+
get SpecialAbilityMultiplier(): number;
|
|
978
882
|
/**
|
|
979
883
|
* Sets the weapon that the specified player will aim with. The weapon must already be assigned to the PED. This also determines the weapon order, specifying which weapon the player will automatically switch to when the current weapon runs out of ammo.
|
|
980
884
|
*
|
|
@@ -1001,18 +905,18 @@ export declare class Player implements IHandle {
|
|
|
1001
905
|
/**
|
|
1002
906
|
* @returns
|
|
1003
907
|
*/
|
|
1004
|
-
|
|
908
|
+
get IsScriptControlOn(): boolean;
|
|
1005
909
|
/**
|
|
1006
910
|
* @returns
|
|
1007
911
|
*/
|
|
1008
|
-
|
|
912
|
+
get IsSecondarySpecialAbilityActive(): any;
|
|
1009
913
|
N_0xC900A465364A85D6(): void;
|
|
1010
914
|
/**
|
|
1011
915
|
* Returns the group ID the player is member of.
|
|
1012
916
|
*
|
|
1013
917
|
* @returns
|
|
1014
918
|
*/
|
|
1015
|
-
|
|
919
|
+
get Group(): number;
|
|
1016
920
|
/**
|
|
1017
921
|
* Sets stamina core drains peed using ranged damage scale and melee damage scale
|
|
1018
922
|
*
|
|
@@ -1025,17 +929,17 @@ export declare class Player implements IHandle {
|
|
|
1025
929
|
*
|
|
1026
930
|
* @param modifier
|
|
1027
931
|
*/
|
|
1028
|
-
|
|
932
|
+
set WeaponDamageModifier(modifier: number);
|
|
1029
933
|
/**
|
|
1030
934
|
* durationCost: per second
|
|
1031
935
|
*
|
|
1032
936
|
* @param durationCost
|
|
1033
937
|
*/
|
|
1034
|
-
|
|
938
|
+
set SpecialAbilityDurationCost(durationCost: number);
|
|
1035
939
|
/**
|
|
1036
940
|
* @returns
|
|
1037
941
|
*/
|
|
1038
|
-
|
|
942
|
+
get IsTargettingAnything(): boolean;
|
|
1039
943
|
/**
|
|
1040
944
|
* @param modifier
|
|
1041
945
|
*/
|
|
@@ -1043,11 +947,11 @@ export declare class Player implements IHandle {
|
|
|
1043
947
|
/**
|
|
1044
948
|
* @returns
|
|
1045
949
|
*/
|
|
1046
|
-
|
|
950
|
+
get DeadEye(): number;
|
|
1047
951
|
/**
|
|
1048
952
|
* @returns
|
|
1049
953
|
*/
|
|
1050
|
-
|
|
954
|
+
get IsInScope(): any;
|
|
1051
955
|
/**
|
|
1052
956
|
* SET_PLAYER_S/T*
|
|
1053
957
|
*
|
|
@@ -1060,44 +964,66 @@ export declare class Player implements IHandle {
|
|
|
1060
964
|
*/
|
|
1061
965
|
boostHorseSpeedForTime(speedBoost: number, duration: number): void;
|
|
1062
966
|
/**
|
|
1063
|
-
*
|
|
1064
|
-
*
|
|
1065
|
-
* @returns
|
|
967
|
+
* Returns true if the player is riding a train.
|
|
968
|
+
*
|
|
969
|
+
* @returns
|
|
1066
970
|
*/
|
|
1067
|
-
|
|
971
|
+
get IsRidingTrain(): boolean;
|
|
1068
972
|
/**
|
|
1069
|
-
*
|
|
973
|
+
* Sets whether all trails are hidden during Eagle Eye mode.
|
|
974
|
+
*
|
|
975
|
+
* @param hide
|
|
1070
976
|
*/
|
|
1071
|
-
|
|
977
|
+
eagleEyeSetHideAllTrails(hide: boolean): void;
|
|
1072
978
|
/**
|
|
979
|
+
* _IS_PLAYER_S* - _IS_PLAYER_T*
|
|
980
|
+
*
|
|
1073
981
|
* @returns
|
|
1074
982
|
*/
|
|
1075
|
-
|
|
983
|
+
N_0x621D1B289CAF5978(): boolean;
|
|
1076
984
|
/**
|
|
1077
|
-
*
|
|
985
|
+
* Decreases the damage the player receives while on horseback
|
|
986
|
+
* Previous name: _SET_RECEIVED_HORSEBACK_DAMAGE_DECREASE
|
|
987
|
+
*
|
|
988
|
+
* @param damageDecrease
|
|
989
|
+
*/
|
|
990
|
+
set ReceivedDamageTakenOnHorsebackModifier(damageDecrease: number);
|
|
991
|
+
/**
|
|
992
|
+
* @param toggle
|
|
1078
993
|
*/
|
|
1079
|
-
|
|
994
|
+
set CanMercyKill(toggle: boolean);
|
|
1080
995
|
/**
|
|
996
|
+
* @param p1
|
|
997
|
+
* @param discoveryHash
|
|
1081
998
|
* @returns
|
|
1082
999
|
*/
|
|
1083
|
-
|
|
1000
|
+
getHasDiscoveredCharacterNameSp(p1: number, discoveryHash: string | number): any;
|
|
1084
1001
|
/**
|
|
1085
|
-
*
|
|
1002
|
+
* @param speech
|
|
1003
|
+
*/
|
|
1004
|
+
set InteractionPositiveResponse(speech: string | null);
|
|
1005
|
+
/**
|
|
1006
|
+
* This can be between 1.0f - 50.0f
|
|
1086
1007
|
*
|
|
1087
|
-
* @param
|
|
1008
|
+
* @param multiplier
|
|
1088
1009
|
*/
|
|
1089
|
-
|
|
1010
|
+
set AirDragMultiplierForPlayersVehicle(multiplier: number);
|
|
1090
1011
|
/**
|
|
1091
|
-
*
|
|
1092
|
-
* some colors
|
|
1093
|
-
* 0: Default aura
|
|
1094
|
-
* 1014693585
|
|
1095
|
-
* 1936842089
|
|
1096
|
-
* 1979474018
|
|
1012
|
+
* Only applies to HUNTERCART01
|
|
1097
1013
|
*
|
|
1098
|
-
* @param
|
|
1014
|
+
* @param wagon
|
|
1015
|
+
*/
|
|
1016
|
+
set HuntingWagon(wagon: Vehicle);
|
|
1017
|
+
/**
|
|
1018
|
+
* Applies a customizable aura effect to nearby entities when Deadeye is active, with control over aura intensity and additional behavior based on a flag parameter.
|
|
1019
|
+
*
|
|
1020
|
+
* @param p1
|
|
1021
|
+
* @param p2
|
|
1022
|
+
* @param p3
|
|
1023
|
+
* @param intensity
|
|
1024
|
+
* @param flag
|
|
1099
1025
|
*/
|
|
1100
|
-
|
|
1026
|
+
setDeadeyeEntityAuraIntensityWithFlag(p1: number, p2: number, p3: number, intensity: number, flag: number): void;
|
|
1101
1027
|
/**
|
|
1102
1028
|
* Returns true if PromptType is enabled for ped (mount)
|
|
1103
1029
|
* Params: See 0x0751D461F06E41CE
|
|
@@ -1113,11 +1039,11 @@ export declare class Player implements IHandle {
|
|
|
1113
1039
|
*
|
|
1114
1040
|
* @param flag
|
|
1115
1041
|
*/
|
|
1116
|
-
|
|
1042
|
+
set DeadeyeEntityAuraWithFlag(flag: number);
|
|
1117
1043
|
/**
|
|
1118
1044
|
* @returns
|
|
1119
1045
|
*/
|
|
1120
|
-
|
|
1046
|
+
get MountOwnedByPlayer(): Ped | null;
|
|
1121
1047
|
/**
|
|
1122
1048
|
* @param weaponHash Refer to [enum: eWeaponHash]
|
|
1123
1049
|
* @param damageModifier
|
|
@@ -1146,7 +1072,7 @@ export declare class Player implements IHandle {
|
|
|
1146
1072
|
/**
|
|
1147
1073
|
* @param drawReductionTime
|
|
1148
1074
|
*/
|
|
1149
|
-
|
|
1075
|
+
set BowDrawReductionTimeInDeadeye(drawReductionTime: number);
|
|
1150
1076
|
/**
|
|
1151
1077
|
* Checks if the player can focus on tracks while in Eagle Eye mode. Returns true if the player is able to focus on a track, otherwise false.
|
|
1152
1078
|
*
|
|
@@ -1175,18 +1101,18 @@ export declare class Player implements IHandle {
|
|
|
1175
1101
|
*
|
|
1176
1102
|
* @param modifier
|
|
1177
1103
|
*/
|
|
1178
|
-
|
|
1104
|
+
set AiDefenseModifierAgainstAi(modifier: number);
|
|
1179
1105
|
/**
|
|
1180
1106
|
* Gets the player's team.
|
|
1181
1107
|
* Returns -1 in singleplayer.
|
|
1182
1108
|
*
|
|
1183
1109
|
* @returns
|
|
1184
1110
|
*/
|
|
1185
|
-
|
|
1111
|
+
get Team(): number;
|
|
1186
1112
|
/**
|
|
1187
1113
|
* @returns
|
|
1188
1114
|
*/
|
|
1189
|
-
|
|
1115
|
+
get HealthRechargeMultiplier(): number;
|
|
1190
1116
|
/**
|
|
1191
1117
|
* Used in script function: NET_AUTO_FOLLOW_UPDATE_LEADER_VALUES
|
|
1192
1118
|
* followMode:
|
|
@@ -1214,7 +1140,7 @@ export declare class Player implements IHandle {
|
|
|
1214
1140
|
*
|
|
1215
1141
|
* @param promptTextKey
|
|
1216
1142
|
*/
|
|
1217
|
-
|
|
1143
|
+
set PromptLeaveText(promptTextKey: string | null);
|
|
1218
1144
|
/**
|
|
1219
1145
|
* Retrieves the number of marks placed on a PED when Deadeye mode is active for the specified player.
|
|
1220
1146
|
*
|
|
@@ -1225,7 +1151,7 @@ export declare class Player implements IHandle {
|
|
|
1225
1151
|
/**
|
|
1226
1152
|
* @returns
|
|
1227
1153
|
*/
|
|
1228
|
-
|
|
1154
|
+
get Ped2(): Ped | null;
|
|
1229
1155
|
/**
|
|
1230
1156
|
* @param p1
|
|
1231
1157
|
* @returns
|
|
@@ -1251,18 +1177,18 @@ export declare class Player implements IHandle {
|
|
|
1251
1177
|
*
|
|
1252
1178
|
* @param delay
|
|
1253
1179
|
*/
|
|
1254
|
-
|
|
1180
|
+
set DeadeyeAbilityDepletionDelay(delay: number);
|
|
1255
1181
|
/**
|
|
1256
1182
|
* Swim speed multiplier.
|
|
1257
1183
|
* Multiplier goes up to 1.49f
|
|
1258
1184
|
*
|
|
1259
1185
|
* @param multiplier
|
|
1260
1186
|
*/
|
|
1261
|
-
|
|
1187
|
+
set SwimMultiplierForPlayer(multiplier: number);
|
|
1262
1188
|
/**
|
|
1263
1189
|
* @returns
|
|
1264
1190
|
*/
|
|
1265
|
-
|
|
1191
|
+
get IsDead(): boolean;
|
|
1266
1192
|
/**
|
|
1267
1193
|
* @param ped
|
|
1268
1194
|
* @param p2
|
|
@@ -1281,7 +1207,7 @@ export declare class Player implements IHandle {
|
|
|
1281
1207
|
*
|
|
1282
1208
|
* @returns
|
|
1283
1209
|
*/
|
|
1284
|
-
|
|
1210
|
+
get Invincible(): boolean;
|
|
1285
1211
|
resetArrestState(): void;
|
|
1286
1212
|
/**
|
|
1287
1213
|
* Toggle handles wether Deadeye and Eagleeye are infinite or not.
|
|
@@ -1294,16 +1220,94 @@ export declare class Player implements IHandle {
|
|
|
1294
1220
|
*
|
|
1295
1221
|
* @param toggle
|
|
1296
1222
|
*/
|
|
1297
|
-
|
|
1223
|
+
set Invincible(toggle: boolean);
|
|
1298
1224
|
/**
|
|
1299
1225
|
* Returns whether the player can control himself.
|
|
1300
1226
|
*
|
|
1301
1227
|
* @returns
|
|
1302
1228
|
*/
|
|
1303
|
-
|
|
1229
|
+
get IsControlOn(): boolean;
|
|
1304
1230
|
/**
|
|
1305
1231
|
* @param vehicle
|
|
1306
1232
|
*/
|
|
1307
|
-
|
|
1233
|
+
set MayOnlyEnterThisVehicle(vehicle: Vehicle);
|
|
1234
|
+
/**
|
|
1235
|
+
* @param weaponGroup
|
|
1236
|
+
* @param toggle
|
|
1237
|
+
*/
|
|
1238
|
+
setWeaponGroupAsInstantKill(weaponGroup: string | number, toggle: boolean): void;
|
|
1239
|
+
/**
|
|
1240
|
+
* Returns false if PromptType is enabled
|
|
1241
|
+
* Params: See 0x0751D461F06E41CE
|
|
1242
|
+
*
|
|
1243
|
+
* @param promptType
|
|
1244
|
+
* @param promptMode
|
|
1245
|
+
* @returns
|
|
1246
|
+
*/
|
|
1247
|
+
getUiPromptIsDisabled(promptType: number, promptMode: number): any;
|
|
1248
|
+
/**
|
|
1249
|
+
* @param toggle
|
|
1250
|
+
*/
|
|
1251
|
+
set LockonToFriendlyPlayers(toggle: boolean);
|
|
1252
|
+
/**
|
|
1253
|
+
* Activates the Surrender prompt for the specified player in the current frame.
|
|
1254
|
+
*
|
|
1255
|
+
* @param targetPed
|
|
1256
|
+
* @param promptOrder
|
|
1257
|
+
* @param p3
|
|
1258
|
+
*/
|
|
1259
|
+
setCooperatePromptThisFrame(targetPed: Ped, promptOrder: number, p3: boolean): void;
|
|
1260
|
+
/**
|
|
1261
|
+
* https://github.com/Halen84/RDR3-Native-Flags-And-Enums/tree/main/ePlayerResetFlags
|
|
1262
|
+
* https://github.com/femga/rdr3_discoveries/tree/master/AI/PLAYER_RESET_FLAGS
|
|
1263
|
+
*
|
|
1264
|
+
* @param playerResetFlag
|
|
1265
|
+
* @param p2
|
|
1266
|
+
*/
|
|
1267
|
+
setResetFlag(playerResetFlag: number, p2: boolean): void;
|
|
1268
|
+
/**
|
|
1269
|
+
* @returns
|
|
1270
|
+
*/
|
|
1271
|
+
get WantedLevel(): number;
|
|
1272
|
+
/**
|
|
1273
|
+
* @param closeRangeLowerBound
|
|
1274
|
+
* @param closeRangeUpperBound
|
|
1275
|
+
*/
|
|
1276
|
+
setDamageCloseDistanceBonus(closeRangeLowerBound: number, closeRangeUpperBound: number): void;
|
|
1277
|
+
/**
|
|
1278
|
+
* @param multiplier
|
|
1279
|
+
*/
|
|
1280
|
+
set SneakingNoiseMultiplier(multiplier: number);
|
|
1281
|
+
/**
|
|
1282
|
+
* Sets the player's team.
|
|
1283
|
+
*
|
|
1284
|
+
* @param team
|
|
1285
|
+
* @param bRestrictToThisScript
|
|
1286
|
+
*/
|
|
1287
|
+
setTeam(team: number, bRestrictToThisScript: boolean): void;
|
|
1288
|
+
/**
|
|
1289
|
+
* Checks if the player's Deadeye ability is enabled.
|
|
1290
|
+
*
|
|
1291
|
+
* @returns
|
|
1292
|
+
*/
|
|
1293
|
+
get IsSpecialAbilityEnabled(): any;
|
|
1294
|
+
/**
|
|
1295
|
+
* @param target
|
|
1296
|
+
*/
|
|
1297
|
+
set BountyTarget(target: Player);
|
|
1298
|
+
/**
|
|
1299
|
+
* Retrieves whether all trails are currently hidden during Eagle Eye mode for the specified player.
|
|
1300
|
+
*
|
|
1301
|
+
* @returns
|
|
1302
|
+
*/
|
|
1303
|
+
eagleEyeAreAllTrailsHidden(): any;
|
|
1304
|
+
/**
|
|
1305
|
+
* @returns
|
|
1306
|
+
*/
|
|
1307
|
+
get IsDeadeyeTaggingEnabled(): any;
|
|
1308
|
+
/**
|
|
1309
|
+
* Gets the player's server ID. In multiplayer, this is the player's unique server-side identifier.
|
|
1310
|
+
*/
|
|
1311
|
+
get ServerId(): number;
|
|
1308
1312
|
}
|
|
1309
1313
|
//# sourceMappingURL=Player.d.ts.map
|