// // Created by koncord on 30.08.16. // #include "PacketTime.hpp" #include using namespace mwmp; PacketTime::PacketTime(RakNet::RakPeerInterface *peer) : BasePacket(peer) { packetID = ID_GAME_TIME; } void PacketTime::Packet(RakNet::BitStream *bs, BasePlayer *player, bool send) { BasePacket::Packet(bs, player, send); RW(player->month, send); RW(player->day, send); RW(player->hour, send); }