the game where you go into mines and start crafting! but for consoles (forked directly from smartcmd's github)
at main 26 lines 527 B view raw
1#pragma once 2 3class Scoreboard; 4class ObjectiveCriteria; 5 6class Objective 7{ 8public: 9 static const int MAX_NAME_LENGTH = 16; 10 static const int MAX_DISPLAY_NAME_LENGTH = 32; 11 12private: 13 Scoreboard *scoreboard; 14 wstring name; 15 ObjectiveCriteria *criteria; 16 wstring displayName; 17 18public: 19 Objective(Scoreboard *scoreboard, const wstring &name, ObjectiveCriteria *criteria); 20 21 Scoreboard *getScoreboard(); 22 wstring getName(); 23 ObjectiveCriteria *getCriteria(); 24 wstring getDisplayName(); 25 void setDisplayName(const wstring &name); 26};