2014-07-22 19:52:07 +00:00
|
|
|
|
using ProtoBuf;
|
|
|
|
|
|
2015-01-13 18:29:11 +00:00
|
|
|
|
namespace xClient.Core.Packets.ServerPackets
|
2014-07-22 19:52:07 +00:00
|
|
|
|
{
|
|
|
|
|
[ProtoContract]
|
|
|
|
|
public class Action : IPacket
|
|
|
|
|
{
|
|
|
|
|
[ProtoMember(1)]
|
|
|
|
|
public int Mode { get; set; }
|
|
|
|
|
|
2015-04-21 18:27:52 +00:00
|
|
|
|
public Action()
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
2014-07-22 19:52:07 +00:00
|
|
|
|
public Action(int mode)
|
|
|
|
|
{
|
|
|
|
|
this.Mode = mode;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public void Execute(Client client)
|
|
|
|
|
{
|
|
|
|
|
client.Send<Action>(this);
|
|
|
|
|
}
|
|
|
|
|
}
|
2015-04-21 18:27:52 +00:00
|
|
|
|
}
|