0
0
Fork 0
mirror of https://github.com/Sanae6/SmoOnlineServer.git synced 2024-11-21 18:55:17 +00:00

it doesn't work but here's a patchfix

This commit is contained in:
Sanae 2022-02-14 16:09:55 -06:00
parent fca81a4894
commit 70c9ad88cd

View file

@ -6,7 +6,7 @@ namespace Shared.Packet.Packets;
[Packet(PacketType.Connect)]
public struct ConnectPacket : IPacket {
public ConnectionTypes ConnectionType;
public string ClientName;
public string ClientName = "?????";
public void Serialize(Span<byte> data) {
MemoryMarshal.Write(data, ref ConnectionType);