StorageImpl

Undocumented in source.

Members

Aliases

Tp
alias Tp = T
Undocumented in source.
Tp
alias Tp = T*
Undocumented in source.

Functions

Active
void Active(void* component)
Undocumented in source. Be warned that the author may not have intended to support it.
Bind
void Bind(void* component, Entity entity)
Undocumented in source. Be warned that the author may not have intended to support it.
Clone
void* Clone(void* component)
Undocumented in source. Be warned that the author may not have intended to support it.
Components
ConstArray!(void*) Components()
Undocumented in source. Be warned that the author may not have intended to support it.
Deactive
void Deactive(void* component)
Undocumented in source. Be warned that the author may not have intended to support it.
FindFunctionType
void* FindFunctionType(string name, TypeInfo type)
Undocumented in source. Be warned that the author may not have intended to support it.
Remove
void Remove(void* component)
Undocumented in source. Be warned that the author may not have intended to support it.
Type
TypeInfo Type()
Undocumented in source. Be warned that the author may not have intended to support it.
TypeCast
void* TypeCast(TypeInfo type, void* component)
Undocumented in source. Be warned that the author may not have intended to support it.

Manifest constants

size
enum size;
Undocumented in source.
size
enum size;
Undocumented in source.

Properties

active
Tp[] active [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.

Static functions

Active
void Active(Tp component)
Undocumented in source. Be warned that the author may not have intended to support it.
Bind
void Bind(Tp component, Entity entity)
Undocumented in source. Be warned that the author may not have intended to support it.
Clone
Tp Clone(Tp component)
Undocumented in source. Be warned that the author may not have intended to support it.
Deactive
void Deactive(Tp component)
Undocumented in source. Be warned that the author may not have intended to support it.
Remove
void Remove(Tp component)
Undocumented in source. Be warned that the author may not have intended to support it.
_Cast
void* _Cast(TypeInfo type, void* component)
Undocumented in source. Be warned that the author may not have intended to support it.
_FindFunctionType
void* _FindFunctionType(string name, TypeInfo type)
Undocumented in source. Be warned that the author may not have intended to support it.
allocate
Tp allocate(Args args)
Undocumented in source. Be warned that the author may not have intended to support it.

Static variables

activeIndex
size_t activeIndex;
Undocumented in source.
added
bool added;
Undocumented in source.
it
StorageImpl!T it;
Undocumented in source.
map
EPair[Tp] map;
Undocumented in source.
storage
Tp[] storage;
Undocumented in source.
totalIndex
size_t totalIndex;
Undocumented in source.

Structs

EPair
struct EPair
Undocumented in source.

Inherited Members

From ComponentStorage

Storages
ComponentStorage[TypeInfo] Storages;
Undocumented in source.
get
ComponentStorage get()
Undocumented in source. Be warned that the author may not have intended to support it.
getDeep
ComponentStorage[] getDeep()
Undocumented in source. Be warned that the author may not have intended to support it.
components
ConstArray!(pointerType!T) components()
Undocumented in source. Be warned that the author may not have intended to support it.
componentsDeep
ConstArray!(pointerType!T)[] componentsDeep()
Undocumented in source. Be warned that the author may not have intended to support it.
all
ConstArray!(ComponentStorage) all()
Undocumented in source. Be warned that the author may not have intended to support it.
RunFunction
void RunFunction(string name, Args args)
Undocumented in source. Be warned that the author may not have intended to support it.
RunFunction
void RunFunction(string name, Args args)
Undocumented in source. Be warned that the author may not have intended to support it.
FindFunction
T FindFunction(string name)
Undocumented in source. Be warned that the author may not have intended to support it.
FindFunction
bool FindFunction(T t, string name)
Undocumented in source. Be warned that the author may not have intended to support it.
Cast
auto Cast(void* component)
Undocumented in source. Be warned that the author may not have intended to support it.
Type
TypeInfo Type()
Undocumented in source.
TypeCast
void* TypeCast(TypeInfo type, void* component)
Undocumented in source.
Components
ConstArray!(void*) Components()
Undocumented in source.
FindFunctionType
void* FindFunctionType(string name, TypeInfo type)
Undocumented in source.
Clone
void* Clone(void* )
Undocumented in source.
Bind
void Bind(void* , Entity )
Undocumented in source.
Active
void Active(void* )
Undocumented in source.
Deactive
void Deactive(void* )
Undocumented in source.
Remove
void Remove(void* )
Undocumented in source.

Meta