class
OxygenStatListener
- 2 properties
- 6 functions
Extends game.CustomValueStatPoolsListener game.ScriptStatPoolsListener game.IStatPoolsListener IScriptable ISerializable
Properties
| Property | Type | Offset | |
|---|---|---|---|
ownerPuppet | WeakHandle<PlayerPuppet> | 0x0 | scripted |
oxygenVfxBlackboard | world.EffectBlackboard? | 0x10 | scripted |
Functions
bool OnStatPoolValueReached(float oldValue, float newValue, float percToPoints)RTTIre.Hooks.Place( "OxygenStatListener", "OnStatPoolValueReached", (OxygenStatListener_OnStatPoolValueReached x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct OxygenStatListener_OnStatPoolValueReached( OxygenStatListener self, float oldValue, float newValue, float percToPoints );bool OnStatPoolMinValueReached(float value)RTTIre.Hooks.Place( "OxygenStatListener", "OnStatPoolMinValueReached", (OxygenStatListener_OnStatPoolMinValueReached x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct OxygenStatListener_OnStatPoolMinValueReached( OxygenStatListener self, float value );void OnStatPoolValueChanged(float oldValue, float newValue, float percToPoints)overrideRTTIre.Hooks.PlaceVoid( "OxygenStatListener", "OnStatPoolValueChanged;FloatFloatFloat", (OxygenStatListener_OnStatPoolValueChanged x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct OxygenStatListener_OnStatPoolValueChanged( OxygenStatListener self, float oldValue, float newValue, float percToPoints );void IsOutOfOxygen(bool b)RTTIre.Hooks.PlaceVoid( "OxygenStatListener", "IsOutOfOxygen;Bool", (OxygenStatListener_IsOutOfOxygen x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct OxygenStatListener_IsOutOfOxygen( OxygenStatListener self, bool b );void TestOxygenLevel(float oldValue, float newValue, float percToPoints)RTTIre.Hooks.PlaceVoid( "OxygenStatListener", "TestOxygenLevel;FloatFloatFloat", (OxygenStatListener_TestOxygenLevel x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct OxygenStatListener_TestOxygenLevel( OxygenStatListener self, float oldValue, float newValue, float percToPoints );void CriticalOxygenLevel(bool b)RTTIre.Hooks.PlaceVoid( "OxygenStatListener", "CriticalOxygenLevel;Bool", (OxygenStatListener_CriticalOxygenLevel x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct OxygenStatListener_CriticalOxygenLevel( OxygenStatListener self, bool b );