Table of Contents

Class FlippingCoinEventArgs

Namespace
Exiled.Events.EventArgs.Player
Assembly
Exiled.Events.dll

Contains all information before a player flips a coin.

public class FlippingCoinEventArgs : IDeniableEvent, IItemEvent, IPlayerEvent, IExiledEvent
Inheritance
FlippingCoinEventArgs
Implements
Inherited Members
Extension Methods

Constructors

FlippingCoinEventArgs(Player, Coin, bool)

Initializes a new instance of the FlippingCoinEventArgs class.

public FlippingCoinEventArgs(Player player, Coin coin, bool isTails)

Parameters

player Player
coin Coin

isTails bool

Properties

IsAllowed

Gets or sets a value indicating whether the coin can be flipped.

public bool IsAllowed { get; set; }

Property Value

bool

IsTails

Gets or sets a value indicating whether the coin is landing on tails.

public bool IsTails { get; set; }

Property Value

bool

Item

Gets the Item triggering the event.

public Item Item { get; }

Property Value

Item

Player

Gets the player who's flipping the coin.

public Player Player { get; }

Property Value

Player