Stub GetBlockedUserListIds and UpdateUserPresence

This commit is contained in:
Dima 2022-11-12 13:17:29 +03:00 committed by Billy Laws
parent 2cdfc7640c
commit 60843269de
2 changed files with 16 additions and 1 deletions

View File

@ -10,4 +10,13 @@ namespace skyline::service::friends {
response.Push<u32>(0); // Count of friends
return {};
}
Result IFriendService::GetBlockedUserListIds(type::KSession &session, ipc::IpcRequest &request, ipc::IpcResponse &response) {
response.Push<u32>(0); // No blocked users
return {};
}
Result IFriendService::UpdateUserPresence(type::KSession &session, ipc::IpcRequest &request, ipc::IpcResponse &response) {
return {};
}
}

View File

@ -16,8 +16,14 @@ namespace skyline::service::friends {
Result GetFriendList(type::KSession &session, ipc::IpcRequest &request, ipc::IpcResponse &response);
Result GetBlockedUserListIds(type::KSession &session, ipc::IpcRequest &request, ipc::IpcResponse &response);
Result UpdateUserPresence(type::KSession &session, ipc::IpcRequest &request, ipc::IpcResponse &response);
SERVICE_DECL(
SFUNC(0x2775, IFriendService, GetFriendList)
SFUNC(0x2775, IFriendService, GetFriendList),
SFUNC(0x28A0, IFriendService, GetBlockedUserListIds),
SFUNC(0x2972, IFriendService, UpdateUserPresence)
)
};
}