PostboxManager.TradeVendorData
A class in Root.Township, the global namespace.
Server: coins and items gathered from one player's trade vendors during a wipe, posted to their postbox when the wipe ends.
Constructors
Fields
1 private and internal field
Properties
| Member | What it is |
|---|
int CoinCount { get; private set; } | Total coins collected. |
IEnumerable<SerializedSavedDynamicObject> Entities { get; } | The saved objects to post: a coin pouch (or one coin) for the coins, then the items. |
int ItemCount { get; } | How many items were saved. |
Methods
| Member | What it is |
|---|
void AddTradeVendor(int coinCount, NetworkEntity dockedItem) | Adds a vendor's coins and saves then destroys its docked item. |
Used in
Members of other types that take, return or hold a TradeVendorData: