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 30 of file spritereference.h.

Constructor & Destructor Documentation

◆ SpriteReference() [1/2]

SpriteReference::SpriteReference ( )
inline

Definition at line 34 of file spritereference.h.

34  :
35  sprite(),
36  variant(0)
37  {}

◆ SpriteReference() [2/2]

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

Definition at line 39 of file spritereference.h.

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

Field Documentation

◆ Empty

SpriteReference * SpriteReference::Empty = 0
static

Definition at line 32 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:
SpriteReference::variant
int variant
Definition: spritereference.h:48
SpriteReference::sprite
std::string sprite
Definition: spritereference.h:47