Перейти к содержимому

City runtime reference

Evidence scope: WorldBox 0.51.2 build 719 / NML 1.2.0.1.

Signature Access Sample Stability
countBuildings()->Int32 public 100 same
countWarriors()->Int32 public 188 same
countZones()->Int32 public 110 same
getArmy()->Army public reference same
getCachedLoyalty()->Int32 public 195 same
getCulture()->Culture public reference same
getLanguage()->Language public reference same

Это values одного sample.

Signature Access Argument provenance Sample result
countBuildingsOfID(String)->Int32 public key City.buildings_dict_id: bonfire 1
getBuildingListOfID(String)->List<Building> internal тот же City dictionary key count 1
getBuildingListOfType(String)->List<Building> internal key City.buildings_dict_type: type_bonfire count 1
getSubspeciesId(String)->Int64 public key City._species: human 2

total_food_consumed, total_leaders, renown, total_births, total_deaths, total_kills.

Canonical 0.6 fix5 закрепил CityManager F:dict и owner Kingdom F:cities:

manager count 32 → 31
owner city count 6 → 5
manager_removed = true
owner_removed = true
registry_removed = true
stale_reads_safe = 50
reintroduced = false

Это VERIFIED-LIFECYCLE natural path.

Quick City · Parameterized atlas · Safe mutations · Lifecycle