H7TradingTable
Class in MMH7Game · MMH7Game.H7TradingTable
Object › H7TradingTable
Using it from Lua
h7.find_all("H7TradingTable") -- live instances
h7.find_class("MMH7Game.H7TradingTable") -- the class
h7.hook("MMH7Game.H7TradingTable.GetBuyValue", fn)
Properties
Functions
| Name | Declaration |
GetBuyValue | function int GetBuyValue(H7Resource resourceToBuy, float trf) |
GetRate | function int GetRate(H7Resource resourceToSell, H7Resource resourceToBuy, float trf) |
GetSellValue | function int GetSellValue(H7Resource resourceToSell, float trf) |
GetTradingTable | function array<TradingTableEntry> GetTradingTable() |
Inherited
| From | Members |
| Object | 13 properties, 308 functions |