Chat message APIs

This commit is contained in:
Loporrit
2024-11-24 22:11:04 +00:00
parent b529a101ae
commit e007d99f02
6 changed files with 65 additions and 1 deletions

View File

@@ -0,0 +1,11 @@
using MessagePack;
namespace MareSynchronos.API.Data;
[MessagePackObject(keyAsPropertyName: true)]
public record ChatMessage
{
public string SenderName { get; set; } = string.Empty;
public uint SenderHomeWorldId { get; set; } = 0;
public byte[] PayloadContent { get; set; } = [];
}