summaryrefslogtreecommitdiffstats
path: root/source/cGroup.h
diff options
context:
space:
mode:
authorcedeel@gmail.com <cedeel@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-06-14 15:06:06 +0200
committercedeel@gmail.com <cedeel@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-06-14 15:06:06 +0200
commit92c59963f82f81aa3202657e7fdbb2592924ede3 (patch)
treeb7eb2474528a4998fa102e3ec9119b908cee08b4 /source/cGroup.h
parentAdded HOOK_WEATHER_CHANGE. (diff)
downloadcuberite-92c59963f82f81aa3202657e7fdbb2592924ede3.tar
cuberite-92c59963f82f81aa3202657e7fdbb2592924ede3.tar.gz
cuberite-92c59963f82f81aa3202657e7fdbb2592924ede3.tar.bz2
cuberite-92c59963f82f81aa3202657e7fdbb2592924ede3.tar.lz
cuberite-92c59963f82f81aa3202657e7fdbb2592924ede3.tar.xz
cuberite-92c59963f82f81aa3202657e7fdbb2592924ede3.tar.zst
cuberite-92c59963f82f81aa3202657e7fdbb2592924ede3.zip
Diffstat (limited to '')
-rw-r--r--source/cGroup.h78
1 files changed, 39 insertions, 39 deletions
diff --git a/source/cGroup.h b/source/cGroup.h
index 02fb7f05c..447802e88 100644
--- a/source/cGroup.h
+++ b/source/cGroup.h
@@ -1,40 +1,40 @@
-
-#pragma once
-
-
-
-
-
-class cGroup //tolua_export
-{ //tolua_export
-public: //tolua_export
- cGroup() {}
- ~cGroup() {}
-
- void SetName( std::string a_Name ) { m_Name = a_Name; } //tolua_export
- const std::string & GetName() const { return m_Name; } //tolua_export
- void SetColor( std::string a_Color ) { m_Color = a_Color; } //tolua_export
- void AddCommand( std::string a_Command ); //tolua_export
- void AddPermission( std::string a_Permission ); //tolua_export
- void InheritFrom( cGroup* a_Group ); //tolua_export
-
- bool HasCommand( std::string a_Command ); //tolua_export
-
- typedef std::map< std::string, bool > PermissionMap;
- const PermissionMap & GetPermissions() const { return m_Permissions; }
-
- typedef std::map< std::string, 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:
- std::string m_Name;
- std::string m_Color;
-
- PermissionMap m_Permissions;
- CommandMap m_Commands;
- GroupList m_Inherits;
+
+#pragma once
+
+
+
+
+
+class cGroup //tolua_export
+{ //tolua_export
+public: //tolua_export
+ cGroup() {}
+ ~cGroup() {}
+
+ void SetName( std::string a_Name ) { m_Name = a_Name; } //tolua_export
+ const std::string & GetName() const { return m_Name; } //tolua_export
+ void SetColor( std::string a_Color ) { m_Color = a_Color; } //tolua_export
+ void AddCommand( std::string a_Command ); //tolua_export
+ void AddPermission( std::string a_Permission ); //tolua_export
+ void InheritFrom( cGroup* a_Group ); //tolua_export
+
+ bool HasCommand( std::string a_Command ); //tolua_export
+
+ typedef std::map< std::string, bool > PermissionMap;
+ const PermissionMap & GetPermissions() const { return m_Permissions; }
+
+ typedef std::map< std::string, 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:
+ std::string m_Name;
+ std::string m_Color;
+
+ PermissionMap m_Permissions;
+ CommandMap m_Commands;
+ GroupList m_Inherits;
};//tolua_export \ No newline at end of file