summaryrefslogtreecommitdiffstats
path: root/source/cPlayer.h
diff options
context:
space:
mode:
Diffstat (limited to 'source/cPlayer.h')
-rw-r--r--source/cPlayer.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/cPlayer.h b/source/cPlayer.h
index 3793443dd..c05600f80 100644
--- a/source/cPlayer.h
+++ b/source/cPlayer.h
@@ -63,10 +63,12 @@ public:
void SetName( const char* a_Name ); //tolua_export
typedef std::list< cGroup* > GroupList;
+ typedef std::list< std::string > StringList;
void AddToGroup( const char* a_GroupName ); //tolua_export
bool CanUseCommand( const char* a_Command ); //tolua_export
bool HasPermission( const char* a_Permission ); //tolua_export
const GroupList & GetGroups(); // >> EXPORTED IN MANUALBINDINGS <<
+ StringList GetResolvedPermissions(); // >> EXPORTED IN MANUALBINDINGS <<
bool IsInGroup( const char* a_Group ); //tolua_export
std::string GetColor(); //tolua_export
@@ -86,6 +88,7 @@ public:
bool SaveToDisk();
bool LoadFromDisk();
+ void LoadPermissionsFromDisk(); //tolua_export
const char* GetLoadedWorldName();