예제 #1
0
        public Texture2D RequestLotThumb(uint location)
        {
            return(LotThumbs.GetLotThumbForFrame((uint)Network.MyShard.Id, location));

            /*
             * DataService.Request(MaskedStruct.MapView_NearZoom_Lot_Thumbnail, location).ContinueWith(x =>
             * {
             *  //happens in game thread
             *  var lot = (Lot)x.Result;
             *  if (lot == null) return;
             *  var thumb = lot.Lot_Thumbnail;
             *  if (thumb.Data == null || thumb.Data.Length == 0) return;
             *  onRetrieved(ImageLoader.WinFromStreamP(GameFacade.GraphicsDevice, new MemoryStream(thumb.Data), -1));
             * }); */
        }
예제 #2
0
 public Texture2D RequestLotThumb(uint location)
 {
     return(LotThumbs.GetLotThumbForFrame((uint)Network.MyShard.Id, location));
 }