forked from Mirror/Ryujinx
01c2b8097c
* Implement NGC service * Use raw byte arrays instead of string for _wordSeparators * Silence IDE0230 for _wordSeparators * Try to silence warning about _rangeValuesCount not being read on SparseSet * Make AcType enum private * Add abstract methods and one TODO that I forgot * PR feedback * More PR feedback * More PR feedback
14 lines
503 B
C#
14 lines
503 B
C#
using Ryujinx.Horizon.Common;
|
|
using Ryujinx.Horizon.Sdk.Sf;
|
|
using System;
|
|
|
|
namespace Ryujinx.Horizon.Sdk.Ngc
|
|
{
|
|
interface INgcService : IServiceObject
|
|
{
|
|
Result GetContentVersion(out uint version);
|
|
Result Check(out uint checkMask, ReadOnlySpan<byte> text, uint regionMask, ProfanityFilterOption option);
|
|
Result Mask(out int maskedWordsCount, Span<byte> filteredText, ReadOnlySpan<byte> text, uint regionMask, ProfanityFilterOption option);
|
|
Result Reload();
|
|
}
|
|
}
|