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:
parent
fca81a4894
commit
70c9ad88cd
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@ namespace Shared.Packet.Packets;
|
||||||
[Packet(PacketType.Connect)]
|
[Packet(PacketType.Connect)]
|
||||||
public struct ConnectPacket : IPacket {
|
public struct ConnectPacket : IPacket {
|
||||||
public ConnectionTypes ConnectionType;
|
public ConnectionTypes ConnectionType;
|
||||||
public string ClientName;
|
public string ClientName = "?????";
|
||||||
|
|
||||||
public void Serialize(Span<byte> data) {
|
public void Serialize(Span<byte> data) {
|
||||||
MemoryMarshal.Write(data, ref ConnectionType);
|
MemoryMarshal.Write(data, ref ConnectionType);
|
||||||
|
|
Loading…
Reference in a new issue