Class DrinkingCoffeeEventArgs
Contains all information before player interacts with coffee cup.
[Obsolete("Never available (for now).")]
public class DrinkingCoffeeEventArgs : IPlayerEvent, IDeniableEvent, IExiledEvent
- Inheritance
-
DrinkingCoffeeEventArgs
- Implements
- Inherited Members
- Extension Methods
Constructors
DrinkingCoffeeEventArgs(Player, Coffee, bool)
Initializes a new instance of the DrinkingCoffeeEventArgs class.
public DrinkingCoffeeEventArgs(Player player, Coffee coffee, bool isAllowed = true)
Parameters
Properties
Coffee
Gets the coffee with which player is interacting.
public Coffee Coffee { get; }
Property Value
IsAllowed
Gets or sets a value indicating whether the event is allowed to continue.
public bool IsAllowed { get; set; }
Property Value
Player
Gets the Player triggering the event.
public Player Player { get; }