Custom entity functions.
Type: Reference type
Declaration | Description |
---|---|
bool IsCustomEntity(const string& in szEntityname) const | Returns whether the given entity name is a registered custom entity |
void RegisterCustomEntity(const string& in szClassname, const string& in szEntityname) | Registers a class called szClassname as a custom entity named szEntityname. The class must inherit from a script entity base class. |
void UnRegisterCustomEntity(const string& in szEntityname) | Unregisters a custom entity by the given name |