Crossfire Server, Trunk
|
#include <AssetsTracker.h>
Public Member Functions | |
virtual void | assetDefined (const archetype *asset, const std::string &filename) |
virtual void | assetDefined (const artifact *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 28 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 36 of file AssetsTracker.h.
References npc_dialog::filename, and nlohmann::detail::void().
Referenced by ArtifactLoader::load(), ArchetypeLoader::load(), MessageLoader::load(), QuestLoader::load(), and TreasureLoader::load().
|
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 80 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 69 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 47 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 58 of file AssetsTracker.h.
References npc_dialog::filename, and nlohmann::detail::void().