Crossfire Server, Trunk  1.75.0
FacesetWriter.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 FACESETWRITER_H
14 #define FACESETWRITER_H
15 
16 #include "global.h"
17 #include "image.h"
18 #include "AssetWriter.h"
19 
20 class FacesetWriter : public AssetWriter<face_sets> {
21  public:
22  virtual void write(const face_sets *set, StringBuffer *buf);
23 };
24 
25 #endif /* FACESETWRITER_H */
26 
global.h
AssetWriter.h
FacesetWriter::write
virtual void write(const face_sets *set, StringBuffer *buf)
Write the specified asset to the StringBuffer.
Definition: FacesetWriter.cpp:15
buf
StringBuffer * buf
Definition: readable.cpp:1565
FacesetWriter
Definition: FacesetWriter.h:20
image.h
StringBuffer
A buffer that will be expanded as content is added to it.
Definition: stringbuffer.cpp:25
face_sets
Information about one face set.
Definition: image.h:17
set
*envar *is the environment if one that can also be used as an override If both the flag and the envar are set
Definition: server-directories.txt:12
AssetWriter
Abstract writer of an asset to a StringBuffer.
Definition: AssetWriter.h:22