-
Notifications
You must be signed in to change notification settings - Fork 0
/
ChampionNameByKey.swift
156 lines (152 loc) · 3.31 KB
/
ChampionNameByKey.swift
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
//
// ChampionNameByKey.swift
// Aram2nuit
//
// Created by Thibs on 26/06/2017.
// Copyright © 2017 Yasine Ammar. All rights reserved.
//
import UIKit
class ChampionNameByKey: NSObject {
static var names : [Int:String] = [
266: "Aatrox",
103: "Ahri",
84: "Akali",
12: "Alistar",
32: "Amumu",
34: "Anivia",
1: "Annie",
22: "Ashe",
136: "AurelionSol",
268: "Azir",
432: "Bard",
53: "Blitzcrank",
63: "Brand",
201: "Braum",
51: "Caitlyn",
164: "Camille",
69: "Cassiopeia",
31: "Chogath",
42: "Corki",
122: "Darius",
131: "Diana",
119: "Draven",
36: "DrMundo",
245: "Ekko",
60: "Elise",
28: "Evelynn",
81: "Ezreal",
9: "Fiddlesticks",
114: "Fiora",
105: "Fizz",
3: "Galio",
41: "Gankplank",
86: "Garen",
150: "Gnar",
79: "Gragas",
104: "Graves",
120: "Hecarim",
74: "Heimerdinger",
420: "Illaoi",
39: "Irelia",
427: "Ivern",
40: "Janna",
59: "JarvanIV",
24: "Jax",
126: "Jayce",
202: "Jhin",
222: "Jinx",
429: "Kalista",
43: "Karma",
30: "Khartus",
38: "Kassadin",
55: "Katarina",
10: "Kayle",
85: "Kennen",
121: "Khazix",
203: "Kindred",
240: "Kled",
96: "KogMaw",
7: "Leblanc",
64: "LeeSin",
89: "Leona",
127: "Lissandra",
236: "Lucian",
117: "Lulu",
99: "Lux",
54: "Malphite",
90: "Malzahar",
57: "Maokai",
11: "MasterYi",
21: "MissFortune",
62: "MonkeyKing",
82: "Mordekaiser",
25: "Morgana",
267: "Nami",
75: "Nasus",
111: "Nautilus",
76: "Nidalee",
56: "Nocturne",
20: "Nunu",
2: "Olaf",
61: "Orianna",
80: "Pantheon",
78: "Poppy",
133: "Quinn",
497: "Rakan",
33: "Rammus",
421: "RekSai",
58: "Renekton",
107: "Rengar",
92: "Riven",
68: "Rumble",
13: "Ryze",
113: "Sejuani",
35: "Shaco",
98: "Shen",
102: "Shyvana",
27: "Singed",
14: "Sion",
15: "Sivir",
72: "Skarner",
37: "Sona",
16: "Soraka",
50: "Swain",
134: "Syndra",
223: "TahmKench",
163: "Taliyah",
91: "Talon",
44: "Taric",
17: "Teemo",
412: "Thresh",
18: "Tristana",
48: "Trundle",
23: "Tryndamere",
4: "TwistedFate",
29: "Twitch",
77: "Udyr",
6: "Urgot",
110: "Varus",
67: "Vayne",
45: "Veigar",
161: "Velkoz",
254: "Vi",
112: "Viktor",
8: "Vladimir",
106: "Volibear",
19: "Warwick",
498: "Xayah",
101: "Xerath",
5: "XinZhao",
157: "Yasuo",
83: "Yorick",
154: "Zac",
238: "Zed",
115: "Ziggs",
26: "Zilean",
143: "Zyra"
]
static func getNameById(id:Int) -> String
{
return names[id]!
}
}