Table of Contents

Class SystemBase

Namespace
ReFuel.Ecs
Assembly
ReFuel.dll

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

Type

Kind

public override EcsNodeKind Kind { get; }

Property Value

EcsNodeKind

NilSystem

public static SystemBase NilSystem { get; }

Property Value

SystemBase

SystemType

public Type SystemType { get; }

Property Value

Type

Methods

ClearHook(int, Entity)

protected void ClearHook(int id, Entity sender)

Parameters

id int
sender Entity

CreateHook(int, string)

protected void CreateHook(int id, string name)

Parameters

id int
name string

CreateHook<T>(int, string)

protected void CreateHook<T>(int id, string name)

Parameters

id int
name string

Type Parameters

T

Invoke(int, Entity)

public void Invoke(int id, Entity sender)

Parameters

id int
sender Entity

Invoke<T>(int, Entity, T)

public void Invoke<T>(int id, Entity sender, T details)

Parameters

id int
sender Entity
details T

Type Parameters

T

Subscribe(int, HookHandler, Entity?)

public void Subscribe(int id, HookHandler handler, Entity? target = null)

Parameters

id int
handler HookHandler
target Entity

Subscribe<T>(int, HookHandler<T>, Entity?)

public void Subscribe<T>(int id, HookHandler<T> handler, Entity? target = null)

Parameters

id int
handler HookHandler<T>
target Entity

Type Parameters

T

Unsubscribe(int, HookHandler, Entity?)

public void Unsubscribe(int id, HookHandler handler, Entity? target = null)

Parameters

id int
handler HookHandler
target Entity

Unsubscribe<T>(int, HookHandler<T>, Entity?)

public void Unsubscribe<T>(int id, HookHandler<T> handler, Entity? target = null)

Parameters

id int
handler HookHandler<T>
target Entity

Type Parameters

T