mirror of https://github.com/quasar/Quasar.git
25 lines
428 B
C#
25 lines
428 B
C#
using ProtoBuf;
|
|
|
|
namespace xClient.Core.Packets.ServerPackets
|
|
{
|
|
[ProtoContract]
|
|
public class Action : IPacket
|
|
{
|
|
[ProtoMember(1)]
|
|
public int Mode { get; set; }
|
|
|
|
public Action()
|
|
{
|
|
}
|
|
|
|
public Action(int mode)
|
|
{
|
|
this.Mode = mode;
|
|
}
|
|
|
|
public void Execute(Client client)
|
|
{
|
|
client.Send<Action>(this);
|
|
}
|
|
}
|
|
} |