StatPoolChangeOverTimePrereqState
classscriptedClass
extends PrereqState › IScriptable › ISerializable
Properties 8
| Name | Type | Flags |
|---|---|---|
checkGain | Bool | scriptedpublic |
comparePercentage | Bool | scriptedpublic |
GameInstance | GameInstance | scriptedpublic |
history | array<ChangeInfoWithTimeStamp> | scriptedpublic |
ownerID | StatsObjectID | scriptedpublic |
statPoolListener | ref<BaseStatPoolPrereqListener> | scriptedpublic |
timeFrame | Float | scriptedpublic |
valueToCheck | Float | scriptedpublic |
Methods 4
private final func CheckHistory() -> Boolscripted
public func RegisterStatPoolListener(game: GameInstance, statPoolType: gamedataStatPoolType, owner: EntityID)scripted
public func StatPoolUpdate(oldValue: Float, newValue: Float, percToPoints: Float)scripted
public func UnregisterStatPoolListener(game: GameInstance, statPoolType: gamedataStatPoolType)scripted