public override object?GetNthMask(int index) { NpcInheritSound_FieldIndex enu = (NpcInheritSound_FieldIndex)index; switch (enu) { case NpcInheritSound_FieldIndex.InheritsSoundsFrom: return(InheritsSoundsFrom); default: return(base.GetNthMask(index)); } }
public override void SetNthMask(int index, object obj) { NpcInheritSound_FieldIndex enu = (NpcInheritSound_FieldIndex)index; switch (enu) { case NpcInheritSound_FieldIndex.InheritsSoundsFrom: this.InheritsSoundsFrom = (Exception?)obj; break; default: base.SetNthMask(index, obj); break; } }
public override void SetNthException(int index, Exception ex) { NpcInheritSound_FieldIndex enu = (NpcInheritSound_FieldIndex)index; switch (enu) { case NpcInheritSound_FieldIndex.InheritsSoundsFrom: this.InheritsSoundsFrom = ex; break; default: base.SetNthException(index, ex); break; } }