Quasar/Client/Core/Packets/ClientPackets/Status.cs

25 lines
441 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.ClientPackets
2014-07-08 12:58:53 +00:00
{
[ProtoContract]
public class Status : IPacket
{
[ProtoMember(1)]
public string Message { get; set; }
public Status()
{
}
2014-07-08 12:58:53 +00:00
public Status(string message)
{
Message = message;
}
public void Execute(Client client)
{
client.Send<Status>(this);
}
}
}