Interface MaterialTrade

Base interface shared by all journal event types.

interface MaterialTrade {
    MarketID: number;
    Paid: {
        Category: string;
        Category_Localised?: string;
        Material: string;
        Material_Localised?: string;
        Quantity: number;
    };
    Received: {
        Category: string;
        Category_Localised?: string;
        Material: string;
        Material_Localised?: string;
        Quantity: number;
    };
    TraderType: string;
    event: "MaterialTrade";
    timestamp: string;
}

Hierarchy (view full)

Properties

MarketID: number
Paid: {
    Category: string;
    Category_Localised?: string;
    Material: string;
    Material_Localised?: string;
    Quantity: number;
}

Type declaration

  • Category: string
  • Optional Category_Localised?: string
  • Material: string
  • Optional Material_Localised?: string
  • Quantity: number
Received: {
    Category: string;
    Category_Localised?: string;
    Material: string;
    Material_Localised?: string;
    Quantity: number;
}

Type declaration

  • Category: string
  • Optional Category_Localised?: string
  • Material: string
  • Optional Material_Localised?: string
  • Quantity: number
TraderType: string
event: "MaterialTrade"

The type of event.

timestamp: string

The time in GMT, ISO 8601.