mirror of
https://github.com/CraftyBoss/SuperMarioOdysseyOnline.git
synced 2024-11-29 06:33:06 +00:00
8f21d43bc3
It was sending bad data since it wasn't getting inited anywhere.
12 lines
No EOL
328 B
C++
12 lines
No EOL
328 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] = {};
|
|
}; |