aboutsummaryrefslogtreecommitdiff
path: root/src/Ryujinx.Horizon/Sdk/Ngc/ProfanityFilterOption.cs
blob: 4a2ab715e98509fed54bbc31448c5cafe698efe3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
using System.Runtime.InteropServices;

namespace Ryujinx.Horizon.Sdk.Ngc
{
    [StructLayout(LayoutKind.Sequential, Size = 0x14, Pack = 0x4)]
    readonly struct ProfanityFilterOption
    {
        public readonly SkipMode SkipAtSignCheck;
        public readonly MaskMode MaskMode;
        public readonly ProfanityFilterFlags Flags;
        public readonly uint SystemRegionMask;
        public readonly uint Reserved;

        public ProfanityFilterOption(SkipMode skipAtSignCheck, MaskMode maskMode, ProfanityFilterFlags flags, uint systemRegionMask)
        {
            SkipAtSignCheck = skipAtSignCheck;
            MaskMode = maskMode;
            Flags = flags;
            SystemRegionMask = systemRegionMask;
            Reserved = 0;
        }
    }
}