Crossfire Server, Trunk
ArtifactWriter Class Reference

#include <ArtifactWriter.h>

Inheritance diagram for ArtifactWriter:
Inheritance graph
Collaboration diagram for ArtifactWriter:
Collaboration graph

Public Member Functions

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

Detailed Description

Definition at line 19 of file ArtifactWriter.h.

Member Function Documentation

◆ write()

void ArtifactWriter::write ( const artifact asset,
StringBuffer buf 
)
virtual

Write the specified asset to the StringBuffer.

Parameters
assetasset to write.
bufwhere to write.
Todo:
check why not included in get_ob_diff

Implements AssetWriter< artifact >.

Definition at line 21 of file ArtifactWriter.cpp.

References buf, archetype::clone, empty_archetype, get_ob_diff(), commongive::inv, name, stringbuffer_append_printf(), and stringbuffer_append_string().

Referenced by pack_artifacts().

Here is the call graph for this function:
Here is the caller graph for this function:

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