Table of Contents

Class ReservedSlotsCheckEventArgs

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

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

hasReservedSlot bool
userId string

Properties

HasReservedSlot

Gets a value indicating whether the player has a reserved slot in the base game system.

public bool HasReservedSlot { get; }

Property Value

bool

IsAllowed

Gets or sets a value indicating whether the player is allowed to connect.

public bool IsAllowed { get; set; }

Property Value

bool

Result

Gets or sets the event result.

public ReservedSlotEventResult Result { get; set; }

Property Value

ReservedSlotEventResult

UserId

Gets the UserID of the player that is being checked.

public string UserId { get; }

Property Value

string