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 extern "C" {
19 #include "global.h"
20 #include "object.h"
21 #include "quest.h"
22 }
23 
29  public:
36  virtual void assetDefined(const archetype *asset, const std::string &filename) {
37  (void)asset;
38  (void)filename;
39  }
40 
47  virtual void assetDefined(const quest_definition *asset, const std::string &filename) {
48  (void)asset;
49  (void)filename;
50  }
51 
58  virtual void assetDefined(const treasurelist *asset, const std::string &filename) {
59  (void)asset;
60  (void)filename;
61  }
62 
69  virtual void assetDefined(const GeneralMessage *asset, const std::string &filename) {
70  (void)asset;
71  (void)filename;
72  }
73 
80  virtual void assetDefined(const artifact *asset, const std::string &filename) {
81  (void)asset;
82  (void)filename;
83  }
84 };
85 
86 #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:80
npc_dialog.filename
filename
Definition: npc_dialog.py:99
archt
Definition: object.h:469
AssetsTracker
Definition: AssetsTracker.h:28
AssetsTracker::assetDefined
virtual void assetDefined(const quest_definition *asset, const std::string &filename)
Definition: AssetsTracker.h:47
AssetsTracker::assetDefined
virtual void assetDefined(const GeneralMessage *asset, const std::string &filename)
Definition: AssetsTracker.h:69
AssetsTracker::assetDefined
virtual void assetDefined(const archetype *asset, const std::string &filename)
Definition: AssetsTracker.h:36
nlohmann::detail::void
j template void())
Definition: json.hpp:4099
artifactstruct
Definition: artifact.h:14
quest.h
quest_definition
Definition: quest.h:42
AssetsTracker::assetDefined
virtual void assetDefined(const treasurelist *asset, const std::string &filename)
Definition: AssetsTracker.h:58
object.h
treasureliststruct
Definition: treasure.h:82