public static string GetName(this TargetMap value) { MapAttribute mapAttribute = value.smethod_0 <MapAttribute>(); if (mapAttribute != null) { return(mapAttribute.Name); } return(value.ToString()); }
public override string ToString() { if (Type == SCPointOfInterestType.Warp) { return(Coords.ToString() + "->Warp"); } else if (Type == SCPointOfInterestType.Exit) { return(Coords.ToString() + "->Exit"); } { return(Coords.ToString() + "->" + TargetMap.ToString() + TargetCoords.ToString()); } }