ManaPlus
Public Member Functions | Data Fields
ItemColorData Class Reference

#include <itemcolordata.h>

Public Member Functions

 ItemColorData ()
 
 ItemColorData (const ItemColor id0, const std::string &name0, const std::string &color0)
 

Data Fields

ItemColor id
 
std::string name
 
std::string color
 

Detailed Description

Definition at line 32 of file itemcolordata.h.

Constructor & Destructor Documentation

◆ ItemColorData() [1/2]

ItemColorData::ItemColorData ( )
inline

Definition at line 35 of file itemcolordata.h.

35  :
37  name(),
38  color()
39  { }
std::string name
Definition: itemcolordata.h:53
ItemColor id
Definition: itemcolordata.h:52
std::string color
Definition: itemcolordata.h:54
const ItemColor ItemColor_zero
Definition: itemcolor.h:30

◆ ItemColorData() [2/2]

ItemColorData::ItemColorData ( const ItemColor  id0,
const std::string &  name0,
const std::string &  color0 
)
inline

Definition at line 41 of file itemcolordata.h.

43  :
44  id(id0),
45  name(name0),
46  color(color0)
47  {
48  }

Field Documentation

◆ color

std::string ItemColorData::color

Definition at line 54 of file itemcolordata.h.

◆ id

ItemColor ItemColorData::id

Definition at line 52 of file itemcolordata.h.

Referenced by ColorDB::loadColorLists().

◆ name

std::string ItemColorData::name

Definition at line 53 of file itemcolordata.h.


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