Crossfire Server, Trunk
AssetsTracker.h
Go to the documentation of this file.
1 /*
2  * Crossfire -- cooperative multi-player graphical RPG and adventure game
3  *
4  * Copyright (c) 2020-2021 the Crossfire Development Team
5  *
6  * Crossfire is free software and comes with ABSOLUTELY NO WARRANTY. You are
7  * welcome to redistribute it under certain conditions. For details, please
8  * see COPYING and LICENSE.
9  *
10  * The authors can be reached via e-mail at <crossfire@metalforge.org>.
11  */
12 
13 #ifndef ASSETSTRACKER_H
14 #define ASSETSTRACKER_H
15 
16 #include <string>
17 
18 #include "global.h"
19 #include "object.h"
20 #include "quest.h"
21 
27  public:
34  virtual void assetDefined(const archetype *asset, const std::string &filename) {
35  (void)asset;
36  (void)filename;
37  }
38 
45  virtual void assetDefined(const quest_definition *asset, const std::string &filename) {
46  (void)asset;
47  (void)filename;
48  }
49 
56  virtual void assetDefined(const treasurelist *asset, const std::string &filename) {
57  (void)asset;
58  (void)filename;
59  }
60 
67  virtual void assetDefined(const GeneralMessage *asset, const std::string &filename) {
68  (void)asset;
69  (void)filename;
70  }
71 
78  virtual void assetDefined(const artifact *asset, const std::string &filename) {
79  (void)asset;
80  (void)filename;
81  }
82 
89  virtual void assetDefined(const Face *asset, const std::string &filename) {
90  (void)asset;
91  (void)filename;
92  }
93 
100  virtual void assetDefined(const Animations *asset, const std::string &filename) {
101  (void)asset;
102  (void)filename;
103  }
104 };
105 
106 #endif /* ASSETSTRACKER_H */
Face
Definition: face.h:14
global.h
AssetsTracker::assetDefined
virtual void assetDefined(const Animations *asset, const std::string &filename)
Definition: AssetsTracker.h:100
GeneralMessage
Definition: book.h:44
AssetsTracker::assetDefined
virtual void assetDefined(const Face *asset, const std::string &filename)
Definition: AssetsTracker.h:89
AssetsTracker::assetDefined
virtual void assetDefined(const artifact *asset, const std::string &filename)
Definition: AssetsTracker.h:78
npc_dialog.filename
filename
Definition: npc_dialog.py:99
AssetsTracker
Definition: AssetsTracker.h:26
AssetsTracker::assetDefined
virtual void assetDefined(const quest_definition *asset, const std::string &filename)
Definition: AssetsTracker.h:45
treasurelist
Definition: treasure.h:85
AssetsTracker::assetDefined
virtual void assetDefined(const GeneralMessage *asset, const std::string &filename)
Definition: AssetsTracker.h:67
AssetsTracker::assetDefined
virtual void assetDefined(const archetype *asset, const std::string &filename)
Definition: AssetsTracker.h:34
archetype
Definition: object.h:481
nlohmann::detail::void
j template void())
Definition: json.hpp:4099
quest.h
Animations
Definition: face.h:25
quest_definition
Definition: quest.h:37
AssetsTracker::assetDefined
virtual void assetDefined(const treasurelist *asset, const std::string &filename)
Definition: AssetsTracker.h:56
artifact
Definition: artifact.h:14
object.h