Home › Native functions › District

Engine internals. No scripting access today. Listed for contributors and for understanding the game; using it needs a change to the game library.

District

Function Signature (Linux) Symbol Current From Lua Notes
Instance::ChangeExtraRegionalYield void District::Instance::ChangeExtraRegionalYield(District::Instance* this, YieldTypes eYield, int iDelta) 0x191920 0x190470 Dev CE (experimental): District.ChangeExtraRegionalYield edit_call, writes; called by EFFECT_ADJUST_DISTRICT_EXTRA_REGIONAL_YIELD
Instance::ChangeGreatPersonPointChange void District::Instance::ChangeGreatPersonPointChange(District::Instance* this, GreatPersonClassTypes eClass, FixedPoint xChange) 0x191980 0x1904d0 Dev CE (experimental): District.ChangeGreatPersonPointChange edit_call, writes; called by EFFECT_ADJUST_DISTRICT_GREAT_PERSON_POINTS
Instance::ChangeRemainingAttackCount void District::Instance::ChangeRemainingAttackCount(District::Instance* this, int iDelta) 0x1919d0 0x190520 Dev CE (experimental): District.ChangeRemainingAttackCount writes; called by EFFECT_ADJUST_CITY_ATTACKS_PER_TURN
Instance::ChangeTourismAdjacencyYieldModifier void District::Instance::ChangeTourismAdjacencyYieldModifier(District::Instance* this, YieldTypes eYield, int iDelta) 0x191a40 0x190590 Dev CE (experimental): District.ChangeTourismAdjacencyYieldModifier edit_call, writes; called by EFFECT_ADJUST_DISTRICT_TOURISM_ADJACENCY_YIELD_MOFIFIER
Instance::SetComplete void District::Instance::SetComplete(District::Instance* this, bool bState, bool bOriginalCompletion) 0x1940c0 0x192c20 Dev CE (experimental): District.SetComplete signal, writes
Instance::SetSiegeStatus void District::Instance::SetSiegeStatus(District::Instance* this, bool bIsUnderSiege) 0x194580 0x1930e0 Dev CE (experimental): District.SetSiegeStatus event, writes