HandleSetFactionVisiblePacket
function · ui · primitive
- Address
0x4d5710· 73 bytes, up to0x4d5758- Signature
uint32_t __fastcall (void *param, uint32_t opcode, uint32_t time, CDataStore *msg)- Meaning
- Makes a slot visible from SMSG_SET_FACTION_VISIBLE, adding its row and re-sorting the list
- Confidence
- verified, proof one
- Name from
- the community database (idb)
- Finding
- ui/reputationwire#faction-messages
Finding: Faction messages in ui: reputation messages and requests
0x4d5290 registers five handlers and 0x4d5360 removes them. The slot in each message is the faction's
reputationListID. No message checks a slot or a count against the 64 slots.
| opcode | message | body |
|---|---|---|
| 0x122 | SMSG_INITIALIZE_FACTIONS | u32 count, then per entry a u8 flags and a u32 standing; the slot is the entry's position |
| 0x123 | SMSG_SET_FACTION_VISIBLE | u32 slot |
| 0x124 | SMSG_SET_FACTION_STANDING | u32 count, then per entry a u32 slot and a u32 standing |
| 0x313 | SMSG_SET_FACTION_ATWAR | u32 slot, u8 flags |
| 0x2a5 | SMSG_SET_FORCED_REACTIONS | u32 count, then per entry a u32 faction and a u32 rank |
| 0x125 | CMSG_SET_FACTION_ATWAR | u32 slot, u8 at war |
| 0x317 | CMSG_SET_FACTION_INACTIVE | u32 slot, u8 inactive |
| 0x318 | CMSG_SET_WATCHED_FACTION | u32 slot, -1 for none |
The derivation is in the doc.
Callers 0
None by a direct call or jump.
Callees 4
- CDataStore::GetInt32 base
- AddReputationEntry ui
- SortReputationList ui
- SetSlotFlags ui
Calls and jumps by a bare address, from tables/calls.tsv.