2014-07-08 05:58:53 -07:00
|
|
|
|
using ProtoBuf;
|
|
|
|
|
|
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)
|
|
|
|
|
{
|
|
|
|
|
client.Send<MonitorsResponse>(this);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|