Crossfire Server, Trunk  1.75.0
AnimationWriter Class Reference

#include <AnimationWriter.h>

+ Inheritance diagram for AnimationWriter:
+ Collaboration diagram for AnimationWriter:

Public Member Functions

virtual void write (const Animations *anim, StringBuffer *buf)
 Write the specified asset to the StringBuffer. More...
 
- Public Member Functions inherited from AssetWriter< Animations >
virtual ~AssetWriter ()
 Destructor in case inherited classes need it. More...
 

Detailed Description

Definition at line 19 of file AnimationWriter.h.

Member Function Documentation

◆ write()

void AnimationWriter::write ( const Animations asset,
StringBuffer buf 
)
virtual

Write the specified asset to the StringBuffer.

Parameters
assetasset to write.
bufwhere to write.

Implements AssetWriter< Animations >.

Definition at line 15 of file AnimationWriter.cpp.

References buf, face(), Animations::faces, Animations::facings, Face::name, Animations::name, Animations::num_animations, stringbuffer_append_printf(), and stringbuffer_append_string().

+ Here is the call graph for this function:

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