SuperMarioOdysseyOnline/include/packets/PlayerConnect.h
2024-10-27 00:37:57 +02:00

15 lines
351 B
C++

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