benilla-re systems structs docs

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.

sectionscope+8 file+4 file
0accountconfig-cache.wtfnone
1characterconfig-cache.wtfnone
2accountbindings-cache.wtfnone
3characterbindings-cache.wtfnone
4accountmacros-cache.txtmacros-local.txt
5charactermacros-cache.txtmacros-local.txt
6characterlayout-cache.txtnone
7characterchat-cache.txtnone

The derivation is in the doc.

Fields 8

offsetsizetypenamemeaningconfidencefinding
0x00001uint8_tm_accountWideHolds 1 for an account-wide section and 0 for a per-character oneverified, proof onenet/accountdata#section-table
0x00044const char *m_localFileHolds the name of the second file, or nullverified, proof onenet/accountdata#section-table
0x00084const char *m_cacheFileHolds the name of the file that is hashed, uploaded and replacedverified, proof onenet/accountdata#section-table
0x000c1uint8_tm_pendingHolds 1 while the section waits for the serververified, proof onenet/accountdata#section-table
0x00104void *m_readCallbackHolds the read callback saved while the section is pendingverified, proof onenet/accountdata#section-table
0x00144void *m_readArgumentHolds the argument saved with the read callbackverified, proof onenet/accountdata#section-table
0x00184uint32_tm_saveTimerHolds the save timer, zero when none is armedverified, proof onenet/accountdata#section-table
0x001c16uint8_t[16]m_digestHolds the digest of the file the last time client and server agreedverified, proof onenet/accountdata#section-table

Globals of this type