private static VehicleInfo doModelDraw(ushort lineId) { var extension = TLMLineUtils.getExtensionFromTransportLine(lineId); var randomInfo = extension?.GetAModel(lineId); return(randomInfo); }