TakeTaxiSlot
function · ui · primitive
- Address
0x4dc8d0· 249 bytes, up to0x4dc9c8- Signature
void __fastcall (uint32_t slot)- Meaning
- Sends the flight request for a slot, or shows the error that refuses it
- Confidence
- verified, proof one
- Finding
- ui/taxiroute#taking-a-node
Finding: Taking a node in ui: taxi routes, fares and the flight
TakeTaxiNode(slot) asks the server to start the flight. It does nothing for a slot past the count. A mounted player
(mount display above 0) shows message 0xb2. Taking the current node shows 0xaa. When a path joins the current node
to the slot's node it sends CMSG_ACTIVATETAXI (0x1ad): the 8-byte GUID of the flight master, the u32 id of the current
node, the u32 id of the target. Otherwise, with a route, it sends CMSG_ACTIVATETAXIEXPRESS (0x312): the GUID, the u32 fare
sum (before any discount), the u32 node count, then each node id as a u32, current node first. With no route it shows 0xab.
CMSG_TAXIQUERYAVAILABLENODES (0x1ac) is the GUID alone.
The derivation is in the doc.
Callers 1
Callees 6
- ClntObjMgrObjectPtr objectlayer
- ClntObjMgrGetActivePlayer objectlayer
- CGGameUI::DisplayError ui
- TaxiPathExists ui
- SendActivateTaxi objectlayer
- SendActivateTaxiExpress objectlayer
Calls and jumps by a bare address, from tables/calls.tsv.