Interface IStandardContentSavedData
Inherited Members
Namespace: IdleKit.Framework
Assembly: cs.temp.dll.dll
Syntax
public interface IStandardContentSavedData : IContentSavedData, ISavedData, IInjectable
Properties
activeTradeId
The id of the current active ITrade. Set to empty string is no trade is currently active.
Declaration
string activeTradeId { get; }
Property Value
Type | Description |
---|---|
String |
lastActiveTradeDeactivationTime
The last time an ITrade was deactivated.
Declaration
long lastActiveTradeDeactivationTime { get; }
Property Value
Type | Description |
---|---|
Int64 |
tradeInputCurrencyAmount
The associated input CurrencyAmount with the current active ITrade.
Declaration
CurrencyAmount tradeInputCurrencyAmount { get; }
Property Value
Type | Description |
---|---|
CurrencyAmount |
tradeOutputCurrencyAmount
The associated output CurrencyAmount with the current active ITrade.
Declaration
CurrencyAmount tradeOutputCurrencyAmount { get; }
Property Value
Type | Description |
---|---|
CurrencyAmount |
Methods
Activate(ITrade)
Sets the active ITrade for the current IStandardContent.
Declaration
void Activate(ITrade trade)
Parameters
Type | Name | Description |
---|---|---|
ITrade | trade |
Deactivate(Int64)
Removes the active ITrade from the current IStandardContent.
Declaration
void Deactivate(long endTime)
Parameters
Type | Name | Description |
---|---|---|
Int64 | endTime |