ApplyDifficultyMultiplier | function ApplyDifficultyMultiplier() |
CanSpendResource | function bool CanSpendResource(H7ResourceQuantity Cost) |
CanSpendResources | native function bool CanSpendResources(array<H7ResourceQuantity> Resources) |
CanSpendResourcesTimes | function int CanSpendResourcesTimes(array<H7ResourceQuantity> Resources) |
ClearIncome | function ClearIncome(H7Resource resName) |
ClearPreviousIncome | function ClearPreviousIncome() |
ClearQuantity | function ClearQuantity(H7Resource resName) |
GetAllResourceAmounts | function array GetAllResourceAmounts() |
GetAllResourcesAsArray | event array<ResourceStockpile> GetAllResourcesAsArray() |
GetCurrency | function int GetCurrency() |
GetCurrencyIDString | function string GetCurrencyIDString() |
GetCurrencyResource | function string GetCurrencyResource() |
GetCurrencyResourceType | function H7Resource GetCurrencyResourceType() |
GetGatheredResources | function array<H7ResourceGatherData> GetGatheredResources() |
GetIconByStr | function Texture2D GetIconByStr(string Str) |
GetIncome | function int GetIncome(H7Resource Resource) |
GetName | function string GetName() |
GetPlayer | function H7Player GetPlayer() |
GetResource | native function int GetResource(H7Resource Resource) |
GetResourceByAID | function H7Resource GetResourceByAID(string aid) |
GetResourceByIDString | function H7Resource GetResourceByIDString(string resourceName) |
GetResourceByName | function H7Resource GetResourceByName(string resourceName) |
GetResourceByResourceTypeIdentifier | function H7Resource GetResourceByResourceTypeIdentifier(string resourceName) |
GetResources | function array<ResourceStockpile> GetResources() |
HandleIncome | function HandleIncome(bool updateGui) |
HasResourceInSet | function bool HasResourceInSet(H7Resource Resource) |
IsCurrencyResource | function bool IsCurrencyResource(H7Resource Resource) |
LogGatheredResource | function LogGatheredResource(H7Resource Resource, int modAmount, optional bool Currency) |
ModifiedIncome | event ModifiedIncome(H7Resource Resource) |
ModifyCurrency | function ModifyCurrency(int modAmount, optional bool updateGui = false) |
ModifyCurrencySilent | function ModifyCurrencySilent(int modAmount) |
ModifyIncome | native function ModifyIncome(H7Resource Resource, int modAmount) |
ModifyResource | function ModifyResource(H7Resource Resource, int modAmount, optional bool updateGui = true) |
PrintDebugStockpileForAI | function PrintDebugStockpileForAI() |
ResourceCompareGUI | function int ResourceCompareGUI(ResourceStockpile A, ResourceStockpile B) |
SetCurrencySilent | function SetCurrencySilent(int Amount) |
SetGatheredResources | function SetGatheredResources(array<H7ResourceGatherData> gatheredResources) |
SetPlayer | function SetPlayer(H7Player Player) |
SetResource | function SetResource(H7Resource Resource, int Amount, optional bool updateGui = true) |
SetResources | function SetResources(array<ResourceStockpile> stockpiles) |
SortByGUIPriority | function SortByGUIPriority() |
spendResources | function spendResources(array<H7ResourceQuantity> Resources, optional bool updateGui = true, optional bool doMultiplayerSynchro = false) |
SpendResourcesComplete | native function SpendResourcesComplete() |
TradeResourcesWithPlayer | static function TradeResourcesWithPlayer(H7Player sourcePlayer, H7Player targetPlayer, array<H7ResourceQuantity> Resources) |
TradeResourceWithPlayer | static function bool TradeResourceWithPlayer(H7Player sourcePlayer, H7Player targetPlayer, H7Resource Resource, int Amount) |