Skip to content

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

NameTypeNotes
tradingTablearray<TradingTableEntry>protected

Functions

NameDeclaration
GetBuyValuefunction int GetBuyValue(H7Resource resourceToBuy, float trf)
GetRatefunction int GetRate(H7Resource resourceToSell, H7Resource resourceToBuy, float trf)
GetSellValuefunction int GetSellValue(H7Resource resourceToSell, float trf)
GetTradingTablefunction array<TradingTableEntry> GetTradingTable()

Inherited

FromMembers
Object13 properties, 308 functions