SuperMarioOdysseyOnline/include/packets/CostumeInf.h

15 lines
513 B
C
Raw Normal View History

2022-06-16 21:33:18 +00:00
#pragma once
#include "Packet.h"
struct PACKED CostumeInf : Packet {
2022-06-16 21:33:18 +00:00
CostumeInf() : Packet() {this->mType = PacketType::COSTUMEINF; mPacketSize = sizeof(CostumeInf) - sizeof(Packet);};
CostumeInf(const char* body, const char* cap) : Packet() {
this->mType = PacketType::COSTUMEINF;
mPacketSize = sizeof(CostumeInf) - sizeof(Packet);
strcpy(bodyModel, body);
strcpy(capModel, cap);
}
char bodyModel[COSTUMEBUFSIZE] = {};
char capModel[COSTUMEBUFSIZE] = {};
};