Crossfire Server, Trunk
|
#include <ArtifactWriter.h>
Public Member Functions | |
virtual void | write (const artifact *item, StringBuffer *buf) |
Public Member Functions inherited from AssetWriter< artifact > | |
virtual | ~AssetWriter () |
Definition at line 19 of file ArtifactWriter.h.
|
virtual |
Write the specified asset to the StringBuffer.
asset | asset to write. |
buf | where to write. |
Implements AssetWriter< artifact >.
Definition at line 21 of file ArtifactWriter.cpp.
References buf, archetype::clone, empty_archetype, get_ob_diff(), commongive::inv, give::name, stringbuffer_append_printf(), and stringbuffer_append_string().
Referenced by pack_artifacts().