HandleSetForcedReactionsPacket
function · ui · primitive
- Address
0x4d59a0· 204 bytes, up to0x4d5a6b- Signature
uint32_t __fastcall (void *param, uint32_t opcode, uint32_t time, CDataStore *msg)- Meaning
- Reads the forced reaction pairs of SMSG_SET_FORCED_REACTIONS into the table and refreshes the player's reaction
- 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 7
- CDataStore::GetInt32 base
- CDataStore::GetUInt32 base
- ClntObjMgrObjectPtr objectlayer
- ClntObjMgrGetActivePlayer objectlayer
- 0x4d7110 ui
- ResizeArray4d7150 ui
- CGUnit_C::RefreshReaction objectlayer
Calls and jumps by a bare address, from tables/calls.tsv.