Class IKContent<TInterface, TConcrete>
A base IdleKit implementation of Beamables Beamable.Common.Content. This is used on IEntity objects that do not have
any associated ISavedData.
Inheritance
IKContent<TInterface, TConcrete>
Implements
ISingleDataProvider<TInterface>
Assembly: cs.temp.dll.dll
Syntax
public abstract class IKContent<TInterface, TConcrete> : ContentObject, 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<>