- Grunt login ported end to end (SRP6 challenge/proof, version checksum, realm list) and tested against a live server: authenticates, connects to the world server (auth session with proof-of-work, header crypt), receives the character list and shows character select - Glue: realm list UI, character select (list, models, scripts), character create screen + name generator, delete/rename/decline, Enter World up to the loading screen; loading screen drawing and progress - AccountData (times, update, upload/download), BannedAddOns, addon scan and addon info, client cache version, tutorial flags - Shutdown path at login state: world/map/liquid/weather teardown, NetClient, ComSat, streaming stop; Logitech LCD no-device path in Ui/UILCD/Windows - PCRE 5.0 vendored (core stock; chartables and the posix layer from 12340), ValidateName - Fixes: TSGrowableArray::CalcChunkSize clamps to >= 8 (crash on char list), CWorldScene liquid renderer allocation, CMapFootprintTexture element ctor, pointer render states on x64, CFrustum/CWFrustum layout, M2 draw callback arguments, 37 class/struct forward-declaration mismatches - IDB name sync (1217 names), verify aliases, harness large-element instantiation Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
63 lines
1.5 KiB
C++
63 lines
1.5 KiB
C++
#ifndef ENGINE_SOURCE_OS_OSVERSIONHASH_H
|
|
#define ENGINE_SOURCE_OS_OSVERSIONHASH_H
|
|
|
|
#include <cstdint>
|
|
#include "Engine/Source/Storm/H/stpl.h"
|
|
|
|
class OsFileVersionInfo {
|
|
public:
|
|
/* 0000 */ TSFixedArray<uint8_t> m_data;
|
|
/* 000C */ uint16_t m_fileVersion[4];
|
|
/* 0014 */ uint16_t m_productVersion[4];
|
|
|
|
OsFileVersionInfo(const char* filename);
|
|
};
|
|
|
|
class IOsVersionHashCallback {
|
|
public:
|
|
virtual void Process(const void* data, uint32_t size) = 0;
|
|
};
|
|
|
|
template <class T>
|
|
class IOsVersionHashCallback2 : public IOsVersionHashCallback {
|
|
public:
|
|
/* 0004 */ T* m_object;
|
|
|
|
IOsVersionHashCallback2(T* object);
|
|
void Process(const void* data, uint32_t size) override;
|
|
};
|
|
|
|
struct OsVersionHashEntry {
|
|
/* 0000 */ uint32_t m_offset;
|
|
/* 0004 */ uint32_t m_size;
|
|
/* 0008 */ uint32_t m_type;
|
|
/* 000C */ uint32_t m_param;
|
|
};
|
|
|
|
class OsVersionHash {
|
|
public:
|
|
/* 0000 */ OsVersionHashEntry* m_entries;
|
|
/* 0004 */ uint32_t m_count;
|
|
/* 0008 */ uint32_t m_capacity;
|
|
|
|
OsVersionHash();
|
|
~OsVersionHash();
|
|
bool AddEntry(const OsVersionHashEntry& entry);
|
|
};
|
|
|
|
int32_t IOsVersionChecksum(IOsVersionHashCallback& callback, const char* path, int32_t loaded);
|
|
|
|
// INLINED
|
|
template <class T>
|
|
IOsVersionHashCallback2<T>::IOsVersionHashCallback2(T* object) : m_object(object) {
|
|
}
|
|
|
|
// VERIFY: 99333a2f auto
|
|
// OFFSET: 0x006B9CE0
|
|
template <class T>
|
|
void IOsVersionHashCallback2<T>::Process(const void* data, uint32_t size) {
|
|
this->m_object->Process(data, size);
|
|
}
|
|
|
|
#endif
|