mirror of https://github.com/quasar/Quasar.git
23 lines
433 B
C#
23 lines
433 B
C#
|
using ProtoBuf;
|
|||
|
|
|||
|
namespace 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<UserStatus>(this);
|
|||
|
}
|
|||
|
}
|
|||
|
}
|