1 | #ifndef ENGINE_CLIENT_CHECKSUM_H |
2 | #define ENGINE_CLIENT_CHECKSUM_H |
3 | |
4 | #include <engine/shared/config.h> |
5 | |
6 | struct CChecksumData |
7 | { |
8 | int m_SizeofData; |
9 | char m_aVersionStr[128]; |
10 | int m_Version; |
11 | char m_aOsVersion[256]; |
12 | int64_t m_Start; |
13 | int m_Random; |
14 | int m_SizeofClient; |
15 | int m_SizeofGameClient; |
16 | float m_Zoom; |
17 | int m_SizeofConfig; |
18 | CConfig m_Config; |
19 | int m_NumCommands; |
20 | int m_aCommandsChecksum[1024]; |
21 | int m_NumComponents; |
22 | int m_aComponentsChecksum[64]; |
23 | int m_NumFiles; |
24 | int ; |
25 | unsigned m_aFiles[1024]; |
26 | |
27 | void InitFiles(); |
28 | }; |
29 | |
30 | union CChecksum |
31 | { |
32 | char m_aBytes[sizeof(CChecksumData)]; |
33 | CChecksumData m_Data; |
34 | }; |
35 | |
36 | #endif // ENGINE_CLIENT_CHECKSUM_H |
37 | |