summaryrefslogtreecommitdiffstats
path: root/source/cPlayer.h
diff options
context:
space:
mode:
authorfaketruth <faketruth@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-01-30 17:47:26 +0100
committerfaketruth <faketruth@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-01-30 17:47:26 +0100
commit9dfa0f1f15c413540e932a04e94419a8a3b37dcf (patch)
treec111ee0ad961aa365b2c681e486dae4ce7e09421 /source/cPlayer.h
parentMore cFile cleanup; removed old format writing for block entities (diff)
downloadcuberite-9dfa0f1f15c413540e932a04e94419a8a3b37dcf.tar
cuberite-9dfa0f1f15c413540e932a04e94419a8a3b37dcf.tar.gz
cuberite-9dfa0f1f15c413540e932a04e94419a8a3b37dcf.tar.bz2
cuberite-9dfa0f1f15c413540e932a04e94419a8a3b37dcf.tar.lz
cuberite-9dfa0f1f15c413540e932a04e94419a8a3b37dcf.tar.xz
cuberite-9dfa0f1f15c413540e932a04e94419a8a3b37dcf.tar.zst
cuberite-9dfa0f1f15c413540e932a04e94419a8a3b37dcf.zip
Diffstat (limited to '')
-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();