Class ReservedSlotsCheckEventArgs
Contains all information when checking if a player has a reserved slot.
public class ReservedSlotsCheckEventArgs : IDeniableEvent, IExiledEvent
- Inheritance
-
ReservedSlotsCheckEventArgs
- Implements
- Inherited Members
- Extension Methods
Constructors
ReservedSlotsCheckEventArgs(bool, string)
Initializes a new instance of the ReservedSlotsCheckEventArgs class.
public ReservedSlotsCheckEventArgs(bool hasReservedSlot, string userId)
Parameters
Properties
HasReservedSlot
Gets a value indicating whether the player has a reserved slot in the base game system.
public bool HasReservedSlot { get; }
Property Value
IsAllowed
Gets or sets a value indicating whether the player is allowed to connect.
public bool IsAllowed { get; set; }
Property Value
Result
Gets or sets the event result.
public ReservedSlotEventResult Result { get; set; }
Property Value
UserId
Gets the UserID of the player that is being checked.
public string UserId { get; }