|
wavelength 1.0.0
|
The callback of the loads of the files of a part. More...
#include <avatarpart.h>
Public Member Functions | |
| Callback (AvatarPart *pOwner) | |
| Construct the callback of a part. | |
| int | ShouldLoad (RndObject *pExisting, const char *pszName, const char *pszClass) override |
| Create an object only when no object of the name exists. | |
| Public Member Functions inherited from RndLoader::Callback | |
| virtual void | SetObjectCount (int nObjects) |
| Receive the number of objects of the file before the first is created. | |
| virtual | ~Callback () |
| Destroy the callback. | |
The callback of the loads of the files of a part.
The RTTI includes the nested class name and records RndLoader::Callback as the base. The object is 8 bytes.
|
inlineexplicit |
|
overridevirtual |
Create an object only when no object of the name exists.
Otherwise stop the load and request the choice the part is loading again.
The name of the class follows the base.
| pExisting | The loaded object with the same name, or null when none exists. |
| pszName | The object name. The routine ignores it. |
| pszClass | The class name. The routine ignores it. |
Implements RndLoader::Callback.