2017-12-25 23:49:48 +00:00
|
|
|
#ifndef STATS_HPP_INCLUDED
|
|
|
|
#define STATS_HPP_INCLUDED
|
|
|
|
|
|
|
|
#include <cstdint>
|
|
|
|
|
|
|
|
/** @addtogroup GameTabs
|
|
|
|
* @{ */
|
|
|
|
class Stats
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
|
|
|
|
typedef enum SKILLS
|
|
|
|
{
|
|
|
|
ATTACK,
|
|
|
|
DEFENCE,
|
|
|
|
STRENGTH,
|
|
|
|
HITPOINTS,
|
|
|
|
RANGE,
|
|
|
|
PRAYER,
|
|
|
|
MAGIC,
|
|
|
|
COOKING,
|
|
|
|
WOODCUTTING,
|
|
|
|
FLETCHING,
|
|
|
|
FISHING,
|
|
|
|
FIREMAKING,
|
|
|
|
CRAFTING,
|
|
|
|
SMITHING,
|
|
|
|
MINING,
|
|
|
|
HERBLORE,
|
|
|
|
AGILITY,
|
|
|
|
THIEVING,
|
|
|
|
SLAYER,
|
|
|
|
FARMING,
|
|
|
|
RUNECRAFT,
|
|
|
|
HUNTER,
|
2018-08-24 17:33:26 +00:00
|
|
|
CONSTRUCTION,
|
|
|
|
ALL
|
2017-12-25 23:49:48 +00:00
|
|
|
} SKILLS;
|
|
|
|
|
|
|
|
static bool IsOpen();
|
|
|
|
static bool Open();
|
|
|
|
static std::int32_t GetWeight();
|
|
|
|
static std::int32_t GetRunEnergy();
|
|
|
|
static std::int32_t GetCurrentLevel(SKILLS Skill);
|
|
|
|
static std::int32_t GetRealLevel(SKILLS Skill);
|
2018-08-24 17:33:26 +00:00
|
|
|
static std::int64_t GetExperience(SKILLS Skill);
|
2017-12-25 23:49:48 +00:00
|
|
|
static std::int32_t GetExperienceTo(SKILLS Skill, std::int32_t Level);
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
/** @} */
|
|
|
|
|
|
|
|
#endif // STATS_HPP_INCLUDED
|