the game where you go into mines and start crafting! but for consoles (forked directly from smartcmd's github)
1#pragma once
2
3#include "Command.h"
4
5class TimeCommand : public Command
6{
7public:
8 virtual EGameCommand getId();
9 virtual int getPermissionLevel();
10 virtual void execute(shared_ptr<CommandSender> source, byteArray commandData);
11
12protected:
13 void doSetTime(shared_ptr<CommandSender> source, int value);
14 void doAddTime(shared_ptr<CommandSender> source, int value);
15
16public:
17 static shared_ptr<GameCommandPacket> preparePacket(bool night);
18};