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 };
83 
84 #endif /* ASSETSTRACKER_H */
global.h
GeneralMessage
Definition: book.h:44
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
archt
Definition: object.h:472
AssetsTracker
Definition: AssetsTracker.h:26
AssetsTracker::assetDefined
virtual void assetDefined(const quest_definition *asset, const std::string &filename)
Definition: AssetsTracker.h:45
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
nlohmann::detail::void
j template void())
Definition: json.hpp:4099
artifactstruct
Definition: artifact.h:14
quest.h
quest_definition
Definition: quest.h:38
AssetsTracker::assetDefined
virtual void assetDefined(const treasurelist *asset, const std::string &filename)
Definition: AssetsTracker.h:56
object.h
treasureliststruct
Definition: treasure.h:85