49 lines
1.4 KiB
C#
49 lines
1.4 KiB
C#
using MareSynchronos.API.Data.Enum;
|
|
using MareSynchronos.API.Dto;
|
|
using MareSynchronos.API.Dto.Group;
|
|
using MareSynchronos.API.Dto.User;
|
|
|
|
namespace MareSynchronos.API.SignalR;
|
|
|
|
public interface IMareHubClient : IMareHub
|
|
{
|
|
void OnDownloadReady(Action<Guid> act);
|
|
|
|
void OnGroupChangePermissions(Action<GroupPermissionDto> act);
|
|
|
|
void OnGroupDelete(Action<GroupDto> act);
|
|
|
|
void OnGroupPairChangePermissions(Action<GroupPairUserPermissionDto> act);
|
|
|
|
void OnGroupPairChangeUserInfo(Action<GroupPairUserInfoDto> act);
|
|
|
|
void OnGroupPairJoined(Action<GroupPairFullInfoDto> act);
|
|
|
|
void OnGroupPairLeft(Action<GroupPairDto> act);
|
|
|
|
void OnGroupSendFullInfo(Action<GroupFullInfoDto> act);
|
|
|
|
void OnGroupSendInfo(Action<GroupInfoDto> act);
|
|
|
|
void OnReceiveServerMessage(Action<MessageSeverity, string> act);
|
|
|
|
void OnUpdateSystemInfo(Action<SystemInfoDto> act);
|
|
|
|
void OnUserAddClientPair(Action<UserPairDto> act);
|
|
|
|
void OnUserReceiveCharacterData(Action<OnlineUserCharaDataDto> act);
|
|
|
|
void OnUserReceiveUploadStatus(Action<UserDto> act);
|
|
|
|
void OnUserRemoveClientPair(Action<UserDto> act);
|
|
|
|
void OnUserSendOffline(Action<UserDto> act);
|
|
|
|
void OnUserSendOnline(Action<OnlineUserIdentDto> act);
|
|
|
|
void OnUserUpdateOtherPairPermissions(Action<UserPermissionsDto> act);
|
|
|
|
void OnUserUpdateProfile(Action<UserDto> act);
|
|
|
|
void OnUserUpdateSelfPairPermissions(Action<UserPermissionsDto> act);
|
|
} |