SuperMarioOdysseyOnline/include/packets/PlayerConnect.h

12 lines
328 B
C
Raw Normal View History

2022-06-16 21:33:18 +00:00
#pragma once
#include "Packet.h"
#include <cstdint>
struct PACKED PlayerConnect : Packet {
2022-06-16 21:33:18 +00:00
PlayerConnect() : Packet() {this->mType = PacketType::PLAYERCON; mPacketSize = sizeof(PlayerConnect) - sizeof(Packet);};
ConnectionTypes conType;
u16 maxPlayerCount = USHRT_MAX;
2022-06-16 21:33:18 +00:00
char clientName[COSTUMEBUFSIZE] = {};
};