mirror of
https://github.com/whoahq/whoa.git
synced 2026-11-20 21:14:56 +03:00
chore(net): rearrange defines and enums for clarity
This commit is contained in:
10 files changed
+91
-82
No files matched your search
@@ -486,9 +486,9 @@ void CGlueMgr::PollLoginServerLogin() {
|
||||
}
|
||||
|
||||
case LOGIN_STATE_CHECKINGVERSIONS: {
|
||||
uint8_t versionChecksum[VERSION_CHECKSUM_LEN];
|
||||
uint8_t versionChecksum[LOGIN_VERSION_CHECKSUM_LEN];
|
||||
auto versionChallenge = ClientServices::LoginConnection()->GetVersionChallenge();
|
||||
ChecksumExecutables(versionChallenge, VERSION_CHALLENGE_LEN, versionChecksum);
|
||||
ChecksumExecutables(versionChallenge, LOGIN_VERSION_CHALLENGE_LEN, versionChecksum);
|
||||
|
||||
ClientServices::LoginConnection()->ProveVersion(versionChecksum);
|
||||
|
||||
|
||||
@@ -2,8 +2,8 @@
|
||||
#define GLUE_C_GLUE_MGR_HPP
|
||||
|
||||
#include "event/Event.hpp"
|
||||
#include "net/Login.hpp"
|
||||
#include "net/Types.hpp"
|
||||
#include <cstdint>
|
||||
|
||||
class CDataStore;
|
||||
class CSimpleTop;
|
||||
|
||||
Reference in new issue
Block a user