Class OwnerEscapingEventArgs
Contains all information of a CustomItem before a Player escapes.
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Exiled.CustomItems.API.EventArgs
Assembly: Exiled.CustomItems.dll
Syntax
public class OwnerEscapingEventArgs : EscapingEventArgs, IPlayerEvent, IDeniableEvent, IExiledEvent
Constructors
| Improve this Doc View SourceOwnerEscapingEventArgs(Item, Player, RoleTypeId, EscapeScenario, KeyValuePair<SpawnableTeamType, Single>)
Initializes a new instance of the OwnerEscapingEventArgs class.
Declaration
public OwnerEscapingEventArgs(Item item, Player player, RoleTypeId newRole, EscapeScenario escapeScenario, KeyValuePair<SpawnableTeamType, float> respawnTickets = default(KeyValuePair<SpawnableTeamType, float>))
Parameters
Type | Name | Description |
---|---|---|
Item | item | |
Player | player | |
PlayerRoles.RoleTypeId | newRole | |
EscapeScenario | escapeScenario | |
System.Collections.Generic.KeyValuePair<Respawning.SpawnableTeamType, System.Single> | respawnTickets |
OwnerEscapingEventArgs(Item, EscapingEventArgs)
Initializes a new instance of the OwnerEscapingEventArgs class.
Declaration
public OwnerEscapingEventArgs(Item item, EscapingEventArgs ev)
Parameters
Type | Name | Description |
---|---|---|
Item | item | |
EscapingEventArgs | ev | The EscapingEventArgs instance. |
Properties
| Improve this Doc View SourceItem
Gets the item in the player's inventory.
Declaration
public Item Item { get; }
Property Value
Type | Description |
---|---|
Item |