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