Class ThrowingRequestEventArgs
Contains all information before receving a throwing request.
Inheritance
System.Object
ThrowingRequestEventArgs
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 ThrowingRequestEventArgs : IPlayerEvent, IItemEvent, IExiledEvent
Constructors
| Improve this Doc View SourceThrowingRequestEventArgs(Player, ThrowableItem, ThrowableNetworkHandler.RequestType)
Initializes a new instance of the ThrowingRequestEventArgs class.
Declaration
public ThrowingRequestEventArgs(Player player, ThrowableItem item, ThrowableNetworkHandler.RequestType request)
Parameters
Type | Name | Description |
---|---|---|
Player | player | |
InventorySystem.Items.ThrowableProjectiles.ThrowableItem | item | |
InventorySystem.Items.ThrowableProjectiles.ThrowableNetworkHandler.RequestType | request |
Properties
| Improve this Doc View SourceItem
Declaration
public Item Item { get; }
Property Value
Type | Description |
---|---|
Item |
Player
Gets the player who's sending the request.
Declaration
public Player Player { get; }
Property Value
Type | Description |
---|---|
Player |
RequestType
Gets or sets the type of throw being requested.
Declaration
public ThrowRequest RequestType { get; set; }
Property Value
Type | Description |
---|---|
ThrowRequest |
Throwable
Gets or sets the item being thrown.
Declaration
public Throwable Throwable { get; set; }
Property Value
Type | Description |
---|---|
Throwable |