C# Class BytexDigital.BattlEye.Rcon.Commands.KickCommand

Requests the server to remove a player from the server.
Inheritance: BytexDigital.BattlEye.Rcon.Commands.Command
Show file Open project: BytexDigital/BytexDigital.BattlEye.Rcon

Public Methods

Method Description
KickCommand ( int playerId )

Requests the server to remove the given player ID from the server.

KickCommand ( int playerId, string reason )

Requests the server to remove the given player ID from the server with the specified reason.

Method Details

KickCommand() public method

Requests the server to remove the given player ID from the server.
public KickCommand ( int playerId )
playerId int

KickCommand() public method

Requests the server to remove the given player ID from the server with the specified reason.
public KickCommand ( int playerId, string reason )
playerId int
reason string