SuperMarioOdysseyOnline/include/packets/ServerCommand.h

8 lines
274 B
C
Raw Normal View History

2022-06-16 21:33:18 +00:00
#pragma once
#include "Packet.h"
struct PACKED ServerCommand : Packet {
2022-06-16 21:33:18 +00:00
ServerCommand(const char *command) : Packet() {this->mType = PacketType::CMD; strcpy(srvCmd, command); mPacketSize = sizeof(ServerCommand) - sizeof(Packet);};
char srvCmd[PACKBUFSIZE] = {};
};