mirror of https://github.com/quasar/Quasar.git
27 lines
528 B
C#
27 lines
528 B
C#
using ProtoBuf;
|
|
using xServer.Core.Packets;
|
|
|
|
namespace xServer.Core.ReverseProxy.Packets
|
|
{
|
|
[ProtoContract]
|
|
public class ReverseProxyDisconnect : IPacket
|
|
{
|
|
[ProtoMember(1)]
|
|
public int ConnectionId { get; set; }
|
|
|
|
public ReverseProxyDisconnect(int connectionId)
|
|
{
|
|
this.ConnectionId = connectionId;
|
|
}
|
|
|
|
public ReverseProxyDisconnect()
|
|
{
|
|
}
|
|
|
|
public void Execute(Client client)
|
|
{
|
|
client.Send(this);
|
|
}
|
|
}
|
|
}
|