Quasar/Server/Core/Packets/ClientPackets/GetMonitorsResponse.cs

26 lines
498 B
C#
Raw Normal View History

2014-07-08 05:58:53 -07:00
using ProtoBuf;
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]
2015-07-14 10:00:31 -07:00
public class GetMonitorsResponse : IPacket
2014-07-08 05:58:53 -07:00
{
[ProtoMember(1)]
public int Number { get; set; }
2015-07-14 10:00:31 -07:00
public GetMonitorsResponse()
{
}
2015-07-14 10:00:31 -07:00
public GetMonitorsResponse(int number)
2014-07-08 05:58:53 -07:00
{
this.Number = number;
}
public void Execute(Client client)
{
client.Send(this);
2014-07-08 05:58:53 -07:00
}
}
}