![]() |
TrinityCore
|
#include <RBAC.h>
Public Member Functions | |
| RBACPermission (uint32 id=0, std::string const &name="") | |
| std::string const & | GetName () const |
| Gets the Name of the Object. | |
| uint32 | GetId () const |
| Gets the Id of the Object. | |
| RBACPermissionContainer const & | GetLinkedPermissions () const |
| Gets the Permissions linked to this permission. | |
| void | AddLinkedPermission (uint32 id) |
| Adds a new linked Permission. | |
| void | RemoveLinkedPermission (uint32 id) |
| Removes a linked Permission. | |
Private Attributes | |
| uint32 | _id |
| std::string | _name |
| |
| RBACPermissionContainer | _perms |
| |
|
inline |
|
inline |
Adds a new linked Permission.
Definition at line 784 of file RBAC.h.
Referenced by AccountMgr::LoadRBAC().
|
inline |
Gets the Id of the Object.
Definition at line 779 of file RBAC.h.
Referenced by rbac_commandscript::HandleRBACListPermissionsCommand(), and rbac_commandscript::HandleRBACPermListCommand().
|
inline |
Gets the Permissions linked to this permission.
Definition at line 782 of file RBAC.h.
Referenced by rbac::RBACData::ExpandPermissions(), and rbac_commandscript::HandleRBACListPermissionsCommand().
|
inline |
Gets the Name of the Object.
Definition at line 777 of file RBAC.h.
Referenced by rbac_commandscript::HandleRBACListPermissionsCommand(), rbac_commandscript::HandleRBACPermDenyCommand(), rbac_commandscript::HandleRBACPermGrantCommand(), rbac_commandscript::HandleRBACPermListCommand(), and rbac_commandscript::HandleRBACPermRevokeCommand().
|
inline |
|
private |
|
private |