mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-04-17 17:43:52 +00:00
World auth: include realmId in AUTH_SESSION
This commit is contained in:
parent
58e1cc47b9
commit
81e082dc46
3 changed files with 22 additions and 4 deletions
|
|
@ -134,7 +134,8 @@ public:
|
|||
uint16_t port,
|
||||
const std::vector<uint8_t>& sessionKey,
|
||||
const std::string& accountName,
|
||||
uint32_t build = 12340);
|
||||
uint32_t build = 12340,
|
||||
uint32_t realmId = 0);
|
||||
|
||||
/**
|
||||
* Disconnect from world server
|
||||
|
|
@ -957,6 +958,7 @@ private:
|
|||
std::vector<uint8_t> sessionKey; // 40-byte session key from auth server
|
||||
std::string accountName; // Account name
|
||||
uint32_t build = 12340; // Client build (3.3.5a)
|
||||
uint32_t realmId_ = 0; // Realm ID from auth REALM_LIST (used in WotLK AUTH_SESSION)
|
||||
uint32_t clientSeed = 0; // Random seed generated by client
|
||||
uint32_t serverSeed = 0; // Seed from SMSG_AUTH_CHALLENGE
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue