AccountDataSection
struct · net · 44 bytes
- Meaning
- Holds an account data section: scope, file names, pending byte, read callback, save timer and cached digest
- Confidence
- verified, proof one
- Finding
- net/accountdata#section-table
Finding: Section table in net: account data
Each record of 0x85dcf0, 44 bytes, holds: +0 a scope byte, 1 for an account-wide section and 0 for a per-character one; +4 the name of a second file, or 0; +8 the cache file name; +0xc the pending byte; +0x10 and +0x14 a read callback and its argument saved while pending; +0x18 the save timer; +0x1c the 16-byte cached digest. Only the +8 file is hashed, uploaded and replaced.
| section | scope | +8 file | +4 file |
|---|---|---|---|
| 0 | account | config-cache.wtf | none |
| 1 | character | config-cache.wtf | none |
| 2 | account | bindings-cache.wtf | none |
| 3 | character | bindings-cache.wtf | none |
| 4 | account | macros-cache.txt | macros-local.txt |
| 5 | character | macros-cache.txt | macros-local.txt |
| 6 | character | layout-cache.txt | none |
| 7 | character | chat-cache.txt | none |
The derivation is in the doc.
Fields 8
| offset | size | type | name | meaning | confidence | finding |
|---|---|---|---|---|---|---|
0x0000 | 1 | uint8_t | m_accountWide | Holds 1 for an account-wide section and 0 for a per-character one | verified, proof one | net/accountdata#section-table |
0x0004 | 4 | const char * | m_localFile | Holds the name of the second file, or null | verified, proof one | net/accountdata#section-table |
0x0008 | 4 | const char * | m_cacheFile | Holds the name of the file that is hashed, uploaded and replaced | verified, proof one | net/accountdata#section-table |
0x000c | 1 | uint8_t | m_pending | Holds 1 while the section waits for the server | verified, proof one | net/accountdata#section-table |
0x0010 | 4 | void * | m_readCallback | Holds the read callback saved while the section is pending | verified, proof one | net/accountdata#section-table |
0x0014 | 4 | void * | m_readArgument | Holds the argument saved with the read callback | verified, proof one | net/accountdata#section-table |
0x0018 | 4 | uint32_t | m_saveTimer | Holds the save timer, zero when none is armed | verified, proof one | net/accountdata#section-table |
0x001c | 16 | uint8_t[16] | m_digest | Holds the digest of the file the last time client and server agreed | verified, proof one | net/accountdata#section-table |
Globals of this type
0x85dcf0s_accountDataSections