Class ResurrectingEventArgs
Contains all information before player is resurrected.
public class ResurrectingEventArgs : IItemEvent, IPlayerEvent, IDeniableEvent, IExiledEvent
- Inheritance
-
ResurrectingEventArgs
- Implements
- Inherited Members
- Extension Methods
Constructors
ResurrectingEventArgs(Player, Player, RoleTypeId, Scp1509Item, bool)
Initializes a new instance of the ResurrectingEventArgs class.
public ResurrectingEventArgs(Player target, Player victim, RoleTypeId newRole, Scp1509Item scp1509, bool isAllowed = true)
Parameters
Properties
IsAllowed
Gets or sets a value indicating whether the event is allowed to continue.
public bool IsAllowed { get; set; }
Property Value
Item
Gets the Item triggering the event.
public Item Item { get; }
Property Value
NewRole
Gets or sets the role which will be set to the Target after resurrection.
public RoleTypeId NewRole { get; set; }
Property Value
- RoleTypeId
Player
Gets the Player triggering the event.
public Player Player { get; }
Property Value
Scp1509
Gets the SCP-1509 instance.
public Scp1509 Scp1509 { get; }
Property Value
Target
Gets the target of resurrection.
public Player Target { get; }
Property Value
Victim
Gets the victim of this kill.
public Player Victim { get; }