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)); } }
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; } }
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; } }