SendBattlefieldJoin
function · ui · primitive
- Address
0x4a9f60· 293 bytes, up to0x4aa084- Signature
void __fastcall (uint32_t listIndex, int32_t asGroup)- Meaning
- Checks the group size and sends opcode 0x2ee or 0x23e with map, instance and group flag
- Confidence
- verified, proof one
- Finding
- ui/battlefield#joining-and-leaving
Finding: Joining and leaving in ui: battlegrounds
JoinBattlefield(index [, asGroup]) runs 0x4a9f60. With asGroup set it shows ERR_GROUP_JOIN_BATTLEGROUND_TOO_MANY
(442) and sends nothing unless the Map row's +0x3c is at least the party count and the raid count. It then sends opcode 0x2ee
(u64 battlemaster, u32 mapId, u32 instanceId, u8 asGroup) when a battlemaster GUID is stored, else opcode 0x23e without
the GUID; the instance id is the list entry or 0. AcceptBattlefieldPort(index, accept) sends 0x2d5 (u32 mapId, u8 accept),
ShowBattlefieldList(index) 0x23c with the map id. LeaveBattlefield() sends 0x2e1 with the active slot's map id (0 for a
negative slot), only once a score message reported the end. RequestBattlefieldScoreData sends 0x2e0 and
RequestBattlefieldPositions 0x2e9, each at most once per 5000 ms.
The derivation is in the doc.
Callers 1
Callees 6
- CDataStore::PutInt8 base
- CDataStore::PutUInt32 base
- CDataStore::PutGuid base
- CGGameUI::DisplayError ui
- CountPartyMembers ui
- ClientServices::Send net
Calls and jumps by a bare address, from tables/calls.tsv.