Quasar/Client/Core/Packets/ServerPackets/Desktop.cs

29 lines
560 B
C#
Raw Normal View History

2014-07-08 12:58:53 +00:00
using ProtoBuf;
2015-01-13 18:29:11 +00:00
namespace xClient.Core.Packets.ServerPackets
2014-07-08 12:58:53 +00:00
{
[ProtoContract]
public class Desktop : IPacket
{
[ProtoMember(1)]
public int Quality { get; set; }
2014-07-08 12:58:53 +00:00
[ProtoMember(2)]
public int Monitor { get; set; }
2014-07-08 12:58:53 +00:00
public Desktop()
{
}
public Desktop(int quality, int monitor)
2014-07-08 12:58:53 +00:00
{
this.Quality = quality;
this.Monitor = monitor;
2014-07-08 12:58:53 +00:00
}
public void Execute(Client client)
{
client.Send<Desktop>(this);
}
}
}