public String infoHTML(bool includeChar, bool includeRegion) { var html = String.Format("<a href=\"/player/{0}\">{1}</a>", URL, Tag); if (includeChar) { html += " " + CharacterMain.ImgTag(); } html += " - " + Convert.ToInt32(ELO); if (includeRegion) { html += " " + Region.ImgTag(); } return(html); }
/// <summary>Construct Public ESI interface</summary> public Public() : base() { Alliance = new AllianceMain(this); Character = new CharacterMain(this); Corporation = new CorporationMain(this); Dogma = new Dogma(this); FactionWarfare = new FactionWarfare(this); Incursions = new Incursions(this); Industry = new Industry(this); Insurance = new Insurance(this); Killmails = new Killmails(this); Loyalty = new Loyalty(this); Market = new Market(this); Opportunities = new Opportunities(this); PlanetaryInteraction = new PlanetaryInteraction(this); Routes = new Routes(this); Search = new Search(this); Sovereignty = new Sovereignty(this); Status = new Status(this); Universe = new Universe(this); Wars = new Wars(this); }