Class EscapedEventArgs
Contains all information after player has escaped.
public class EscapedEventArgs : IPlayerEvent, IExiledEvent
- Inheritance
-
EscapedEventArgs
- Implements
- Inherited Members
- Extension Methods
Constructors
EscapedEventArgs(Player, EscapeScenario, Role)
Initializes a new instance of the EscapedEventArgs class.
public EscapedEventArgs(Player player, EscapeScenario escapeScenario, Role role)
Parameters
player
PlayerescapeScenario
EscapeScenariorole
Role
Properties
EscapeScenario
Gets the type of escape.
public EscapeScenario EscapeScenario { get; }
Property Value
EscapeTime
Gets the time in seconds since round started.
public int EscapeTime { get; }
Property Value
OldRole
Gets the previous role for this player.
public Role OldRole { get; }
Property Value
Player
Gets the Player triggering the event.
public Player Player { get; }