![]() |
Crossfire Server, Trunk
1.75.0
|
#include <ArtifactWriter.h>
Public Member Functions | |
virtual void | write (const artifact *item, StringBuffer *buf) |
Write the specified asset to the StringBuffer. More... | |
![]() | |
virtual | ~AssetWriter () |
Destructor in case inherited classes need it. More... | |
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 18 of file ArtifactWriter.cpp.
References artifact::allowed, object::anim_speed, buf, artifact::chance, archetype::clone, artifact::difficulty, empty_archetype, get_ob_diff(), object::inv, artifact::item, name, object::name, stringbuffer_append_printf(), and stringbuffer_append_string().
Referenced by pack_artifacts().