![]() |
Crossfire Server, Trunk
1.75.0
|
Base class to be informed of where an asset is defined. More...
#include <AssetsTracker.h>
Public Member Functions | |
virtual void | assetDefined (const Animations *asset, const std::string &filename) |
Function called when an asset is defined in a file. More... | |
virtual void | assetDefined (const archetype *asset, const std::string &filename) |
Function called when an asset is defined in a file. More... | |
virtual void | assetDefined (const artifact *asset, const std::string &filename) |
Function called when an asset is defined in a file. More... | |
virtual void | assetDefined (const Face *asset, const std::string &filename) |
Function called when an asset is defined in a file. More... | |
virtual void | assetDefined (const GeneralMessage *asset, const std::string &filename) |
Function called when an asset is defined in a file. More... | |
virtual void | assetDefined (const quest_definition *asset, const std::string &filename) |
Function called when an asset is defined in a file. More... | |
virtual void | assetDefined (const treasurelist *asset, const std::string &filename) |
Function called when an asset is defined in a file. More... | |
Base class to be informed of where an asset is defined.
Functions are implemented as stub to make overloading easy.
Definition at line 24 of file AssetsTracker.h.
|
inlinevirtual |
Function called when an asset is defined in a file.
It may be called multiple times with the same asset.
asset | asset which is defined. |
filename | full pathname of where the asset was defined. |
Definition at line 98 of file AssetsTracker.h.
|
inlinevirtual |
Function called when an asset is defined in a file.
It may be called multiple times with the same asset.
asset | asset which is defined. |
filename | full pathname of where the asset was defined. |
Definition at line 32 of file AssetsTracker.h.
Referenced by ArtifactLoader::load(), ArchetypeLoader::load(), MessageLoader::load(), FaceLoader::load(), TreasureLoader::load(), QuestLoader::load(), and FaceLoader::loadAnimationBlock().
|
inlinevirtual |
Function called when an asset is defined in a file.
It may be called multiple times with the same asset.
asset | asset which is defined. |
filename | full pathname of where the asset was defined. |
Definition at line 76 of file AssetsTracker.h.
|
inlinevirtual |
Function called when an asset is defined in a file.
It may be called multiple times with the same asset.
asset | asset which is defined. |
filename | full pathname of where the asset was defined. |
Definition at line 87 of file AssetsTracker.h.
|
inlinevirtual |
Function called when an asset is defined in a file.
It may be called multiple times with the same asset.
asset | asset which is defined. |
filename | full pathname of where the asset was defined. |
Definition at line 65 of file AssetsTracker.h.
|
inlinevirtual |
Function called when an asset is defined in a file.
It may be called multiple times with the same asset.
asset | asset which is defined. |
filename | full pathname of where the asset was defined. |
Definition at line 43 of file AssetsTracker.h.
|
inlinevirtual |
Function called when an asset is defined in a file.
It may be called multiple times with the same asset.
asset | asset which is defined. |
filename | full pathname of where the asset was defined. |
Definition at line 54 of file AssetsTracker.h.