diff options
author | Mattes D <github@xoft.cz> | 2014-08-21 15:29:54 +0200 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2014-08-21 15:29:54 +0200 |
commit | 8acc8831879582e24c53c18d0442db0b1df6c6b6 (patch) | |
tree | a1d8777a198b64d791c47288c3ed651bb638e0bf /src/Group.h | |
parent | cMojangAPI: Fixed MakeUUID___() bindings. (diff) | |
download | cuberite-8acc8831879582e24c53c18d0442db0b1df6c6b6.tar cuberite-8acc8831879582e24c53c18d0442db0b1df6c6b6.tar.gz cuberite-8acc8831879582e24c53c18d0442db0b1df6c6b6.tar.bz2 cuberite-8acc8831879582e24c53c18d0442db0b1df6c6b6.tar.lz cuberite-8acc8831879582e24c53c18d0442db0b1df6c6b6.tar.xz cuberite-8acc8831879582e24c53c18d0442db0b1df6c6b6.tar.zst cuberite-8acc8831879582e24c53c18d0442db0b1df6c6b6.zip |
Diffstat (limited to 'src/Group.h')
-rw-r--r-- | src/Group.h | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/src/Group.h b/src/Group.h deleted file mode 100644 index 5816f8a06..000000000 --- a/src/Group.h +++ /dev/null @@ -1,44 +0,0 @@ - -#pragma once - - - - - -// tolua_begin -class cGroup -{ -public: - // tolua_end - cGroup() {} - ~cGroup() {} - - // tolua_begin - void SetName( const AString & a_Name) { m_Name = a_Name; } - const AString & GetName() const { return m_Name; } - void SetColor( const AString & a_Color) { m_Color = a_Color; } - void AddCommand( const AString & a_Command); - void AddPermission( const AString & a_Permission); - void InheritFrom( cGroup* a_Group); - // tolua_end - - typedef std::map< AString, bool > PermissionMap; - const PermissionMap & GetPermissions() const { return m_Permissions; } - - void ClearPermission(void); - - typedef std::map< AString, bool > CommandMap; - const CommandMap & GetCommands() const { return m_Commands; } - - const AString & GetColor() const { return m_Color; } // tolua_export - - typedef std::list< cGroup* > GroupList; - const GroupList & GetInherits() const { return m_Inherits; } -private: - AString m_Name; - AString m_Color; - - PermissionMap m_Permissions; - CommandMap m_Commands; - GroupList m_Inherits; -}; // tolua_export |