public override object?GetNthMask(int index)
            {
                NpcSoundTypes_FieldIndex enu = (NpcSoundTypes_FieldIndex)index;

                switch (enu)
                {
                case NpcSoundTypes_FieldIndex.Types:
                    return(Types);

                default:
                    return(base.GetNthMask(index));
                }
            }
            public override void SetNthMask(int index, object obj)
            {
                NpcSoundTypes_FieldIndex enu = (NpcSoundTypes_FieldIndex)index;

                switch (enu)
                {
                case NpcSoundTypes_FieldIndex.Types:
                    this.Types = (MaskItem <Exception?, IEnumerable <MaskItem <Exception?, NpcSoundType.ErrorMask?> >?>)obj;
                    break;

                default:
                    base.SetNthMask(index, obj);
                    break;
                }
            }
            public override void SetNthException(int index, Exception ex)
            {
                NpcSoundTypes_FieldIndex enu = (NpcSoundTypes_FieldIndex)index;

                switch (enu)
                {
                case NpcSoundTypes_FieldIndex.Types:
                    this.Types = new MaskItem <Exception?, IEnumerable <MaskItem <Exception?, NpcSoundType.ErrorMask?> >?>(ex, null);
                    break;

                default:
                    base.SetNthException(index, ex);
                    break;
                }
            }