HashmapComponentStorage

Undocumented in source.

Members

Aliases

ComponentType
alias ComponentType = _ComponentType
Undocumented in source.

Functions

deserialize
void deserialize(ubyte[] input)
Undocumented in source. Be warned that the author may not have intended to support it.
get
ComponentType* get(EntityId eid)
Undocumented in source. Be warned that the author may not have intended to support it.
getOrCreate
ComponentType* getOrCreate(EntityId eid, ComponentType defVal)
Undocumented in source. Be warned that the author may not have intended to support it.
length
size_t length()
Undocumented in source. Be warned that the author may not have intended to support it.
opApply
int opApply(int delegate(EntityId, ref ComponentType) del)
Undocumented in source. Be warned that the author may not have intended to support it.
remove
void remove(EntityId eid)
Undocumented in source. Be warned that the author may not have intended to support it.
removeAll
void removeAll()
Undocumented in source. Be warned that the author may not have intended to support it.
serialize
void serialize(Buffer!ubyte* sink)
Undocumented in source. Be warned that the author may not have intended to support it.
serializePartial
void serializePartial(Buffer!ubyte* sink, IntKeyHashSet!EntityId externalEntities)
Undocumented in source. Be warned that the author may not have intended to support it.
set
void set(EntityId eid, ComponentType component)
Undocumented in source. Be warned that the author may not have intended to support it.

Meta