diff options
author | Tiger Wang <ziwei.tiger@outlook.com> | 2021-10-02 22:27:32 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-02 22:27:32 +0200 |
commit | 1a0d9450eaa0f3c2ff475175f5d45932fd4dd7fa (patch) | |
tree | bb20f3445773dca9c348ee2939ddc5609e8dbfa0 /src/Server.h | |
parent | Blaze shoot sound fix (diff) | |
download | cuberite-1a0d9450eaa0f3c2ff475175f5d45932fd4dd7fa.tar cuberite-1a0d9450eaa0f3c2ff475175f5d45932fd4dd7fa.tar.gz cuberite-1a0d9450eaa0f3c2ff475175f5d45932fd4dd7fa.tar.bz2 cuberite-1a0d9450eaa0f3c2ff475175f5d45932fd4dd7fa.tar.lz cuberite-1a0d9450eaa0f3c2ff475175f5d45932fd4dd7fa.tar.xz cuberite-1a0d9450eaa0f3c2ff475175f5d45932fd4dd7fa.tar.zst cuberite-1a0d9450eaa0f3c2ff475175f5d45932fd4dd7fa.zip |
Diffstat (limited to 'src/Server.h')
-rw-r--r-- | src/Server.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Server.h b/src/Server.h index 6bdab3e85..6fa2002e4 100644 --- a/src/Server.h +++ b/src/Server.h @@ -118,8 +118,8 @@ public: void KickUser(int a_ClientID, const AString & a_Reason); - /** Authenticates the specified user, called by cAuthenticator */ - void AuthenticateUser(int a_ClientID, const AString & a_Name, const cUUID & a_UUID, const Json::Value & a_Properties); + /** Authenticates the specified user, called by cAuthenticator supplying player details from Mojang. */ + void AuthenticateUser(int a_ClientID, AString && a_Username, const cUUID & a_UUID, Json::Value && a_Properties); const AString & GetServerID(void) const { return m_ServerID; } // tolua_export |