Crossfire Server, Trunk
|
#include <AssetsTracker.h>
Public Member Functions | |
virtual void | assetDefined (const Animations *asset, const std::string &filename) |
virtual void | assetDefined (const archetype *asset, const std::string &filename) |
virtual void | assetDefined (const artifact *asset, const std::string &filename) |
virtual void | assetDefined (const Face *asset, const std::string &filename) |
virtual void | assetDefined (const GeneralMessage *asset, const std::string &filename) |
virtual void | assetDefined (const quest_definition *asset, const std::string &filename) |
virtual void | assetDefined (const treasurelist *asset, const std::string &filename) |
Base class to be informed of where an asset is defined. Functions are implemented as stub to make overloading easy.
Definition at line 26 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. |
Reimplemented in ResourcesManager.
Definition at line 100 of file AssetsTracker.h.
References npc_dialog::filename, and nlohmann::detail::void().
|
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. |
Reimplemented in ResourcesManager.
Definition at line 34 of file AssetsTracker.h.
References npc_dialog::filename, and nlohmann::detail::void().
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. |
Reimplemented in ResourcesManager.
Definition at line 78 of file AssetsTracker.h.
References npc_dialog::filename, and nlohmann::detail::void().
|
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. |
Reimplemented in ResourcesManager.
Definition at line 89 of file AssetsTracker.h.
References npc_dialog::filename, and nlohmann::detail::void().
|
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. |
Reimplemented in ResourcesManager.
Definition at line 67 of file AssetsTracker.h.
References npc_dialog::filename, and nlohmann::detail::void().
|
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. |
Reimplemented in ResourcesManager.
Definition at line 45 of file AssetsTracker.h.
References npc_dialog::filename, and nlohmann::detail::void().
|
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. |
Reimplemented in ResourcesManager.
Definition at line 56 of file AssetsTracker.h.
References npc_dialog::filename, and nlohmann::detail::void().