benilla-re systems structs docs

RealmInfo

struct · net · 308 bytes

Meaning
Holds one realm of the logon server's realm list: type, flags, name, address, population and counts
Confidence
verified, proof one
Finding
glue/realms#the-realm-record

Finding: The realm record in glue: the realm list

A REALM_INFO record is 0x134 bytes. net's CMD_REALM_LIST parser 0x5b2230 writes it; this file reads six fields. The parser replaces three exact populations and sets a flag for each: 600.0 becomes 0.0 with 0x20, 200.0 becomes 0.001 with 0x40, 400.0 becomes 8.0 with 0x80. Every statistic and band below sees the replaced value. 0x5ab930 returns record i of the holder, or null when i is at or past its count.

offsettypeholds
+0x04uint32_trealm type, matched against Cfg_Configs column 1
+0x08uint8_tflags: 0x01 and 0x02 returned by GetRealmInfo, 0x20, 0x40, 0x80 the sentinels
+0x09char[256]name
+0x12cfloatpopulation
+0x130uint8_tthe account's characters on the realm
+0x131uint8_tcategory id, 0 meaning the first category

The derivation is in the doc.

Fields 6

offsetsizetypenamemeaningconfidencefinding
0x00044uint32_tm_typeHolds the realm type, matched against Cfg_Configs column 1 for the PvP and RP flagsverified, proof oneglue/realms#the-realm-record
0x00081uint8_tm_flagsHolds the flags: 0x01 and 0x02 as GetRealmInfo reports them, 0x20, 0x40, 0x80 the population sentinelsverified, proof oneglue/realms#the-realm-record
0x0009256char[256]m_nameHolds the realm nameverified, proof oneglue/realms#the-realm-record
0x012c4floatm_populationHolds the population, the sentinels 600, 200 and 400 replaced by 0, 0.001 and 8verified, proof oneglue/realms#the-realm-record
0x01301uint8_tm_charactersCounts the account's characters on the realmverified, proof oneglue/realms#the-realm-record
0x01311uint8_tm_categoryHolds the realm's category id, 0 meaning the first categoryverified, proof oneglue/realms#the-realm-record