Show / Hide Table of Contents

Class TradeTracker

Inheritance
System.Object
TradeTracker
Implements
IController
IViewController
IHasUniversalID
System.ComponentModel.INotifyPropertyChanged
IThreadSafeSubscriptions
ISubscriptions<ThreadSafeSubscriptions>
ISubscriptions
Namespace: Eco.Gameplay.Economy
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
Type Name Description
StoreComponent store
TradeOffer bestSale
TradeOffer bestWanted

Properties

ActionDescription

Declaration
public LocString ActionDescription { get; }
Property Value
Type Description
LocString

Auth

Declaration
public AuthComponent Auth { get; }
Property Value
Type Description
AuthComponent

Color

Declaration
public ByteColor Color { get; set; }
Property Value
Type Description
ByteColor

Component

Declaration
public StoreComponent Component { get; }
Property Value
Type Description
StoreComponent

ControllerID

Declaration
public ref int ControllerID { get; }
Property Value
Type Description
System.Int32

Currency

Declaration
public Currency Currency { get; }
Property Value
Type Description
Currency

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
Type Description
Item

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
Type Description
Settlement

Store

Declaration
public StoreComponent Store { get; }
Property Value
Type Description
StoreComponent

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
Type Description
ThreadSafeSubscriptions

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
public void Destroy()

GetAllItemTrackersForStore(StoreComponent)

Declaration
public static IEnumerable<TradeTracker> GetAllItemTrackersForStore(StoreComponent store)
Parameters
Type Name Description
StoreComponent store
Returns
Type Description
System.Collections.Generic.IEnumerable<TradeTracker>

TestEquality(TradeTracker)

Declaration
public bool TestEquality(TradeTracker other)
Parameters
Type Name Description
TradeTracker other
Returns
Type Description
System.Boolean

Events

PropertyChanged

Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
Type Description
System.ComponentModel.PropertyChangedEventHandler

Implements

IController
IViewController
IHasUniversalID
System.ComponentModel.INotifyPropertyChanged
IThreadSafeSubscriptions
ISubscriptions<TSubscriptionsList>
ISubscriptions

Extension Methods

TagUtils.TagNames(Object, Boolean)
TagUtils.TagDisplayNames(Object, Boolean)
ClientSetViewExtensions.SetClassOfProperty(Object, Player, String, String, Int32)
TypeTooltipExtensions.UILinkGeneric(Object)
☀
☾
In This Article
Back to top
Copyright (c) Strange Loop Games 2021
☀
☾