◆ CreateBan()
◆ GetKeyword()
override string BanCommand.GetKeyword |
( |
| ) |
|
◆ GetPlayerIdFromName()
int BanCommand.GetPlayerIdFromName |
( |
string | name | ) |
|
|
protected |
◆ GetPlayerIdType()
SCR_EPlayerIdType BanCommand.GetPlayerIdType |
( |
string | id | ) |
|
|
protected |
◆ HandleCommand()
◆ HandleFailure()
◆ HandleSuccessfulResult()
◆ IsServerSide()
override bool BanCommand.IsServerSide |
( |
| ) |
|
True if the command should be passed to the server. False for only client-side execution.
Implements ScrServerCommand.
◆ ListBans()
◆ ListBansResult()
◆ ListBansResultFiltered()
◆ OnChatClientExecution()
override ref ScrServerCmdResult BanCommand.OnChatClientExecution |
( |
array< string > | argv, |
|
|
int | playerId ) |
The first chat execution stage (always on the client side).
Implements ScrServerCommand.
◆ OnChatServerExecution()
override ref ScrServerCmdResult BanCommand.OnChatServerExecution |
( |
array< string > | argv, |
|
|
int | playerId ) |
The main chat execution that is executed on the server (if IsServerSide is true)
Implements ScrServerCommand.
◆ OnRCONExecution()
◆ OnUpdate()
◆ RemoveBan()
◆ RequiredChatPermission()
override int BanCommand.RequiredChatPermission |
( |
| ) |
|
Required permission (EPlayerRole) to run chat execution.
Implements ScrServerCommand.
◆ RequiredRCONPermission()
override int BanCommand.RequiredRCONPermission |
( |
| ) |
|
Required permission (ERCONPermissions) to run RCON execution.
Implements ScrServerCommand.
◆ TryParsePlayerNameWithSpaces()
array< string > BanCommand.TryParsePlayerNameWithSpaces |
( |
array< string > | argv, |
|
|
int | playerNameStartId ) |
|
protected |
◆ BAN_LIST_ITEMS_PER_PAGE_CHAT
const static int BanCommand.BAN_LIST_ITEMS_PER_PAGE_CHAT = 10 |
|
static |
◆ BAN_LIST_ITEMS_PER_PAGE_RCON
const static int BanCommand.BAN_LIST_ITEMS_PER_PAGE_RCON = 25 |
|
static |
◆ m_BanApi
BanServiceApi BanCommand.m_BanApi |
|
protected |
◆ m_Callback
◆ m_eSubcommandArg
SCR_EBanSubcommandArg BanCommand.m_eSubcommandArg |
|
protected |
◆ m_iBanPlayerId
int BanCommand.m_iBanPlayerId |
|
protected |
◆ m_iDuration
int BanCommand.m_iDuration |
|
protected |
◆ m_iPage
◆ m_Params
ref BanListPageParams BanCommand.m_Params |
|
protected |
◆ m_sBanReason
string BanCommand.m_sBanReason = "" |
|
protected |
◆ m_sPlayerName
string BanCommand.m_sPlayerName = "" |
|
protected |
The documentation for this interface was generated from the following file:
- Game/Network/ServerCommands/BanCommands.c