ExtraChat/client/ExtraChat/Protocol/PromoteRequest.cs

23 lines
388 B
C#

using ExtraChat.Formatters;
using ExtraChat.Protocol.Channels;
using MessagePack;
namespace ExtraChat.Protocol;
[Serializable]
[MessagePackObject]
public class PromoteRequest {
[Key(0)]
[MessagePackFormatter(typeof(BinaryUuidFormatter))]
public Guid Channel;
[Key(1)]
public string Name;
[Key(2)]
public ushort World;
[Key(3)]
public Rank Rank;
}