Class SystemBase
Common class of all Systems.
public abstract class SystemBase : EcsService, IDisposable, IEnumerable<EcsNode>, IEnumerable
- Inheritance
-
SystemBase
- Implements
- Derived
- Inherited Members
Constructors
SystemBase(Type)
public SystemBase(Type data)
Parameters
data
Type
Properties
DataType
public Type DataType { get; }
Property Value
Kind
public override EcsNodeKind Kind { get; }
Property Value
NilSystem
public static SystemBase NilSystem { get; }
Property Value
SystemType
public Type SystemType { get; }
Property Value
Methods
ClearHook(int, Entity)
protected void ClearHook(int id, Entity sender)
Parameters
CreateHook(int, string)
protected void CreateHook(int id, string name)
Parameters
CreateHook<T>(int, string)
protected void CreateHook<T>(int id, string name)
Parameters
Type Parameters
T
Invoke(int, Entity)
public void Invoke(int id, Entity sender)
Parameters
Invoke<T>(int, Entity, T)
public void Invoke<T>(int id, Entity sender, T details)
Parameters
Type Parameters
T
Subscribe(int, HookHandler, Entity?)
public void Subscribe(int id, HookHandler handler, Entity? target = null)
Parameters
id
inthandler
HookHandlertarget
Entity
Subscribe<T>(int, HookHandler<T>, Entity?)
public void Subscribe<T>(int id, HookHandler<T> handler, Entity? target = null)
Parameters
id
inthandler
HookHandler<T>target
Entity
Type Parameters
T
Unsubscribe(int, HookHandler, Entity?)
public void Unsubscribe(int id, HookHandler handler, Entity? target = null)
Parameters
id
inthandler
HookHandlertarget
Entity
Unsubscribe<T>(int, HookHandler<T>, Entity?)
public void Unsubscribe<T>(int id, HookHandler<T> handler, Entity? target = null)
Parameters
id
inthandler
HookHandler<T>target
Entity
Type Parameters
T