sharp-chat/SharpChat.Protocol.SockChat/Packets/SwitchServerPacket.cs

23 lines
594 B
C#
Raw Permalink Normal View History

2022-08-30 15:05:29 +00:00
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SharpChat.Protocol.SockChat.Packets {
public class SwitchServerPacket : ServerPacket {
public SwitchServerPacket() {
// definition unfinished
// optional argument containing server, if no argument assume client has a list?
}
protected override string DoPack() {
StringBuilder sb = new();
sb.Append((int)ServerPacketId.SwitchServer);
return sb.ToString();
}
}
}