benilla-re systems structs docs

Script::NumTaxiNodes

function · ui · orchestration

Address
0x4dcb00 · 44 bytes, up to 0x4dcb2b
Signature
int __fastcall (lua_State *L)
Meaning
Returns the number of node slots
Confidence
verified, proof one
Name from
the community database (idb)
Finding
ui/taxi#taxi-lua-functions

Finding: Taxi Lua functions in ui: the taxi map

0x4dcf20 registers fourteen functions from a table of name and function pairs: SetTaxiMap, NumTaxiNodes, TaxiNodeName, TaxiNodePosition, TaxiNodeCost, TakeTaxiNode, CloseTaxiMap, TaxiNodeGetType, TaxiNodeSetCurrent, TaxiGetSrcX, TaxiGetSrcY, TaxiGetDestX, TaxiGetDestY and GetNumRoutes. Slots are 1-based. SetTaxiMap(texture) assigns the held map texture to a texture region and does nothing before a map has loaded. TaxiNodeName(slot) returns the node's localized name, INVALID for a slot out of range. TaxiNodePosition(slot) returns u then v, and raises Invalid taxi node slot out of range. The six functions that take a slot raise their usage text for a non-number.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 2

Calls and jumps by a bare address, from tables/calls.tsv.