2015-05-10 17:02:10 +00:00
|
|
|
|
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)
|
|
|
|
|
{
|
2015-05-19 01:53:25 +00:00
|
|
|
|
client.Send(this);
|
2015-05-10 17:02:10 +00:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|