Пример #1
0
 public static void ExtendChampion(Champion champion, GameVersion version)
 {
     champion.splashImg         = $"{version.CDN}/img/champion/splash/{ champion.id}_0.jpg";
     champion.splashCenteredImg = $"https://cdn.communitydragon.org/{version.Version}/champion/{champion.id}/splash-art/centered";
     champion.squareImg         = $"{version.GetVersionCDN()}/img/champion/{ champion.id}.png";
     champion.loadingImg        = $"{version.CDN}/img/champion/loading/{ champion.id}_0.jpg";
 }
Пример #2
0
 public static void ExtendItem(ItemData item, GameVersion version)
 {
     item.sprite = $"{version.GetVersionCDN()}/img/item/{item.itemID}.png";
 }
Пример #3
0
 public static void ExtendSummoner(SummonerSpell summoner, GameVersion version)
 {
     summoner.icon = $"{version.GetVersionCDN()}/img/spell/{summoner.id}.png";
 }