Crossfire Server, Trunk
TreasureWriter.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 TREASUREWRITER_H
14 #define TREASUREWRITER_H
15 
16 #include "global.h"
17 #include "AssetWriter.h"
18 
19 class TreasureWriter : public AssetWriter<treasurelist> {
20  public:
21  virtual void write(const treasurelist *list, StringBuffer *buf);
22 };
23 
24 #endif /* TREASUREWRITER_H */
25 
global.h
AssetWriter.h
guildoracle.list
list
Definition: guildoracle.py:87
buf
StringBuffer * buf
Definition: readable.cpp:1565
treasurelist
Definition: treasure.h:85
TreasureWriter::write
virtual void write(const treasurelist *list, StringBuffer *buf)
Definition: TreasureWriter.cpp:53
StringBuffer
Definition: stringbuffer.cpp:25
TreasureWriter
Definition: TreasureWriter.h:19
AssetWriter
Definition: AssetWriter.h:22