DetectionMeterEffector
classscriptedClass
extends Effector › IScriptable › ISerializable
Properties 9
| Name | Type | Flags |
|---|---|---|
currentStacks | Int32 | scriptedprivate |
detectionListener | ref<CallbackHandle> | scriptedprivate |
detectionStep | Float | scriptedprivate |
dontRemoveStacks | Bool | scriptedprivate |
gameInstance | GameInstance | scriptedprivate |
maxStacks | Int32 | scriptedprivate |
onlyHostileDetection | Bool | scriptedprivate |
ownerID | EntityID | scriptedprivate |
statusEffectID | TweakDBID | scriptedprivate |
Methods 6
protected func ActionOff(owner: ref<GameObject>)scripted
protected func ActionOn(owner: ref<GameObject>)scripted
protected func Initialize(record: TweakDBID, game: GameInstance, parentRecord: TweakDBID)scripted
protected cb func OnDetectionChanged(newDetection: Float) -> Boolscripted
private final func ProcessStacksChange(stacksChange: Int32)scripted
private final func UpdateWithDetection(newDetection: Float)scripted