From f7704e35d10d1bc4a017430d56a1856cfaca635f Mon Sep 17 00:00:00 2001 From: Thog Date: Thu, 27 Jun 2019 12:31:09 +0200 Subject: [PATCH] friend: add all cmds as commments --- .../HOS/Services/Friend/IFriendService.cs | 78 +++++++++++++++++-- 1 file changed, 73 insertions(+), 5 deletions(-) diff --git a/Ryujinx.HLE/HOS/Services/Friend/IFriendService.cs b/Ryujinx.HLE/HOS/Services/Friend/IFriendService.cs index 5eb495a07a..2ce728bc23 100644 --- a/Ryujinx.HLE/HOS/Services/Friend/IFriendService.cs +++ b/Ryujinx.HLE/HOS/Services/Friend/IFriendService.cs @@ -22,11 +22,79 @@ namespace Ryujinx.HLE.HOS.Services.Friend { _commands = new Dictionary { - { 10100, GetFriendListIds }, - { 10101, GetFriendList }, - { 10600, DeclareOpenOnlinePlaySession }, - { 10601, DeclareCloseOnlinePlaySession }, - { 10610, UpdateUserPresence } + //{ 0, GetCompletionEvent }, + //{ 1, Cancel }, + { 10100, GetFriendListIds }, + { 10101, GetFriendList }, + //{ 10102, UpdateFriendInfo }, + //{ 10110, GetFriendProfileImage }, + //{ 10200, SendFriendRequestForApplication }, + //{ 10211, AddFacedFriendRequestForApplication }, + //{ 10400, GetBlockedUserListIds }, + //{ 10500, GetProfileList }, + { 10600, DeclareOpenOnlinePlaySession }, + { 10601, DeclareCloseOnlinePlaySession }, + { 10610, UpdateUserPresence }, + //{ 10700, GetPlayHistoryRegistrationKey }, + //{ 10701, GetPlayHistoryRegistrationKeyWithNetworkServiceAccountId }, + //{ 10702, AddPlayHistory }, + //{ 11000, GetProfileImageUrl }, + //{ 20100, GetFriendCount }, + //{ 20101, GetNewlyFriendCount }, + //{ 20102, GetFriendDetailedInfo }, + //{ 20103, SyncFriendList }, + //{ 20104, RequestSyncFriendList }, + //{ 20110, LoadFriendSetting }, + //{ 20200, GetReceivedFriendRequestCount }, + //{ 20201, GetFriendRequestList }, + //{ 20300, GetFriendCandidateList }, + //{ 20301, GetNintendoNetworkIdInfo }, // 3.0.0+ + //{ 20302, GetSnsAccountLinkage }, // 5.0.0+ + //{ 20303, GetSnsAccountProfile }, // 5.0.0+ + //{ 20304, GetSnsAccountFriendList }, // 5.0.0+ + //{ 20400, GetBlockedUserList }, + //{ 20401, SyncBlockedUserList }, + //{ 20500, GetProfileExtraList }, + //{ 20501, GetRelationship }, + //{ 20600, GetUserPresenceView }, + //{ 20700, GetPlayHistoryList }, + //{ 20701, GetPlayHistoryStatistics }, + //{ 20800, LoadUserSetting }, + //{ 20801, SyncUserSetting }, + //{ 20900, RequestListSummaryOverlayNotification }, + //{ 21000, GetExternalApplicationCatalog }, + //{ 30100, DropFriendNewlyFlags }, + //{ 30101, DeleteFriend }, + //{ 30110, DropFriendNewlyFlag }, + //{ 30120, ChangeFriendFavoriteFlag }, + //{ 30121, ChangeFriendOnlineNotificationFlag }, + //{ 30200, SendFriendRequest }, + //{ 30201, SendFriendRequestWithApplicationInfo }, + //{ 30202, CancelFriendRequest }, + //{ 30203, AcceptFriendRequest }, + //{ 30204, RejectFriendRequest }, + //{ 30205, ReadFriendRequest }, + //{ 30210, GetFacedFriendRequestRegistrationKey }, + //{ 30211, AddFacedFriendRequest }, + //{ 30212, CancelFacedFriendRequest }, + //{ 30213, GetFacedFriendRequestProfileImage }, + //{ 30214, GetFacedFriendRequestProfileImageFromPath }, + //{ 30215, SendFriendRequestWithExternalApplicationCatalogId }, + //{ 30216, ResendFacedFriendRequest }, + //{ 30217, SendFriendRequestWithNintendoNetworkIdInfo }, // 3.0.0+ + //{ 30300, GetSnsAccountLinkPageUrl }, // 5.0.0+ + //{ 30301, UnlinkSnsAccount }, // 5.0.0+ + //{ 30400, BlockUser }, + //{ 30401, BlockUserWithApplicationInfo }, + //{ 30402, UnblockUser }, + //{ 30500, GetProfileExtraFromFriendCode }, + //{ 30700, DeletePlayHistory }, + //{ 30810, ChangePresencePermission }, + //{ 30811, ChangeFriendRequestReception }, + //{ 30812, ChangePlayLogPermission }, + //{ 30820, IssueFriendCode }, + //{ 30830, ClearPlayLog }, + //{ 49900, DeleteNetworkServiceAccountCache }, }; _permissionLevel = permissionLevel;