diff options
author | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2014-07-16 01:03:47 +0200 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2014-07-16 01:03:47 +0200 |
commit | 1f6854792cdd6792b27c4f9f3d7d857df9dd64bf (patch) | |
tree | 4a45fccb4c6dbf7794d8f5e9d4b0bd5c68a0ec0a /src/Root.h | |
parent | Player properties are now retrieved (diff) | |
download | cuberite-1f6854792cdd6792b27c4f9f3d7d857df9dd64bf.tar cuberite-1f6854792cdd6792b27c4f9f3d7d857df9dd64bf.tar.gz cuberite-1f6854792cdd6792b27c4f9f3d7d857df9dd64bf.tar.bz2 cuberite-1f6854792cdd6792b27c4f9f3d7d857df9dd64bf.tar.lz cuberite-1f6854792cdd6792b27c4f9f3d7d857df9dd64bf.tar.xz cuberite-1f6854792cdd6792b27c4f9f3d7d857df9dd64bf.tar.zst cuberite-1f6854792cdd6792b27c4f9f3d7d857df9dd64bf.zip |
Diffstat (limited to 'src/Root.h')
-rw-r--r-- | src/Root.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/Root.h b/src/Root.h index a9e985656..4a3c205d3 100644 --- a/src/Root.h +++ b/src/Root.h @@ -26,6 +26,11 @@ class cCompositeChat; typedef cItemCallback<cPlayer> cPlayerListCallback; typedef cItemCallback<cWorld> cWorldListCallback; +namespace Json +{ + class Value; +} + @@ -89,7 +94,7 @@ public: void KickUser(int a_ClientID, const AString & a_Reason); /// Called by cAuthenticator to auth the specified user - void AuthenticateUser(int a_ClientID, const AString & a_Name, const AString & a_UUID, const AString & a_Properties = ""); + void AuthenticateUser(int a_ClientID, const AString & a_Name, const AString & a_UUID, const Json::Value & a_Properties); /// Executes commands queued in the command queue void TickCommands(void); |