Crossfire Server, Trunk
ArtifactWriter.h
Go to the documentation of this file.
1 /*
2  * Crossfire -- cooperative multi-player graphical RPG and adventure game
3  *
4  * Copyright (c) 2020-2022 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 ARTIFACTWRITER_H
14 #define ARTIFACTWRITER_H
15 
16 #include "global.h"
17 #include "AssetWriter.h"
18 
19 class ArtifactWriter : public AssetWriter<artifact> {
20  public:
21  virtual void write(const artifact *item, StringBuffer *buf);
22 };
23 
24 #endif /* ARTIFACTWRITER_H */
global.h
AssetWriter.h
buf
StringBuffer * buf
Definition: readable.cpp:1551
ArtifactWriter
Definition: ArtifactWriter.h:19
StringBuffer
Definition: stringbuffer.cpp:25
item
Definition: item.py:1
ArtifactWriter::write
virtual void write(const artifact *item, StringBuffer *buf)
Definition: ArtifactWriter.cpp:21
artifact
Definition: artifact.h:14
AssetWriter
Definition: AssetWriter.h:22