mirror of https://github.com/quasar/Quasar.git
26 lines
476 B
C#
26 lines
476 B
C#
using ProtoBuf;
|
|
using xServer.Core.Networking;
|
|
|
|
namespace xServer.Core.Packets.ClientPackets
|
|
{
|
|
[ProtoContract]
|
|
public class UserStatus : IPacket
|
|
{
|
|
[ProtoMember(1)]
|
|
public string Message { get; set; }
|
|
|
|
public UserStatus()
|
|
{
|
|
}
|
|
|
|
public UserStatus(string message)
|
|
{
|
|
Message = message;
|
|
}
|
|
|
|
public void Execute(Client client)
|
|
{
|
|
client.Send(this);
|
|
}
|
|
}
|
|
} |