|
Crossfire Server
1.75.0
|
Abstract writer of an asset to a StringBuffer. More...
#include <AssetWriter.h>
Public Member Functions | |
| virtual void | write (const T *asset, StringBuffer *buf)=0 |
| Write the specified asset to the StringBuffer. More... | |
| virtual | ~AssetWriter () |
| Destructor in case inherited classes need it. More... | |
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 FacesetWriter, AnimationWriter, ArchetypeWriter, ArtifactWriter, FaceWriter, FormulaeWriter, MessageWriter, QuestWriter, and TreasureWriter.
Referenced by do_pack(), and AssetWriter< Animations >::~AssetWriter().