Implemented IFriendService::GetUserPresenceView stub to get QLaunch friends list running
This commit is contained in:
parent
df67582446
commit
d82ee773da
1 changed files with 14 additions and 1 deletions
|
@ -59,7 +59,7 @@ public:
|
||||||
{20401, nullptr, "SyncBlockedUserList"},
|
{20401, nullptr, "SyncBlockedUserList"},
|
||||||
{20500, nullptr, "GetProfileExtraList"},
|
{20500, nullptr, "GetProfileExtraList"},
|
||||||
{20501, nullptr, "GetRelationship"},
|
{20501, nullptr, "GetRelationship"},
|
||||||
{20600, nullptr, "GetUserPresenceView"},
|
{20600, &IFriendService::GetUserPresenceView, "GetUserPresenceView"},
|
||||||
{20700, nullptr, "GetPlayHistoryList"},
|
{20700, nullptr, "GetPlayHistoryList"},
|
||||||
{20701, &IFriendService::GetPlayHistoryStatistics, "GetPlayHistoryStatistics"},
|
{20701, &IFriendService::GetPlayHistoryStatistics, "GetPlayHistoryStatistics"},
|
||||||
{20800, &IFriendService::LoadUserSetting, "LoadUserSetting"},
|
{20800, &IFriendService::LoadUserSetting, "LoadUserSetting"},
|
||||||
|
@ -245,6 +245,19 @@ private:
|
||||||
}
|
}
|
||||||
|
|
||||||
void GetReceivedFriendRequestCount(HLERequestContext& ctx) {
|
void GetReceivedFriendRequestCount(HLERequestContext& ctx) {
|
||||||
|
IPC::RequestParser rp{ctx};
|
||||||
|
[[maybe_unused]] const auto uuid = rp.PopRaw<Common::UUID>();
|
||||||
|
|
||||||
|
LOG_DEBUG(Service_Friend, "(STUBBED) called");
|
||||||
|
|
||||||
|
u8 buf[0xe0];
|
||||||
|
ctx.WriteBuffer(buf);
|
||||||
|
|
||||||
|
IPC::ResponseBuilder rb{ctx, 2};
|
||||||
|
rb.Push(ResultSuccess);
|
||||||
|
}
|
||||||
|
|
||||||
|
void GetUserPresenceView(HLERequestContext& ctx) {
|
||||||
LOG_DEBUG(Service_Friend, "(STUBBED) called");
|
LOG_DEBUG(Service_Friend, "(STUBBED) called");
|
||||||
|
|
||||||
IPC::ResponseBuilder rb{ctx, 3};
|
IPC::ResponseBuilder rb{ctx, 3};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue