Add Discord RPC back with new features, add beta splitscreen support, PR's from MCLCE used in this https://github.com/MCLCE/MinecraftConsoles/pull/1044 https://github.com/MCLCE/MinecraftConsoles/pull/1136 https://github.com/MCLCE/MinecraftConsoles/pull/1245
12 lines
613 B
C++
12 lines
613 B
C++
#include "stdafx.h"
|
|
#include "net.minecraft.world.scores.criteria.h"
|
|
#include "ObjectiveCriteria.h"
|
|
|
|
|
|
unordered_map<wstring, ObjectiveCriteria *> ObjectiveCriteria::CRITERIA_BY_NAME;
|
|
|
|
ObjectiveCriteria *ObjectiveCriteria::DUMMY = new DummyCriteria(L"dummy");
|
|
ObjectiveCriteria *ObjectiveCriteria::DEATH_COUNT = new DummyCriteria(L"deathCount");
|
|
ObjectiveCriteria *ObjectiveCriteria::KILL_COUNT_PLAYERS = new DummyCriteria(L"playerKillCount");
|
|
ObjectiveCriteria *ObjectiveCriteria::KILL_COUNT_ALL = new DummyCriteria(L"totalKillCount");
|
|
ObjectiveCriteria *ObjectiveCriteria::HEALTH = new HealthCriteria(L"health"); |