Arma Reforger Explorer  1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
BanCommands.c File Reference

Go to the source code of this file.

Data Structures

class  KickCommand
 

Enumerations

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

Functions

protected ScrServerCmdResult CreateBan (array< string > argv, int playerId)
 
protected ScrServerCmdResult RemoveBan (array< string > argv, int playerId)
 
protected ScrServerCmdResult ListBans (array< string > argv, int playerId)
 
protected ScrServerCmdResult ListBansResult ()
 
protected ScrServerCmdResult HandleCommand (array< string > argv, int playerId=0)
 
override string GetKeyword ()
 
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)
 
protected ScrServerCmdResult HandleSuccessfulResult ()
 
override ref ScrServerCmdResult OnUpdate ()
 

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 m_Callback = 0
 
protected ref BanListPageParams m_Params
 
protected BanServiceApi m_BanApi
 
protected SCR_EBanSubcommandArg m_eSubcommandArg
 
protected int m_iBanPlayerId
 
protected int m_iDuration
 
protected int m_iPage
 
protected string m_sBanReason = ""
 
protected string m_sPlayerName = ""
 

Enumeration Type Documentation

◆ SCR_EBanSubcommandArg

Enumerator
EBSA_MISSING 
EBSA_HELP 
EBSA_CREATE 
EBSA_REMOVE 
EBSA_LIST 
EBSA_END 

Definition at line 2 of file BanCommands.c.

Function Documentation

◆ CreateBan()

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

Definition at line 60 of file BanCommands.c.

◆ GetKeyword()

override string GetKeyword ( )

Definition at line 239 of file BanCommands.c.

◆ HandleCommand()

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

Definition at line 187 of file BanCommands.c.

◆ HandleSuccessfulResult()

protected ScrServerCmdResult HandleSuccessfulResult ( )

Definition at line 288 of file BanCommands.c.

◆ IsServerSide()

override bool IsServerSide ( )

Definition at line 246 of file BanCommands.c.

◆ ListBans()

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

Definition at line 132 of file BanCommands.c.

◆ ListBansResult()

protected ScrServerCmdResult ListBansResult ( )

Definition at line 162 of file BanCommands.c.

◆ OnChatClientExecution()

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

Definition at line 274 of file BanCommands.c.

◆ OnChatServerExecution()

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

Definition at line 267 of file BanCommands.c.

◆ OnRCONExecution()

override ref ScrServerCmdResult OnRCONExecution ( array< string >  argv)

Definition at line 281 of file BanCommands.c.

◆ RemoveBan()

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

Definition at line 117 of file BanCommands.c.

◆ RequiredChatPermission()

override int RequiredChatPermission ( )

Definition at line 260 of file BanCommands.c.

◆ RequiredRCONPermission()

override int RequiredRCONPermission ( )

Definition at line 253 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

◆ 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

◆ m_BanApi

protected BanServiceApi m_BanApi

Definition at line 46 of file BanCommands.c.

◆ m_Callback

enum SCR_EBanSubcommandArg m_Callback = 0

◆ m_eSubcommandArg

protected SCR_EBanSubcommandArg m_eSubcommandArg

Definition at line 47 of file BanCommands.c.

◆ m_iBanPlayerId

protected int m_iBanPlayerId

Definition at line 52 of file BanCommands.c.

◆ m_iDuration

protected int m_iDuration

Definition at line 53 of file BanCommands.c.

◆ m_iPage

protected int m_iPage

Definition at line 54 of file BanCommands.c.

◆ m_Params

protected ref BanListPageParams m_Params

Definition at line 45 of file BanCommands.c.

◆ m_sBanReason

protected string m_sBanReason = ""

Definition at line 55 of file BanCommands.c.

◆ m_sPlayerName

protected string m_sPlayerName = ""

Definition at line 56 of file BanCommands.c.