Removed unused Overwatch API

This commit is contained in:
samvaio 2016-12-15 20:37:03 +05:30
parent b3529d9d28
commit 0485385a18

View File

@ -26,89 +26,6 @@ namespace NadekoBot.Modules.Searches.Models
public OverwatchPlayer Player { get; set; } public OverwatchPlayer Player { get; set; }
public class OverwatchAllHeroes
{
public string MeleeFinalBlows { get; set; }
public string SoloKills { get; set; }
public string ObjectiveKills { get; set; }
public string FinalBlows { get; set; }
public string DamageDone { get; set; }
public string Eliminations { get; set; }
public string Multikills { get; set; }
public string ReconAssists { get; set; }
public string HealingDone { get; set; }
public string TeleporterPadDestroyed { get; set; }
[JsonProperty("Eliminations-MostinGame")]
public string Eliminations_MostinGame { get; set; }
[JsonProperty("FinalBlows-MostinGame")]
public string FinalBlows_MostinGame { get; set; }
[JsonProperty("DamageDone-MostinGame")]
public string DamageDone_MostinGame { get; set; }
[JsonProperty("HealingDone-MostinGame")]
public string HealingDone_MostinGame { get; set; }
[JsonProperty("DefensiveAssists-MostinGame")]
public string DefensiveAssists_MostinGame { get; set; }
[JsonProperty("OffensiveAssists-MostinGame")]
public string OffensiveAssists_MostinGame { get; set; }
[JsonProperty("ObjectiveKills-MostinGame")]
public string ObjectiveKills_MostinGame { get; set; }
[JsonProperty("ObjectiveTime-MostinGame")]
public string ObjectiveTime_MostinGame { get; set; }
[JsonProperty("Multikill-Best")]
public string Multikill_Best { get; set; }
[JsonProperty("SoloKills-MostinGame")]
public string SoloKills_MostinGame { get; set; }
[JsonProperty("TimeSpentonFire-MostinGame")]
public string TimeSpentonFire_MostinGame { get; set; }
[JsonProperty("MeleeFinalBlows-Average")]
public string MeleeFinalBlows_Average { get; set; }
[JsonProperty("TimeSpentonFire-Average")]
public string TimeSpentonFire_Average { get; set; }
[JsonProperty("SoloKills-Average")]
public string SoloKills_Average { get; set; }
[JsonProperty("ObjectiveTime-Average")]
public string ObjectiveTime_Average { get; set; }
[JsonProperty("ObjectiveKills-Average")]
public string ObjectiveKills_Average { get; set; }
[JsonProperty("HealingDone-Average")]
public string HealingDone_Average { get; set; }
[JsonProperty("FinalBlows-Average")]
public string FinalBlows_Average { get; set; }
[JsonProperty("Deaths-Average")]
public string Deaths_Average { get; set; }
[JsonProperty("DamageDone-Average")]
public string DamageDone_Average { get; set; }
[JsonProperty("Eliminations-Average")]
public string Eliminations_Average { get; set; }
public string Deaths { get; set; }
public string EnvironmentalDeaths { get; set; }
public string Cards { get; set; }
public string Medals { get; set; }
[JsonProperty("Medals-Gold")]
public string Medals_Gold { get; set; }
[JsonProperty("Medals-Silver")]
public string Medals_Silver { get; set; }
[JsonProperty("Medals-Bronze")]
public string Medals_Bronze { get; set; }
public string GamesPlayed { get; set; }
public string GamesWon { get; set; }
public string TimeSpentonFire { get; set; }
public string ObjectiveTime { get; set; }
public string TimePlayed { get; set; }
[JsonProperty("MeleeFinalBlows-MostinGame")]
public string MeleeFinalBlows_MostinGame { get; set; }
public string GamesTied { get; set; }
public string GamesLost { get; set; }
[JsonProperty("ReconAssists-Average")]
public string ReconAssists_Average { get; set; }
public string DefensiveAssists { get; set; }
[JsonProperty("DefensiveAssists-Average")]
public string DefensiveAssists_Average { get; set; }
public string OffensiveAssists { get; set; }
[JsonProperty("OffensiveAssists-Average")]
public string OffensiveAssists_Average { get; set; }
}
public class OverwatchPlayer public class OverwatchPlayer
{ {
public Data data { get; set; } public Data data { get; set; }
@ -156,43 +73,6 @@ namespace NadekoBot.Modules.Searches.Models
} }
} }
} }
public class OverwatchPatchNotes
{
public bool Missing { get; set; } = false;
public string program { get; set; }
public string locale { get; set; }
public string type { get; set; }
public string patchVersion { get; set; }
public string status { get; set; }
public string detail { get; set; }
public int buildNumber { get; set; }
public object publish { get; set; }
public object created { get; set; }
public bool updated { get; set; }
public string slug { get; set; }
public string version { get; set; }
}
public class OverwatchPagination
{
public bool Missing { get; set; } = false;
public float totalEntries { get; set; }
public float totalPages { get; set; }
public float pageSize { get; set; }
public float page { get; set; }
}
public class OverwatchAchievements
{
public bool Missing { get; set; } = false;
public string name { get; set; }
public bool finished { get; set; }
public string image { get; set; }
public string description { get; set; }
public object category { get; set; }
}
//This is to strip the html from patch notes content //This is to strip the html from patch notes content
internal static string StripHTML(string input) internal static string StripHTML(string input)
{ {