示例#1
0
 public RiotStatic(string version, Language language)
 {
     this.version  = version;
     this.language = RiotHelper.ConvertLanguage(language);
 }
示例#2
0
 public RiotStatic(Language language)
 {
     this.version  = RiotHelper.CurrentVersion();
     this.language = RiotHelper.ConvertLanguage(language);
 }
示例#3
0
 /// <summary>
 /// Initialize your API - Region
 /// </summary>
 /// <param name="apikey"></param>
 /// <param name="region"></param>
 public RiotApi(string apikey, Regions region)
 {
     this.apikey = apikey;
     this.region = RiotHelper.ConvertRegion(region);
 }