2023-01-08 12:13:39 +00:00
|
|
|
|
using Ryujinx.Horizon.Common;
|
|
|
|
|
using Ryujinx.Horizon.Sdk.Account;
|
|
|
|
|
using Ryujinx.Horizon.Sdk.Sf;
|
|
|
|
|
using System;
|
|
|
|
|
|
|
|
|
|
namespace Ryujinx.Horizon.Sdk.Prepo
|
|
|
|
|
{
|
|
|
|
|
interface IPrepoService : IServiceObject
|
|
|
|
|
{
|
|
|
|
|
Result SaveReport(ReadOnlySpan<byte> gameRoomBuffer, ReadOnlySpan<byte> reportBuffer, ulong pid);
|
|
|
|
|
Result SaveReportWithUser(Uid userId, ReadOnlySpan<byte> gameRoomBuffer, ReadOnlySpan<byte> reportBuffer, ulong pid);
|
|
|
|
|
Result RequestImmediateTransmission();
|
|
|
|
|
Result GetTransmissionStatus(out int status);
|
|
|
|
|
Result GetSystemSessionId(out ulong systemSessionId);
|
2023-01-13 00:50:14 +00:00
|
|
|
|
Result SaveSystemReport(ReadOnlySpan<byte> gameRoomBuffer, Ncm.ApplicationId applicationId, ReadOnlySpan<byte> reportBuffer);
|
|
|
|
|
Result SaveSystemReportWithUser(Uid userId, ReadOnlySpan<byte> gameRoomBuffer, Ncm.ApplicationId applicationId, ReadOnlySpan<byte> reportBuffer);
|
2023-01-08 12:13:39 +00:00
|
|
|
|
Result IsUserAgreementCheckEnabled(out bool enabled);
|
|
|
|
|
Result SetUserAgreementCheckEnabled(bool enabled);
|
|
|
|
|
}
|
|
|
|
|
}
|