Esempio n. 1
0
            public override object?GetNthMask(int index)
            {
                NpcLevel_FieldIndex enu = (NpcLevel_FieldIndex)index;

                switch (enu)
                {
                case NpcLevel_FieldIndex.Level:
                    return(Level);

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

                switch (enu)
                {
                case NpcLevel_FieldIndex.Level:
                    this.Level = (Exception?)obj;
                    break;

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

                switch (enu)
                {
                case NpcLevel_FieldIndex.Level:
                    this.Level = ex;
                    break;

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