PlayerTreasury
Instance
This file is a description of an Instance’s Metatable. There is no accessible variable of this name. Most of its methods will expect an implicit “self” argument and should be invoked with a :.
Methods
| Script | UI | Returns | . or : | Name | Arguments |
|---|---|---|---|---|---|
| ✓ | : | CanAfford | |||
| ✓ | : | ChangeGoldBalance | |||
| ✓ | : | ChangeGoldBalanceByPercentage | |||
| ✓ | ✓ | : | GetBuildingMaintenance | ||
| ✓ | ✓ | : | GetDistrictMaintenance | ||
| ✓ | ✓ | : | GetGoldBalance | ||
| ✓ | ✓ | : | GetGoldYield | ||
| ✓ | : | GetGoldYieldToolTip | |||
| ✓ | : | GetMaintDiscountPerUnit | |||
| ✓ | ✓ | : | GetTotalMaintenance | ||
| ✓ | : | GetTotalMaintenanceToolTip | |||
| ✓ | ✓ | : | GetUnitMaintenance | ||
| ✓ | ✓ | : | GetWMDMaintenance | ||
| ✓ | : | SetGoldBalance |