Class TradeTracker
Inheritance
System.Object
TradeTracker
Implements
System.ComponentModel.INotifyPropertyChanged
Assembly: Eco.Gameplay.dll
Syntax
public class TradeTracker : Object, IController, IViewController, IHasUniversalID, INotifyPropertyChanged, IThreadSafeSubscriptions, ISubscriptions<ThreadSafeSubscriptions>, ISubscriptions
Constructors
TradeTracker(StoreComponent, TradeOffer, TradeOffer)
Declaration
public TradeTracker(StoreComponent store, TradeOffer bestSale, TradeOffer bestWanted)
Parameters
Properties
ActionDescription
Declaration
public LocString ActionDescription { get; }
Property Value
Auth
Declaration
public AuthComponent Auth { get; }
Property Value
Color
Declaration
public ByteColor Color { get; set; }
Property Value
Component
Declaration
public StoreComponent Component { get; }
Property Value
ControllerID
Declaration
public ref int ControllerID { get; }
Property Value
Type |
Description |
System.Int32 |
|
Currency
Declaration
public Currency Currency { get; }
Property Value
IsSelling
Declaration
public bool IsSelling { get; }
Property Value
Type |
Description |
System.Boolean |
|
ItemTypeID
Declaration
public int ItemTypeID { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
MaxDurability
Declaration
public float MaxDurability { get; set; }
Property Value
Type |
Description |
System.Single |
|
MinDurability
Declaration
public float MinDurability { get; set; }
Property Value
Type |
Description |
System.Single |
|
NumberAvailable
Declaration
public int NumberAvailable { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
NumberWanted
Declaration
public float NumberWanted { get; set; }
Property Value
Type |
Description |
System.Single |
|
ReferencedItem
Declaration
public Item ReferencedItem { get; set; }
Property Value
RefernecedItemMarkedUpName
Declaration
public string RefernecedItemMarkedUpName { get; }
Property Value
Type |
Description |
System.String |
|
SalePrice
Declaration
public float SalePrice { get; set; }
Property Value
Type |
Description |
System.Single |
|
SalePriceAndCurrency
Declaration
public string SalePriceAndCurrency { get; }
Property Value
Type |
Description |
System.String |
|
Settlement
Declaration
public Settlement Settlement { get; set; }
Property Value
Store
Declaration
public StoreComponent Store { get; }
Property Value
StoreBalance
Declaration
public float StoreBalance { get; }
Property Value
Type |
Description |
System.Single |
|
StorePosition
Declaration
public Vector3 StorePosition { get; }
Property Value
Type |
Description |
System.Numerics.Vector3 |
|
Subscriptions
Declaration
public ref ThreadSafeSubscriptions Subscriptions { get; }
Property Value
WantedPrice
Declaration
public float WantedPrice { get; set; }
Property Value
Type |
Description |
System.Single |
|
WantedPriceAndCurrency
Declaration
public string WantedPriceAndCurrency { get; }
Property Value
Type |
Description |
System.String |
|
Methods
Destroy()
Declaration
GetAllItemTrackersForStore(StoreComponent)
Declaration
public static IEnumerable<TradeTracker> GetAllItemTrackersForStore(StoreComponent store)
Parameters
Returns
Type |
Description |
System.Collections.Generic.IEnumerable<TradeTracker> |
|
TestEquality(TradeTracker)
Declaration
public bool TestEquality(TradeTracker other)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Events
PropertyChanged
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
Type |
Description |
System.ComponentModel.PropertyChangedEventHandler |
|
Implements
System.ComponentModel.INotifyPropertyChanged
Extension Methods