MarketRate beta
Interface of @v12-engine/engine
ts
export interface MarketRateOne trade of a marketplace (presetMarket): amount of sell for rate of buy for each one sold
Members
amount
ts
amount?: number;How much is sold at a time: 100 when left out
buy
ts
buy: string;The resource traded for, by id
hotkey
ts
hotkey?: string;The key the ability's button is pressed with
id
ts
id?: string;The ability's id: sell-<sell>-for-<buy> when left out
name
ts
name?: string;The ability's name: Sell <sell> for <buy> when left out
rate
ts
rate: number;How much of buy comes for each one of sell: 0.5 is 100 lumber for 50 gold
sell
ts
sell: string;The resource traded away, by id