ManaPlus
Public Member Functions | Data Fields | Static Public Attributes
SpriteReference Struct Reference

#include <spritereference.h>

Public Member Functions

 SpriteReference ()
 
 SpriteReference (const std::string &sprite0, const int variant0)
 

Data Fields

std::string sprite
 
int variant
 

Static Public Attributes

static SpriteReferenceEmpty = 0
 

Detailed Description

Definition at line 31 of file spritereference.h.

Constructor & Destructor Documentation

◆ SpriteReference() [1/2]

SpriteReference::SpriteReference ( )
inline

Definition at line 35 of file spritereference.h.

35  :
36  sprite(),
37  variant(0)
38  {}
std::string sprite

◆ SpriteReference() [2/2]

SpriteReference::SpriteReference ( const std::string &  sprite0,
const int  variant0 
)
inline

Definition at line 40 of file spritereference.h.

40  :
41  sprite(sprite0),
42  variant(variant0)
43  {
44  }

Field Documentation

◆ Empty

SpriteReference * SpriteReference::Empty = 0
static

Definition at line 33 of file spritereference.h.

Referenced by BeingInfo::BeingInfo(), and Client::loadData().

◆ sprite

std::string SpriteReference::sprite

◆ variant

int SpriteReference::variant

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