From 1a0d9450eaa0f3c2ff475175f5d45932fd4dd7fa Mon Sep 17 00:00:00 2001 From: Tiger Wang Date: Sat, 2 Oct 2021 21:27:32 +0100 Subject: Authentication flow: move construction, slim down classes (#5312) - Remove extra members in ForgeHandshake --- src/Server.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/Server.h') 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 -- cgit v1.2.3