Home › Lua API › MapAreas

Available out of the box. Usable from Lua in the unmodified game.

MapAreas

6 methods. Symbol/current columns are function addresses (RVA) of the native wrapper.

Signatures are recovered from the game code. ⚠ = partly understood (arguments may be missing or approximate). ? after a name = optional argument. Types: integer/number are Lua numbers, enum-typed arguments show the C++ type in brackets. Two signatures mean the method is registered separately for the UI and the gameplay state and each wrapper was decoded on its own. "same code as" in the Symbol column means the compiler merged identical functions: those methods share one wrapper and cannot be told apart by address.

Method Signature Where Reference Symbol Current
FindBiggestArea MapAreas.FindBiggestArea(arg1?: boolean) → MapArea (or nothing)
args: arg1 — A boolean flag (true/false).
gameplay — 0x19640 0x19b20
GetArea MapAreas.GetArea(arg1?: number) → MapArea (or nothing) gameplay — 0x196d0 0x19bb0
GetCount MapAreas.GetCount() → number gameplay — 0x19750 0x19c30
GetLandCount MapAreas.GetLandCount() → number gameplay — 0x197a0 0x19c80
Members MapAreas.Members() → function gameplay — 0x197f0 0x19cd0
MembersAux MapAreas.MembersAux() → number, MapArea (or nothing) gameplay — 0x19820 0x19d00