Class AbilityTickEventData
Event data for an ability tick. The tick subject's transform is reachable via AbilityObject.Transform so no separate transform field is carried here.
public class AbilityTickEventData : EventData
- Inheritance
-
AbilityTickEventData
- Inherited Members
Constructors
AbilityTickEventData(ICharacter, float, AbilityObject)
Initializes a new instance of the AbilityTickEventData class.
public AbilityTickEventData(ICharacter initiator, float deltaTime, AbilityObject abilityObject)
Parameters
initiatorICharacterThe character initiating the tick event.
deltaTimefloatThe time delta for the tick.
abilityObjectAbilityObjectThe ability object being updated.
Fields
AbilityObject
The ability object being updated during the tick event.
public AbilityObject AbilityObject
Field Value
CurrentTick
The authoritative server tick at which this tick event fired. Set by AbilityObject each tick before event dispatch. This is a raw authoritative tick, not a replicate-domain tick. Consumers that compare against prediction-domain state must route it through their controller's authoritative fallback rather than wrapping it directly as a PredictionTick.
public uint CurrentTick
Field Value
DeltaTime
The time delta for the tick (update interval).
public float DeltaTime