Crossfire Server, Trunk
MessageWriter Class Reference

#include <MessageWriter.h>

+ Inheritance diagram for MessageWriter:
+ Collaboration diagram for MessageWriter:

Public Member Functions

virtual void write (const GeneralMessage *message, StringBuffer *buf)
- Public Member Functions inherited from AssetWriter< GeneralMessage >
virtual ~AssetWriter ()

Detailed Description

Definition at line 19 of file MessageWriter.h.

Member Function Documentation

◆ write()

void MessageWriter::write ( const GeneralMessage asset,
StringBuffer buf 

Write the specified asset to the StringBuffer.

assetasset to write.
bufwhere to write.

Implements AssetWriter< GeneralMessage >.

Definition at line 15 of file MessageWriter.cpp.

References buf, diamondslots::message, stringbuffer_append_printf(), and stringbuffer_append_string().

+ Here is the call graph for this function:

The documentation for this class was generated from the following files: