Cuberite
A lightweight, fast and extensible game server for Minecraft
|
Class used to store and query statistic-related information. More...
#include <Statistics.h>
Public Member Functions | |
cStatInfo () | |
cStatInfo (const eStatistic a_Type, const AString &a_Name, const eStatistic a_Depends=statInvalid) | |
Static Public Member Functions | |
static const AString & | GetName (const eStatistic a_Type) |
Type -> Name. More... | |
static eStatistic | GetPrerequisite (const eStatistic a_Type) |
Returns stat prerequisite. More... | |
static eStatistic | GetType (const AString &a_Name) |
Name -> Type. More... | |
Private Attributes | |
eStatistic | m_Depends |
AString | m_Name |
eStatistic | m_Type |
Static Private Attributes | |
static cStatInfo | ms_Info [statCount] |
Class used to store and query statistic-related information.
Definition at line 88 of file Statistics.h.
cStatInfo::cStatInfo | ( | ) |
Definition at line 83 of file Statistics.cpp.
cStatInfo::cStatInfo | ( | const eStatistic | a_Type, |
const AString & | a_Name, | ||
const eStatistic | a_Depends = statInvalid |
||
) |
Definition at line 92 of file Statistics.cpp.
|
static |
Type -> Name.
Definition at line 102 of file Statistics.cpp.
|
static |
|
static |
Name -> Type.
Definition at line 113 of file Statistics.cpp.
|
private |
Definition at line 111 of file Statistics.h.
|
private |
Definition at line 109 of file Statistics.h.
|
private |
Definition at line 107 of file Statistics.h.
|
staticprivate |
Definition at line 113 of file Statistics.h.