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

                switch (enu)
                {
                case PerkEntryPointSelectSpell_FieldIndex.Spell:
                    return(Spell);

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

                switch (enu)
                {
                case PerkEntryPointSelectSpell_FieldIndex.Spell:
                    this.Spell = (Exception?)obj;
                    break;

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

                switch (enu)
                {
                case PerkEntryPointSelectSpell_FieldIndex.Spell:
                    this.Spell = ex;
                    break;

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