Module trade

Source

Structs§

GoodIter
An iterator over the variants of Good
PendingTrade
Items are not removed from the inventory during a PendingTrade: all the items are moved atomically (if there’s space and both parties agree) upon completion
ReducedInventory
ReducedInventoryItem
SiteInformation
SitePrices
TradeId
Trades

Enums§

Good
TradeAction
Clients submit TradeAction to the server, which adds the Uid of the player out-of-band (i.e. without trusting the client to say who it’s accepting on behalf of)
TradePhase
TradeResult

Type Aliases§

SiteId