2014-07-08 05:58:53 -07:00
|
|
|
|
using ProtoBuf;
|
2015-06-05 14:07:37 -07:00
|
|
|
|
using xServer.Core.Networking;
|
2014-07-08 05:58:53 -07:00
|
|
|
|
|
2015-01-13 10:29:11 -08:00
|
|
|
|
namespace xServer.Core.Packets.ClientPackets
|
2014-07-08 05:58:53 -07:00
|
|
|
|
{
|
|
|
|
|
[ProtoContract]
|
|
|
|
|
public class MonitorsResponse : IPacket
|
|
|
|
|
{
|
|
|
|
|
[ProtoMember(1)]
|
|
|
|
|
public int Number { get; set; }
|
|
|
|
|
|
2015-04-21 11:27:52 -07:00
|
|
|
|
public MonitorsResponse()
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
2014-07-08 05:58:53 -07:00
|
|
|
|
public MonitorsResponse(int number)
|
|
|
|
|
{
|
|
|
|
|
this.Number = number;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public void Execute(Client client)
|
|
|
|
|
{
|
2015-05-18 18:01:38 -07:00
|
|
|
|
client.Send(this);
|
2014-07-08 05:58:53 -07:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|