Class IKItemContent<TInterface, TConcrete>
A base IdleKit implementation of Beamable's Beamable.Common.Inventory.ItemContent
Inheritance
IKItemContent<TInterface, TConcrete>
Implements
ISingleDataProvider<TInterface>
Assembly: cs.temp.dll.dll
Syntax
public abstract class IKItemContent<TInterface, TConcrete> : ItemContent, ISingleDataProvider<TInterface> where TInterface : class, IData where TConcrete : class, TInterface
Type Parameters
Name |
Description |
TInterface |
|
TConcrete |
|
Fields
_data
Declaration
protected TConcrete _data
Field Value
Type |
Description |
TConcrete |
|
Properties
Data
Declaration
public virtual TInterface Data { get; }
Property Value
Type |
Description |
TInterface |
|
DataType
Declaration
public virtual Type DataType { get; }
Property Value
IsLoaded
Declaration
public virtual bool IsLoaded { get; }
Property Value
Methods
GetData(Action<TInterface>)
Declaration
public virtual void GetData(Action<TInterface> onDataRetrieved)
Parameters
Type |
Name |
Description |
Action<TInterface> |
onDataRetrieved |
|
Inject(IResolver)
Declaration
public virtual void Inject(IResolver resolver)
Parameters
Type |
Name |
Description |
IResolver |
resolver |
|
Implements
ISingleDataProvider<>