mirror of
https://github.com/CraftyBoss/SuperMarioOdysseyOnline.git
synced 2024-12-01 15:37:29 +00:00
8 lines
267 B
C
8 lines
267 B
C
|
#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] = {};
|
||
|
};
|