Crossfire Server, Trunk
|
#include <AssetWriter.h>
Public Member Functions | |
virtual void | write (const T *asset, StringBuffer *buf)=0 |
virtual | ~AssetWriter () |
Abstract writer of an asset to a StringBuffer.
Definition at line 22 of file AssetWriter.h.
|
inlinevirtual |
Destructor in case inherited classes need it.
Definition at line 25 of file AssetWriter.h.
|
pure virtual |
Write the specified asset to the StringBuffer.
asset | asset to write. |
buf | where to write. |
Implemented in TreasureWriter, FormulaeWriter, QuestWriter, MessageWriter, FacesetWriter, FaceWriter, ArtifactWriter, ArchetypeWriter, and AnimationWriter.
Referenced by do_pack(), and write_load().