Crossfire Server, Trunk
AssetsTracker Class Reference

#include <AssetsTracker.h>

+ Inheritance diagram for AssetsTracker:
+ Collaboration diagram for AssetsTracker:

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)
 

Detailed Description

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.

Member Function Documentation

◆ assetDefined() [1/7]

virtual void AssetsTracker::assetDefined ( const Animations asset,
const std::string &  filename 
)
inlinevirtual

Function called when an asset is defined in a file. It may be called multiple times with the same asset.

Parameters
assetasset which is defined.
filenamefull 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().

+ Here is the call graph for this function:

◆ assetDefined() [2/7]

virtual void AssetsTracker::assetDefined ( const archetype asset,
const std::string &  filename 
)
inlinevirtual

Function called when an asset is defined in a file. It may be called multiple times with the same asset.

Parameters
assetasset which is defined.
filenamefull 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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ assetDefined() [3/7]

virtual void AssetsTracker::assetDefined ( const artifact asset,
const std::string &  filename 
)
inlinevirtual

Function called when an asset is defined in a file. It may be called multiple times with the same asset.

Parameters
assetasset which is defined.
filenamefull 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().

+ Here is the call graph for this function:

◆ assetDefined() [4/7]

virtual void AssetsTracker::assetDefined ( const Face asset,
const std::string &  filename 
)
inlinevirtual

Function called when an asset is defined in a file. It may be called multiple times with the same asset.

Parameters
assetasset which is defined.
filenamefull 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().

+ Here is the call graph for this function:

◆ assetDefined() [5/7]

virtual void AssetsTracker::assetDefined ( const GeneralMessage asset,
const std::string &  filename 
)
inlinevirtual

Function called when an asset is defined in a file. It may be called multiple times with the same asset.

Parameters
assetasset which is defined.
filenamefull 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().

+ Here is the call graph for this function:

◆ assetDefined() [6/7]

virtual void AssetsTracker::assetDefined ( const quest_definition asset,
const std::string &  filename 
)
inlinevirtual

Function called when an asset is defined in a file. It may be called multiple times with the same asset.

Parameters
assetasset which is defined.
filenamefull 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().

+ Here is the call graph for this function:

◆ assetDefined() [7/7]

virtual void AssetsTracker::assetDefined ( const treasurelist asset,
const std::string &  filename 
)
inlinevirtual

Function called when an asset is defined in a file. It may be called multiple times with the same asset.

Parameters
assetasset which is defined.
filenamefull 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().

+ Here is the call graph for this function:

The documentation for this class was generated from the following file: