mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-03-23 07:40:14 +00:00
Improve auth error feedback with specific failure reasons, version mismatch details, and connection timeout
This commit is contained in:
parent
78442f8aea
commit
a52e28191e
4 changed files with 56 additions and 26 deletions
|
|
@ -53,6 +53,9 @@ private:
|
|||
// Status
|
||||
std::string statusMessage;
|
||||
bool statusIsError = false;
|
||||
std::string failureReason; // Specific reason from auth handler
|
||||
float authTimer = 0.0f; // Timeout tracker
|
||||
static constexpr float AUTH_TIMEOUT = 10.0f;
|
||||
|
||||
// Callbacks
|
||||
std::function<void()> onSuccess;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue