public static SpellLeveled_FieldIndex ConvertFieldIndex(Spell_FieldIndex index)
        {
            switch (index)
            {
            case Spell_FieldIndex.MajorRecordFlagsRaw:
                return((SpellLeveled_FieldIndex)((int)index));

            case Spell_FieldIndex.FormKey:
                return((SpellLeveled_FieldIndex)((int)index));

            case Spell_FieldIndex.VersionControl:
                return((SpellLeveled_FieldIndex)((int)index));

            case Spell_FieldIndex.EditorID:
                return((SpellLeveled_FieldIndex)((int)index));

            case Spell_FieldIndex.OblivionMajorRecordFlags:
                return((SpellLeveled_FieldIndex)((int)index));

            case Spell_FieldIndex.Name:
                return((SpellLeveled_FieldIndex)((int)index));

            default:
                throw new ArgumentException($"Index is out of range: {index.ToStringFast_Enum_Only()}");
            }
        }
            public override object?GetNthMask(int index)
            {
                Spell_FieldIndex enu = (Spell_FieldIndex)index;

                switch (enu)
                {
                case Spell_FieldIndex.Name:
                    return(Name);

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

                switch (enu)
                {
                case Spell_FieldIndex.Name:
                    this.Name = (Exception?)obj;
                    break;

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

                switch (enu)
                {
                case Spell_FieldIndex.Name:
                    this.Name = ex;
                    break;

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