Something went wrong. Try again.
the game where you go into mines and start crafting! but for consoles (forked directly from smartcmd's github)
Something went wrong. Try again.
439 B · 18 lines
C
at master
123456789101112131415161718#pragma once
#include "Command.h"
class TimeCommand : public Command{public: virtual EGameCommand getId(); virtual int getPermissionLevel(); virtual void execute(shared_ptr<CommandSender> source, byteArray commandData);
protected: void doSetTime(shared_ptr<CommandSender> source, int value); void doAddTime(shared_ptr<CommandSender> source, int value);
public: static shared_ptr<GameCommandPacket> preparePacket(bool night);};