Skip to main content

TradingLogger

A static class in Root.Township, Alta.Trading.

Logging for the trade deck. Sales are raised as the TradeDeckUsed console event.

Fields​

1 private and internal field
MemberWhat it is
private static Logger loggerLogger for this class.

Methods​

MemberWhat it is
static void Log(string message)Writes a debug log line.
static void Log(string message, params object[] parameters)Writes a debug log line.
static void RecordSale(NetworkPrefab item, int outputQuantity, int askPrice, int askAmount, int buyer, int seller)Server: raises ConsoleEvents.TradeDeckUsed with the item, unit price, quantity, buyer and seller. Called by TradeVendor on a sale.