Script::AcceptBattlefieldPort
function · ui · primitive
- Address
0x4ab3b0· 239 bytes, up to0x4ab49e- Signature
int __fastcall (lua_State *L)- Meaning
- Sends opcode 0x2d5 to accept or decline a queue slot's port
- Confidence
- verified, proof one
- Name from
- the community database (idb)
- 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 0
None by a direct call or jump.
Callees 9
- __ftol crt
- CDataStore::PutInt8 base
- CDataStore::PutUInt32 base
- ClientServices::Send net
- GetScriptFlagArg ui
- lua_isnumber lua
- lua_tonumber lua
- luaL_error lua
- LcdReturnFromWait ui
Calls and jumps by a bare address, from tables/calls.tsv.