ExtraChat/client/ExtraChat/Protocol/InviteRequest.cs

22 lines
365 B
C#

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