class
DetectionMeterEffector
- 9 properties
- 6 functions
Extends game.Effector IScriptable ISerializable
Properties
| Property | Type | Offset | |
|---|---|---|---|
statusEffectID | TDBID | 0x0 | scripted |
detectionStep | float | 0x8 | scripted |
maxStacks | int | 0xC | scripted |
onlyHostileDetection | bool | 0x10 | scripted |
dontRemoveStacks | bool | 0x11 | scripted |
detectionListener | red.CallbackObject? | 0x18 | scripted |
currentStacks | int | 0x28 | scripted |
gameInstance | ScriptGameInstance | 0x30 | scripted |
ownerID | ent.EntityID | 0x48 | scripted |
Functions
void Initialize(TDBID record, ScriptGameInstance game, TDBID parentRecord)overrideRTTIre.Hooks.PlaceVoid( "DetectionMeterEffector", "Initialize;TweakDBIDGameInstanceTweakDBID", (DetectionMeterEffector_Initialize x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct DetectionMeterEffector_Initialize( DetectionMeterEffector self, TDBID record, ScriptGameInstance game, TDBID parentRecord );void ActionOn(game.Object owner)overrideRTTIre.Hooks.PlaceVoid( "DetectionMeterEffector", "ActionOn;GameObject", (DetectionMeterEffector_ActionOn x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct DetectionMeterEffector_ActionOn( DetectionMeterEffector self, game.Object? owner );bool OnDetectionChanged(float newDetection)RTTIre.Hooks.Place( "DetectionMeterEffector", "OnDetectionChanged", (DetectionMeterEffector_OnDetectionChanged x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct DetectionMeterEffector_OnDetectionChanged( DetectionMeterEffector self, float newDetection );void ActionOff(game.Object owner)overrideRTTIre.Hooks.PlaceVoid( "DetectionMeterEffector", "ActionOff;GameObject", (DetectionMeterEffector_ActionOff x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct DetectionMeterEffector_ActionOff( DetectionMeterEffector self, game.Object? owner );void UpdateWithDetection(float newDetection)RTTIre.Hooks.PlaceVoid( "DetectionMeterEffector", "UpdateWithDetection;Float", (DetectionMeterEffector_UpdateWithDetection x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct DetectionMeterEffector_UpdateWithDetection( DetectionMeterEffector self, float newDetection );void ProcessStacksChange(int stacksChange)RTTIre.Hooks.PlaceVoid( "DetectionMeterEffector", "ProcessStacksChange;Int32", (DetectionMeterEffector_ProcessStacksChange x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct DetectionMeterEffector_ProcessStacksChange( DetectionMeterEffector self, int stacksChange );