mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/4jcraft.git
synced 2026-05-31 19:54:58 +00:00
format everything
This commit is contained in:
@@ -12,7 +12,8 @@ GameCommandPacket::GameCommandPacket() { length = 0; }
|
||||
|
||||
GameCommandPacket::~GameCommandPacket() {}
|
||||
|
||||
GameCommandPacket::GameCommandPacket(EGameCommand command, std::vector<uint8_t> data) {
|
||||
GameCommandPacket::GameCommandPacket(EGameCommand command,
|
||||
std::vector<uint8_t> data) {
|
||||
this->command = command;
|
||||
this->data = data;
|
||||
length = 0;
|
||||
@@ -31,7 +32,6 @@ GameCommandPacket::GameCommandPacket(EGameCommand command, std::vector<uint8_t>
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
void GameCommandPacket::read(DataInputStream* dis) {
|
||||
command = (EGameCommand)dis->readInt();
|
||||
length = dis->readShort();
|
||||
|
||||
Reference in New Issue
Block a user