IEntityArchetypeManagerExtension

IEntityArchetypeManagerExtensionabstract

Interface entity archetype manager extension. Allows to react to archetype changes. More...

#include

Public Member Functions

virtual void OnArchetypeAdded (IEntityArchetype &archetype)=0
Called when new archetype is added.
virtual void OnArchetypeRemoved (IEntityArchetype &archetype)=0
Called when an archetype is about to be removed.
virtual void OnAllArchetypesRemoved ()=0
Called when all archetypes are about to be removed.
virtual void Serialize (IEntityArchetype &archetype, Serialization::IArchive &archive)=0
Called during archetype serialization, allows to inject extra data.
virtual void LoadFromXML (IEntityArchetype &archetype, XmlNodeRef &archetypeNode)=0
Called to load archetype extension data from the XML.
virtual void SaveToXML (IEntityArchetype &archetype, XmlNodeRef &archetypeNode)=0
Called to save archetype extension data to the XML.

Detailed Description

Interface entity archetype manager extension. Allows to react to archetype changes.