TrinityCore
rbac_commandscript Class Reference
+ Inheritance diagram for rbac_commandscript:

Public Member Functions

 rbac_commandscript ()
 
ChatCommandTable GetCommands () const override
 
- Public Member Functions inherited from CommandScript
 ~CommandScript ()
 
virtual std::vector< Trinity::ChatCommands::ChatCommandBuilderGetCommands () const =0
 
- Public Member Functions inherited from ScriptObject
 ScriptObject (ScriptObject const &right)=delete
 
 ScriptObject (ScriptObject &&right)=delete
 
ScriptObjectoperator= (ScriptObject const &right)=delete
 
ScriptObjectoperator= (ScriptObject &&right)=delete
 
std::string const & GetName () const
 

Static Public Member Functions

static RBACCommandData GetRBACData (AccountIdentifier account)
 
static bool HandleRBACPermGrantCommand (ChatHandler *handler, Optional< AccountIdentifier > account, uint32 permId, Optional< int32 > realmId)
 
static bool HandleRBACPermDenyCommand (ChatHandler *handler, Optional< AccountIdentifier > account, uint32 permId, Optional< int32 > realmId)
 
static bool HandleRBACPermRevokeCommand (ChatHandler *handler, Optional< AccountIdentifier > account, uint32 permId, Optional< int32 > realmId)
 
static bool HandleRBACPermListCommand (ChatHandler *handler, Optional< AccountIdentifier > account)
 
static bool HandleRBACListPermissionsCommand (ChatHandler *handler, Optional< uint32 > permId)
 

Additional Inherited Members

- Protected Member Functions inherited from CommandScript
 CommandScript (char const *name)
 
- Protected Member Functions inherited from ScriptObject
 ScriptObject (char const *name)
 
virtual ~ScriptObject ()
 

Detailed Description

Definition at line 52 of file cs_rbac.cpp.

Constructor & Destructor Documentation

◆ rbac_commandscript()

rbac_commandscript::rbac_commandscript ( )
inline

Definition at line 55 of file cs_rbac.cpp.

Member Function Documentation

◆ GetCommands()

ChatCommandTable rbac_commandscript::GetCommands ( ) const
inlineoverridevirtual

Implements CommandScript.

Definition at line 57 of file cs_rbac.cpp.

+ Here is the call graph for this function:

◆ GetRBACData()

static RBACCommandData rbac_commandscript::GetRBACData ( AccountIdentifier  account)
inlinestatic

Definition at line 81 of file cs_rbac.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ HandleRBACListPermissionsCommand()

static bool rbac_commandscript::HandleRBACListPermissionsCommand ( ChatHandler handler,
Optional< uint32 permId 
)
inlinestatic

Definition at line 264 of file cs_rbac.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ HandleRBACPermDenyCommand()

static bool rbac_commandscript::HandleRBACPermDenyCommand ( ChatHandler handler,
Optional< AccountIdentifier account,
uint32  permId,
Optional< int32 realmId 
)
inlinestatic

Definition at line 134 of file cs_rbac.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ HandleRBACPermGrantCommand()

static bool rbac_commandscript::HandleRBACPermGrantCommand ( ChatHandler handler,
Optional< AccountIdentifier account,
uint32  permId,
Optional< int32 realmId 
)
inlinestatic

Definition at line 92 of file cs_rbac.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ HandleRBACPermListCommand()

static bool rbac_commandscript::HandleRBACPermListCommand ( ChatHandler handler,
Optional< AccountIdentifier account 
)
inlinestatic

Definition at line 214 of file cs_rbac.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ HandleRBACPermRevokeCommand()

static bool rbac_commandscript::HandleRBACPermRevokeCommand ( ChatHandler handler,
Optional< AccountIdentifier account,
uint32  permId,
Optional< int32 realmId 
)
inlinestatic

Definition at line 176 of file cs_rbac.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

The documentation for this class was generated from the following file: