class
ThrowingKnifeResourcePoolListener
- 3 properties
- 4 functions
Extends game.ScriptStatPoolsListener game.IStatPoolsListener IScriptable ISerializable
Properties
| Property | Type | Offset | |
|---|---|---|---|
Crosshair | WeakHandle<Crosshair_Melee_Knife> | 0x0 | scripted |
shouldDisplayBar | bool | 0x10 | scripted |
evt | ThrowingKnifeReloadFinishedCrosshairEvent? | 0x18 | scripted |
Functions
void Bind(WeakHandle<Crosshair_Melee_Knife> crosshair, bool shouldDisplayBar)RTTIre.Hooks.PlaceVoid( "ThrowingKnifeResourcePoolListener", "Bind;Crosshair_Melee_KnifeBool", (ThrowingKnifeResourcePoolListener_Bind x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct ThrowingKnifeResourcePoolListener_Bind( ThrowingKnifeResourcePoolListener self, WeakHandle<Crosshair_Melee_Knife> crosshair, bool shouldDisplayBar );void OnStatPoolValueChanged(float oldValue, float newValue, float percToPoints)overrideRTTIre.Hooks.PlaceVoid( "ThrowingKnifeResourcePoolListener", "OnStatPoolValueChanged;FloatFloatFloat", (ThrowingKnifeResourcePoolListener_OnStatPoolValueChanged x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct ThrowingKnifeResourcePoolListener_OnStatPoolValueChanged( ThrowingKnifeResourcePoolListener self, float oldValue, float newValue, float percToPoints );bool OnStatPoolMaxValueReached(float value)RTTIre.Hooks.Place( "ThrowingKnifeResourcePoolListener", "OnStatPoolMaxValueReached", (ThrowingKnifeResourcePoolListener_OnStatPoolMaxValueReached x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct ThrowingKnifeResourcePoolListener_OnStatPoolMaxValueReached( ThrowingKnifeResourcePoolListener self, float value );bool OnStatPoolMinValueReached(float value)RTTIre.Hooks.Place( "ThrowingKnifeResourcePoolListener", "OnStatPoolMinValueReached", (ThrowingKnifeResourcePoolListener_OnStatPoolMinValueReached x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct ThrowingKnifeResourcePoolListener_OnStatPoolMinValueReached( ThrowingKnifeResourcePoolListener self, float value );