4jcraft/Minecraft.World/net/minecraft/stats/GeneralStat.cpp

15 lines
451 B
C++

#include "../../../Header Files/stdafx.h"
#include "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;
}