Crossfire Server  1.75.0
FaceWriter.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 FACEWRITER_H
14 #define FACEWRITER_H
15 
16 #include "global.h"
17 #include "AssetWriter.h"
18 
19 class FaceWriter : public AssetWriter<Face> {
20  public:
21  virtual void write(const Face *face, StringBuffer *buf);
22 };
23 
24 #endif /* FACEWRITER_H */
25 
New face structure - this enforces the notion that data is face by face only - you can not change the...
Definition: face.h:14
virtual void write(const Face *face, StringBuffer *buf)
Write the specified asset to the StringBuffer.
Definition: FaceWriter.cpp:15
Global type definitions and header inclusions.
Abstract writer of an asset to a StringBuffer.
Definition: AssetWriter.h:22
StringBuffer * buf
Definition: readable.cpp:1563
A buffer that will be expanded as content is added to it.