public override string GetPilotImageUrl(GenericShip ship, string filename) { return(RootUrlForImages + "pilots/" + ImageUrls.FormatFaction(ship.SubFaction) + "/" + ImageUrls.FormatShipType(ship.ShipInfo.ShipName) + "/" + (filename ?? (ImageUrls.FormatName(ship.PilotInfo.PilotName) + ".png"))); }
public override string GetPilotImageUrl(GenericShip ship) { return(RootUrlForImages + "pilots/" + ImageUrls.FormatFaction(ship.SubFaction) + "/" + ImageUrls.FormatShipType(ship.Type) + "/" + ImageUrls.FormatName(ship.PilotName) + ".png"); }