public RescueReferenceSurface NthObject(long ordinal) { long returnNdx = NthObject5(nativeNdx , ordinal); if (returnNdx == 0) { return(null); } else { RescueReferenceSurface myReturn = new RescueReferenceSurface(returnNdx); int isA = myReturn.IsA(); switch (isA) { case RescueObject.R_RescueBlockUnitHorizonSurface: myReturn = new RescueBlockUnitHorizonSurface(returnNdx); break; } return(myReturn); } }
public RescueReferenceSurface ObjectNamed(string nameIn) { long returnNdx = ObjectNamed6(nativeNdx , nameIn); if (returnNdx == 0) { return(null); } else { RescueReferenceSurface myReturn = new RescueReferenceSurface(returnNdx); int isA = myReturn.IsA(); switch (isA) { case RescueObject.R_RescueBlockUnitHorizonSurface: myReturn = new RescueBlockUnitHorizonSurface(returnNdx); break; } return(myReturn); } }
public RescueReferenceSurface ObjectIdentifiedBy(long identifier) { long returnNdx = ObjectIdentifiedBy7(nativeNdx , identifier); if (returnNdx == 0) { return(null); } else { RescueReferenceSurface myReturn = new RescueReferenceSurface(returnNdx); int isA = myReturn.IsA(); switch (isA) { case RescueObject.R_RescueBlockUnitHorizonSurface: myReturn = new RescueBlockUnitHorizonSurface(returnNdx); break; } return(myReturn); } }