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