Use auth username for world connection

This commit is contained in:
Kelsi 2026-02-05 18:18:15 -08:00
parent d6d180abf5
commit d2fcf5e71f
2 changed files with 6 additions and 1 deletions

View file

@ -52,6 +52,7 @@ public:
// State
AuthState getState() const { return state; }
const std::vector<uint8_t>& getSessionKey() const { return sessionKey; }
const std::string& getUsername() const { return username; }
// Callbacks
void setOnSuccess(AuthSuccessCallback callback) { onSuccess = callback; }