Class FlippingCoinEventArgs
Contains all information before a player flips a coin.
Inheritance
System.Object
FlippingCoinEventArgs
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.Events.EventArgs.Player
Assembly: Exiled.Events.dll
Syntax
public class FlippingCoinEventArgs : IPlayerEvent, IDeniableEvent, IItemEvent, IExiledEvent
Constructors
| Improve this Doc View SourceFlippingCoinEventArgs(Player, Coin, Boolean)
Initializes a new instance of the FlippingCoinEventArgs class.
Declaration
public FlippingCoinEventArgs(Player player, Coin coin, bool isTails)
Parameters
Type | Name | Description |
---|---|---|
Player | player | |
InventorySystem.Items.Coin.Coin | coin | |
System.Boolean | isTails |
Properties
| Improve this Doc View SourceIsAllowed
Gets or sets a value indicating whether or not the coin can be flipped.
Declaration
public bool IsAllowed { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
IsTails
Gets or sets a value indicating whether or not the coin is landing on tails.
Declaration
public bool IsTails { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Item
Declaration
public Item Item { get; }
Property Value
Type | Description |
---|---|
Item |
Player
Gets the player who's flipping the coin.
Declaration
public Player Player { get; }
Property Value
Type | Description |
---|---|
Player |