Crossfire Server, Trunk
MessageWriter.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 MESSAGEWRITER_H
14 #define MESSAGEWRITER_H
15 
16 extern "C" {
17 #include "global.h"
18 }
19 
20 #include "AssetWriter.h"
21 
22 class MessageWriter : public AssetWriter<GeneralMessage> {
23  public:
24  virtual void write(const GeneralMessage *message, StringBuffer *buf);
25 };
26 
27 #endif /* MESSAGEWRITER_H */
28 
global.h
GeneralMessage
Definition: book.h:44
AssetWriter.h
MessageWriter::write
virtual void write(const GeneralMessage *message, StringBuffer *buf)
Definition: MessageWriter.cpp:15
StringBuffer
Definition: stringbuffer.c:25
diamondslots.message
string message
Definition: diamondslots.py:57
MessageWriter
Definition: MessageWriter.h:22
buf
StringBuffer * buf
Definition: readable.c:1606
AssetWriter
Definition: AssetWriter.h:24