Class StoreItemData
This class contains stores data: all offers and currency. It handles callbacks for offer changes.
Inheritance
System.Object
StoreItemData
Implements
System.ComponentModel.INotifyPropertyChanged
Assembly: Eco.Gameplay.dll
Syntax
public class StoreItemData : Object, IHasClientControlledContainers, IController, IViewController, IHasUniversalID, IClearOnTrade, IClearRequestHandler, INotifyPropertyChanged
Constructors
StoreItemData()
Declaration
Properties
BuyCategories
Declaration
public ControllerList<StoreCategory> BuyCategories { get; set; }
Property Value
BuyOffers
Declaration
public IEnumerable<TradeOffer> BuyOffers { get; }
Property Value
Type |
Description |
System.Collections.Generic.IEnumerable<TradeOffer> |
|
BuyOffersChangedEvent
Declaration
public static ThreadSafeAction<StoreItemData> BuyOffersChangedEvent { get; }
Property Value
Categories
Declaration
public IEnumerable<StoreCategory> Categories { get; }
Property Value
Type |
Description |
System.Collections.Generic.IEnumerable<StoreCategory> |
|
ControllerID
Declaration
public ref int ControllerID { get; }
Property Value
Type |
Description |
System.Int32 |
|
Currency
Declaration
public Currency Currency { get; set; }
Property Value
HasDataThatCanBeCleared
Declaration
public bool HasDataThatCanBeCleared { get; }
Property Value
Type |
Description |
System.Boolean |
|
SellCategories
Declaration
public ControllerList<StoreCategory> SellCategories { get; set; }
Property Value
SellOffers
Declaration
public IEnumerable<TradeOffer> SellOffers { get; }
Property Value
Type |
Description |
System.Collections.Generic.IEnumerable<TradeOffer> |
|
SellOffersChangedEvent
Declaration
public static ThreadSafeAction<StoreItemData> SellOffersChangedEvent { get; }
Property Value
Methods
TryHandleClearRequest(Player)
Declaration
public Result TryHandleClearRequest(Player player)
Parameters
Type |
Name |
Description |
Player |
player |
|
Returns
Events
PropertyChanged
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
Type |
Description |
System.ComponentModel.PropertyChangedEventHandler |
|
Implements
System.ComponentModel.INotifyPropertyChanged
Extension Methods