mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-04-23 22:13:37 +00:00
15 lines
452 B
C++
15 lines
452 B
C++
#include "../Platform/stdafx.h"
|
|
#include "../Headers/net.minecraft.stats.h"
|
|
#include "GeneralStat.h"
|
|
|
|
GeneralStat::GeneralStat(int id, const std::wstring& name,
|
|
StatFormatter* formatter)
|
|
: Stat(id, name, formatter) {}
|
|
|
|
GeneralStat::GeneralStat(int id, const std::wstring& name) : Stat(id, name) {}
|
|
|
|
Stat* GeneralStat::postConstruct() {
|
|
Stat::postConstruct();
|
|
Stats::generalStats->push_back(this);
|
|
return this;
|
|
} |