Class ThrowingRequestEventArgs
Contains all information before receving a throwing request.
public class ThrowingRequestEventArgs : IItemEvent, IPlayerEvent, IExiledEvent
- Inheritance
-
ThrowingRequestEventArgs
- Implements
- Inherited Members
- Extension Methods
Constructors
ThrowingRequestEventArgs(Player, ThrowableItem, RequestType)
Initializes a new instance of the ThrowingRequestEventArgs class.
public ThrowingRequestEventArgs(Player player, ThrowableItem item, ThrowableNetworkHandler.RequestType request)
Parameters
player
Playeritem
ThrowableItemrequest
ThrowableNetworkHandler.RequestType
Properties
Item
Gets the Item triggering the event.
public Item Item { get; }
Property Value
Player
Gets the player who's sending the request.
public Player Player { get; }
Property Value
RequestType
Gets or sets the type of throw being requested.
public ThrowRequest RequestType { get; set; }
Property Value
Throwable
Gets or sets the item being thrown.
public Throwable Throwable { get; set; }