Ejemplo n.º 1
0
 private void LoadSprites()
 {
     foreach (var ally in allies)
     {
         ally.Value.SpriteName = SpriteHelper.DownloadImageRiot(ally.Key.ChampionName, SpriteHelper.ChampionType.Champion, SpriteHelper.DownloadType.Champion, "SPI");
     }
 }
Ejemplo n.º 2
0
 void LoadSprites()
 {
     foreach (var enemy in _enemies)
     {
         enemy.Value.Name = SpriteHelper.DownloadImageRiot(enemy.Key.ChampionName, SpriteHelper.ChampionType.Champion, SpriteHelper.DownloadType.Champion, "UIM");
     }
 }
Ejemplo n.º 3
0
 private static void LoadSpritesAsync()
 {
     for (int i = 0; i < ChampSkinGUI.ChampSkins.Length; i++)
     {
         ChampSkinGUI.ChampSkins[i].PicName = SpriteHelper.DownloadImageRiot(ObjectManager.Player.ChampionName, SpriteHelper.ChampionType.ChampionSkin, SpriteHelper.DownloadType.ChampionSkinSmall, "SkinChanger\\Loading", i);
         ChampSkinGUI.ChampSkins[i].PicName = SpriteHelper.DownloadImageRiot(ObjectManager.Player.ChampionName, SpriteHelper.ChampionType.ChampionSkin, SpriteHelper.DownloadType.ChampionSkinBig, "SkinChanger\\Splash", i);
     }
 }
Ejemplo n.º 4
0
 void LoadSprites()
 {
     //RafLoader.InitLoader();
     foreach (var enemy in _enemies)
     {
         SpriteHelper.DownloadImageRiot(enemy.Key.ChampionName, SpriteHelper.DownloadType.Champion, "UIM");
     }
 }
Ejemplo n.º 5
0
 private static void LoadSpritesAsync()
 {
     for (int i = 0; i < ChampSkinGUI.ChampSkins.Length; i++)
     {
         SpriteHelper.DownloadImageRiot(ObjectManager.Player.ChampionName, SpriteHelper.ChampionType.ChampionSkin, SpriteHelper.DownloadType.ChampionSkinSmall, "SkinChanger\\Loading", i);
         ChampSkinGUI.ChampSkins[i].PicName                = SpriteHelper.DownloadImageRiot(ObjectManager.Player.ChampionName, SpriteHelper.ChampionType.ChampionSkin, SpriteHelper.DownloadType.ChampionSkinBig, "SkinChanger\\Splash", i);
         ChampSkinGUI.ChampSkins[i].SpriteInfoSmall        = new SpriteHelper.SpriteInfo();
         ChampSkinGUI.ChampSkins[i].SpriteInfoSmall.Bitmap = SpriteHelper.SpecialBitmap.ResizeBitmap(SpriteHelper.SpecialBitmap.LoadBitmap(ChampSkinGUI.ChampSkins[i].PicName, @"SkinChanger\\Loading"), 0.4f);
         ChampSkinGUI.ChampSkins[i].SpriteInfoBig          = new SpriteHelper.SpriteInfo();
         ChampSkinGUI.ChampSkins[i].SpriteInfoBig.Bitmap   = SpriteHelper.SpecialBitmap.ResizeBitmap(SpriteHelper.SpecialBitmap.LoadBitmap(ChampSkinGUI.ChampSkins[i].PicName, @"SkinChanger\\Splash"), 0.7f);
         ChampSkinGUI.ChampSkins[i].FinishedLoading        = true;
     }
 }