Luanti 5.16.0-dev
Loading...
Searching...
No Matches
ItemImageDef Struct Reference

#include <itemdef.h>

Collaboration diagram for ItemImageDef:

Public Member Functions

ItemImageDefoperator= (const std::string &other_name)
void reset ()
void serialize (std::ostream &os, u16 protocol_version) const
void deSerialize (std::istream &is, u16 protocol_version)

Public Attributes

std::string name
TileAnimationParams animation

Member Function Documentation

◆ deSerialize()

void ItemImageDef::deSerialize ( std::istream & is,
u16 protocol_version )

References animation, deSerializeString16(), and name.

Here is the call graph for this function:

◆ operator=()

ItemImageDef & ItemImageDef::operator= ( const std::string & other_name)
inline

◆ reset()

void ItemImageDef::reset ( )
inline

References animation, name, and TAT_NONE.

◆ serialize()

void ItemImageDef::serialize ( std::ostream & os,
u16 protocol_version ) const

References animation, name, and serializeString16().

Here is the call graph for this function:

Member Data Documentation

◆ animation

◆ name


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