CGDuelInfo::OnDuelRequested
function · ui · orchestration
- Address
0x4d49d0· 203 bytes, up to0x4d4a9a- Signature
uint32_t __fastcall (void *param, uint32_t opcode, uint32_t time, CDataStore *msg)- Meaning
- Handles SMSG_DUEL_REQUESTED: accepts as challenger, cancels an ignored one or signals DUEL_REQUESTED
- Confidence
- verified, proof one
- Name from
- the community database (idb)
- Finding
- ui/duel#a-challenge
Finding: A challenge in ui: duels
0x4d49d0 reads two GUIDs: the first (the flag object) is kept as the current duel at 0xb73240, the second is the challenger.
When the challenger is the active player it shows ERR_DUEL_REQUESTED (309) and accepts at once. When the challenger is on the
ignore list it cancels and clears the duel. Otherwise it signals DUEL_REQUESTED (380) with the challenger's name, when the player
object is known. AcceptDuel() sends CMSG_DUEL_ACCEPTED (0x16c) and CancelDuel() CMSG_DUEL_CANCELLED (0x16d), each with the
stored flag GUID and without a check that a duel exists.
The derivation is in the doc.
Callers 0
None by a direct call or jump.
Callees 9
- CDataStore::GetGuid base
- ClntObjMgrObjectPtr objectlayer
- ClntObjMgrGetActivePlayer objectlayer
- CGGameUI::DisplayError ui
- SendDuelAccepted ui
- SendDuelCancelled ui
- FriendList::IsIgnored net
- CGUnit_C::GetUnitName objectlayer
- FrameScript_SignalEvent2 ui
Calls and jumps by a bare address, from tables/calls.tsv.