pair notification method + dto

This commit is contained in:
azyges
2025-10-02 09:16:40 +09:00
parent 69f0e310bd
commit 6c542c0ccc
2 changed files with 11 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
using MessagePack;
namespace LightlessSync.API.Dto.User;
[MessagePackObject(keyAsPropertyName: true)]
public sealed class UserPairNotificationDto
{
public required string myHashedCid { get; init; }
public required string message { get; init; }
}

View File

@@ -24,6 +24,7 @@ public interface ILightlessHub
Task Client_GroupSendProfile (GroupProfileDto groupInfo);
Task Client_GroupSendInfo(GroupInfoDto groupInfo);
Task Client_ReceiveServerMessage(MessageSeverity messageSeverity, string message);
Task Client_ReceiveBroadcastPairRequest(UserPairNotificationDto dto);
Task Client_UpdateSystemInfo(SystemInfoDto systemInfo);
Task Client_UserAddClientPair(UserPairDto dto);
Task Client_UserReceiveCharacterData(OnlineUserCharaDataDto dataDto);