mirror of
https://github.com/CraftyBoss/SuperMarioOdysseyOnline.git
synced 2024-11-27 05:33:04 +00:00
15 lines
351 B
C++
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] = {};
|
|
};
|