Example #1
0
            public override object?GetNthMask(int index)
            {
                ASpell_FieldIndex enu = (ASpell_FieldIndex)index;

                switch (enu)
                {
                default:
                    return(base.GetNthMask(index));
                }
            }
Example #2
0
            public override void SetNthMask(int index, object obj)
            {
                ASpell_FieldIndex enu = (ASpell_FieldIndex)index;

                switch (enu)
                {
                default:
                    base.SetNthMask(index, obj);
                    break;
                }
            }
Example #3
0
            public override void SetNthException(int index, Exception ex)
            {
                ASpell_FieldIndex enu = (ASpell_FieldIndex)index;

                switch (enu)
                {
                default:
                    base.SetNthException(index, ex);
                    break;
                }
            }
Example #4
0
        public static new SpellLeveled_FieldIndex ConvertFieldIndex(ASpell_FieldIndex index)
        {
            switch (index)
            {
            case ASpell_FieldIndex.MajorRecordFlagsRaw:
                return((SpellLeveled_FieldIndex)((int)index));

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

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

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

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

            default:
                throw new ArgumentException($"Index is out of range: {index.ToStringFast_Enum_Only()}");
            }
        }