Table of Contents

Class ResurrectingEventArgs

Namespace
Exiled.Events.EventArgs.Scp1509
Assembly
Exiled.Events.dll

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

target Player
victim Player
newRole RoleTypeId
scp1509 Scp1509Item
isAllowed bool

Properties

IsAllowed

Gets or sets a value indicating whether the event is allowed to continue.

public bool IsAllowed { get; set; }

Property Value

bool

Item

Gets the Item triggering the event.

public Item Item { get; }

Property Value

Item

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

Player

Scp1509

Gets the SCP-1509 instance.

public Scp1509 Scp1509 { get; }

Property Value

Scp1509

Target

Gets the target of resurrection.

public Player Target { get; }

Property Value

Player

Victim

Gets the victim of this kill.

public Player Victim { get; }

Property Value

Player