Class ArenaEventData
Event data handed to arena cue triggers on the client: which moment this is.
public class ArenaEventData : EventData
- Inheritance
-
ArenaEventData
- Inherited Members
Remarks
Lets one trigger asset serve several cues — an action can read
SecondsRemaining to pick a pitch or a particle count — and lets
MatchEndTriggers tell a win from a loss.
Constructors
ArenaEventData(ICharacter, ArenaCuePhase, int, int, int)
public ArenaEventData(ICharacter initiator, ArenaCuePhase phase, int secondsRemaining, int team, int winnerTeam)
Parameters
initiatorICharacterphaseArenaCuePhasesecondsRemainingintteamintwinnerTeamint
ArenaEventData(ICharacter, ArenaCuePhase, int, int, int, ArenaEventKind, bool, bool, int)
public ArenaEventData(ICharacter initiator, ArenaCuePhase phase, int secondsRemaining, int team, int winnerTeam, ArenaEventKind eventKind, bool isActor, bool isTarget, int value)
Parameters
initiatorICharacterphaseArenaCuePhasesecondsRemainingintteamintwinnerTeaminteventKindArenaEventKindisActorboolisTargetboolvalueint
Properties
EventKind
For Event: which moment.
public ArenaEventKind EventKind { get; }
Property Value
IsActor
For events: whether the local player (or, for rewards, the character) is the actor.
public bool IsActor { get; }
Property Value
IsTarget
For events: whether the local player is the target.
public bool IsTarget { get; }
Property Value
Phase
The phase the cue belongs to.
public ArenaCuePhase Phase { get; }
Property Value
SecondsRemaining
Seconds left on the start timer; 0 at the start. Unused for the end.
public int SecondsRemaining { get; }
Property Value
Team
The local player's team.
public int Team { get; }
Property Value
Value
For events: the event's value (streak, seconds, points). For rewards: the placement.
public int Value { get; }
Property Value
WinnerTeam
The winning team at the end, or -1 for a draw. -1 during the countdown.
public int WinnerTeam { get; }
Property Value
Methods
ToString()
Returns the type name of this event data instance.
public override string ToString()