Crossfire Server, Trunk  1.75.0
AssetsTracker Class Reference

Base class to be informed of where an asset is defined. More...

#include <AssetsTracker.h>

+ Collaboration diagram for AssetsTracker:

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...
 

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 24 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.

Definition at line 98 of file AssetsTracker.h.

◆ 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.

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().

+ 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.

Definition at line 76 of file AssetsTracker.h.

◆ 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.

Definition at line 87 of file AssetsTracker.h.

◆ 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.

Definition at line 65 of file AssetsTracker.h.

◆ 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.

Definition at line 43 of file AssetsTracker.h.

◆ 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.

Definition at line 54 of file AssetsTracker.h.


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