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)]
|
2015-04-02 08:26:57 +00:00
|
|
|
|
public int Quality { get; set; }
|
2014-07-08 12:58:53 +00:00
|
|
|
|
|
|
|
|
|
[ProtoMember(2)]
|
2015-04-13 07:16:44 +00:00
|
|
|
|
public int Monitor { get; set; }
|
2014-07-08 12:58:53 +00:00
|
|
|
|
|
2015-04-21 18:27:52 +00:00
|
|
|
|
public Desktop()
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
2015-04-13 07:16:44 +00:00
|
|
|
|
public Desktop(int quality, int monitor)
|
2014-07-08 12:58:53 +00:00
|
|
|
|
{
|
2015-04-02 08:26:57 +00:00
|
|
|
|
this.Quality = quality;
|
2015-04-13 07:16:44 +00:00
|
|
|
|
this.Monitor = monitor;
|
2014-07-08 12:58:53 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public void Execute(Client client)
|
|
|
|
|
{
|
|
|
|
|
client.Send<Desktop>(this);
|
|
|
|
|
}
|
|
|
|
|
}
|
2015-04-21 18:27:52 +00:00
|
|
|
|
}
|