Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
BanCommands.c File Reference

Go to the source code of this file.

Classes

class  BanCommand

Enumerations

enum  SCR_EBanSubcommandArg {
  EBSA_MISSING , EBSA_HELP , EBSA_CREATE , EBSA_REMOVE ,
  EBSA_LIST , EBSA_LIST_FILTERED , EBSA_END
}

Functions

override void OnError (int code, int restCode, int apiCode)
override void OnSuccess (int code)
override void OnTimeout ()
BanCommand ScrServerCommand GetKeyword ()
ScrServerCmdResult CreateBan (array< string > argv, int playerId)
ScrServerCmdResult RemoveBan (array< string > argv, int playerId)
ScrServerCmdResult ListBans (array< string > argv, int playerId)
ScrServerCmdResult ListBansResult ()
ScrServerCmdResult ListBansResultFiltered ()
ScrServerCmdResult HandleCommand (array< string > argv, int playerId=0)
SCR_EPlayerIdType GetPlayerIdType (string id)
int GetPlayerIdFromName (string name)
array< stringTryParsePlayerNameWithSpaces (array< string > argv, int playerNameStartId)
override bool IsServerSide ()
override int RequiredRCONPermission ()
override int RequiredChatPermission ()
override ref ScrServerCmdResult OnChatServerExecution (array< string > argv, int playerId)
override ref ScrServerCmdResult OnChatClientExecution (array< string > argv, int playerId)
override ref ScrServerCmdResult OnRCONExecution (array< string > argv)
ScrServerCmdResult HandleSuccessfulResult ()
ScrServerCmdResult HandleFailure ()
override ref ScrServerCmdResult OnUpdate ()
ScrServerCmdResult KickPlayer (array< string > argv, int playerId=0)

Variables

enum SCR_EBanSubcommandArg EBCA_COMMAND = 0
enum SCR_EBanSubcommandArg EBCA_SUBCOMMAND = 0
enum SCR_EBanSubcommandArg EBCA_ID = 0
enum SCR_EBanSubcommandArg EBCA_DURATION = 0
enum SCR_EBanSubcommandArg EBCA_REASON = 0
enum SCR_EBanSubcommandArg EBRA_COMMAND = 0
enum SCR_EBanSubcommandArg EBRA_SUBCOMMAND = 0
enum SCR_EBanSubcommandArg EBRA_ID = 0
enum SCR_EBanSubcommandArg EBLA_COMMAND = 0
enum SCR_EBanSubcommandArg EBLA_SUBCOMMAND = 0
enum SCR_EBanSubcommandArg EBLA_PAGE = 0
enum SCR_EBanSubcommandArg EPIT_IDENTITY = 0
enum SCR_EBanSubcommandArg EPIT_PLAYERID = 0
enum SCR_EBanSubcommandArg EBCS_PENDING = 0
enum SCR_EBanSubcommandArg EBCS_SUCCESS = 0
enum SCR_EBanSubcommandArg EBCS_ERROR = 0
enum SCR_EBanSubcommandArg m_eState = EBackendCallbackState.EBCS_PENDING
EApiCode m_eLastError = EApiCode.EACODE_ERROR_OK
EStringMatchType m_eLastMatchType = EStringMatchType.ESMT_EQUALS
ref StateBackendCallback m_Callback
ref BanListPageParams m_Params
BanServiceApi m_BanApi
SCR_EBanSubcommandArg m_eSubcommandArg
int m_iBanPlayerId
int m_iDuration
int m_iPage
string m_sBanReason = ""
string m_sPlayerName = ""

Enumeration Type Documentation

◆ SCR_EBanSubcommandArg

Enumerator
EBSA_MISSING 
EBSA_HELP 
EBSA_CREATE 
EBSA_REMOVE 
EBSA_LIST 
EBSA_LIST_FILTERED 
EBSA_END 

Definition at line 2 of file BanCommands.c.

Function Documentation

◆ CreateBan()

ScrServerCmdResult GetKeyword::CreateBan ( array< string > argv,
int playerId )
protected

Definition at line 588 of file BanCommands.c.

◆ GetKeyword()

override string GetKeyword ( )

Definition at line 76 of file BanCommands.c.

◆ GetPlayerIdFromName()

int GetKeyword::GetPlayerIdFromName ( string name)
protected

Definition at line 844 of file BanCommands.c.

◆ GetPlayerIdType()

SCR_EPlayerIdType GetKeyword::GetPlayerIdType ( string id)
protected

Definition at line 823 of file BanCommands.c.

◆ HandleCommand()

ScrServerCmdResult GetKeyword::HandleCommand ( array< string > argv,
int playerId = 0 )
protected

Definition at line 771 of file BanCommands.c.

◆ HandleFailure()

ScrServerCmdResult GetKeyword::HandleFailure ( )
protected

Definition at line 977 of file BanCommands.c.

◆ HandleSuccessfulResult()

ScrServerCmdResult GetKeyword::HandleSuccessfulResult ( )
protected

Definition at line 951 of file BanCommands.c.

◆ IsServerSide()

override bool IsServerSide ( )
protected

Definition at line 909 of file BanCommands.c.

◆ KickPlayer()

ScrServerCmdResult KickPlayer ( array< string > argv,
int playerId = 0 )
protected

Definition at line 599 of file BanCommands.c.

◆ ListBans()

ScrServerCmdResult GetKeyword::ListBans ( array< string > argv,
int playerId )
protected

Definition at line 690 of file BanCommands.c.

◆ ListBansResult()

ScrServerCmdResult GetKeyword::ListBansResult ( )
protected

Definition at line 720 of file BanCommands.c.

◆ ListBansResultFiltered()

ScrServerCmdResult GetKeyword::ListBansResultFiltered ( )
protected

Definition at line 745 of file BanCommands.c.

◆ OnChatClientExecution()

override ref ScrServerCmdResult OnChatClientExecution ( array< string > argv,
int playerId )
protected

Definition at line 937 of file BanCommands.c.

◆ OnChatServerExecution()

override ref ScrServerCmdResult OnChatServerExecution ( array< string > argv,
int playerId )
protected

Definition at line 930 of file BanCommands.c.

◆ OnError()

override void OnError ( int code,
int restCode,
int apiCode )

Definition at line 63 of file BanCommands.c.

◆ OnRCONExecution()

override ref ScrServerCmdResult OnRCONExecution ( array< string > argv)
protected

Definition at line 944 of file BanCommands.c.

◆ OnSuccess()

override void OnSuccess ( int code)

Definition at line 70 of file BanCommands.c.

◆ OnTimeout()

override void OnTimeout ( )

Definition at line 76 of file BanCommands.c.

◆ OnUpdate()

override ref ScrServerCmdResult GetKeyword::OnUpdate ( )
protected

Definition at line 1037 of file BanCommands.c.

◆ RemoveBan()

ScrServerCmdResult GetKeyword::RemoveBan ( array< string > argv,
int playerId )
protected

Definition at line 660 of file BanCommands.c.

◆ RequiredChatPermission()

override int RequiredChatPermission ( )
protected

Definition at line 923 of file BanCommands.c.

◆ RequiredRCONPermission()

override int RequiredRCONPermission ( )
protected

Definition at line 916 of file BanCommands.c.

◆ TryParsePlayerNameWithSpaces()

array< string > GetKeyword::TryParsePlayerNameWithSpaces ( array< string > argv,
int playerNameStartId )
protected

Definition at line 862 of file BanCommands.c.

Variable Documentation

◆ EBCA_COMMAND

enum SCR_EBanSubcommandArg EBCA_COMMAND = 0

◆ EBCA_DURATION

enum SCR_EBanSubcommandArg EBCA_DURATION = 0

◆ EBCA_ID

enum SCR_EBanSubcommandArg EBCA_ID = 0

◆ EBCA_REASON

enum SCR_EBanSubcommandArg EBCA_REASON = 0

◆ EBCA_SUBCOMMAND

enum SCR_EBanSubcommandArg EBCA_SUBCOMMAND = 0

◆ EBCS_ERROR

enum SCR_EBanSubcommandArg EBCS_ERROR = 0

◆ EBCS_PENDING

enum SCR_EBanSubcommandArg EBCS_PENDING = 0

◆ EBCS_SUCCESS

enum SCR_EBanSubcommandArg EBCS_SUCCESS = 0

◆ EBLA_COMMAND

enum SCR_EBanSubcommandArg EBLA_COMMAND = 0

◆ EBLA_PAGE

enum SCR_EBanSubcommandArg EBLA_PAGE = 0

◆ EBLA_SUBCOMMAND

enum SCR_EBanSubcommandArg EBLA_SUBCOMMAND = 0

◆ EBRA_COMMAND

enum SCR_EBanSubcommandArg EBRA_COMMAND = 0

◆ EBRA_ID

enum SCR_EBanSubcommandArg EBRA_ID = 0

◆ EBRA_SUBCOMMAND

enum SCR_EBanSubcommandArg EBRA_SUBCOMMAND = 0

◆ EPIT_IDENTITY

enum SCR_EBanSubcommandArg EPIT_IDENTITY = 0

◆ EPIT_PLAYERID

enum SCR_EBanSubcommandArg EPIT_PLAYERID = 0

◆ m_BanApi

BanServiceApi m_BanApi
protected

Definition at line 574 of file BanCommands.c.

◆ m_Callback

ref StateBackendCallback m_Callback
protected

Definition at line 572 of file BanCommands.c.

◆ m_eLastError

Definition at line 60 of file BanCommands.c.

◆ m_eLastMatchType

Definition at line 61 of file BanCommands.c.

◆ m_eState

◆ m_eSubcommandArg

SCR_EBanSubcommandArg m_eSubcommandArg
protected

Definition at line 575 of file BanCommands.c.

◆ m_iBanPlayerId

int m_iBanPlayerId
protected

Definition at line 580 of file BanCommands.c.

◆ m_iDuration

int m_iDuration
protected

Definition at line 581 of file BanCommands.c.

◆ m_iPage

int m_iPage
protected

Definition at line 582 of file BanCommands.c.

◆ m_Params

ref BanListPageParams m_Params
protected

Definition at line 573 of file BanCommands.c.

◆ m_sBanReason

string m_sBanReason = ""
protected

Definition at line 583 of file BanCommands.c.

◆ m_sPlayerName

string m_sPlayerName = ""
protected

Definition at line 584 of file BanCommands.c.