diff options
author | Mattes D <github@xoft.cz> | 2014-08-26 16:09:16 +0200 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2014-08-26 16:09:16 +0200 |
commit | 98974412fa6d7662b84555e079a6306dd4d90db3 (patch) | |
tree | 733c745ef60441671524169c1bdff022dbf86867 /src/Group.h | |
parent | Profiling: Added profiling script for x64 executable. (diff) | |
parent | Merge pull request #1290 from mc-server/Ranks (diff) | |
download | cuberite-98974412fa6d7662b84555e079a6306dd4d90db3.tar cuberite-98974412fa6d7662b84555e079a6306dd4d90db3.tar.gz cuberite-98974412fa6d7662b84555e079a6306dd4d90db3.tar.bz2 cuberite-98974412fa6d7662b84555e079a6306dd4d90db3.tar.lz cuberite-98974412fa6d7662b84555e079a6306dd4d90db3.tar.xz cuberite-98974412fa6d7662b84555e079a6306dd4d90db3.tar.zst cuberite-98974412fa6d7662b84555e079a6306dd4d90db3.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 |