SuperMarioOdysseyOnline/include/packets/ServerCommand.h

8 lines
267 B
C
Raw Normal View History

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