2016-08-16 14:53:38 +00:00
|
|
|
|
using System.Collections.Generic;
|
2016-08-16 12:11:45 +00:00
|
|
|
|
|
2017-07-17 19:42:36 +00:00
|
|
|
|
namespace NadekoBot.Modules.Searches.Common
|
2016-08-16 12:11:45 +00:00
|
|
|
|
{
|
|
|
|
|
public class SearchPokemon
|
|
|
|
|
{
|
|
|
|
|
public class GenderRatioClass
|
|
|
|
|
{
|
|
|
|
|
public float M { get; set; }
|
|
|
|
|
public float F { get; set; }
|
|
|
|
|
}
|
|
|
|
|
public class BaseStatsClass
|
|
|
|
|
{
|
|
|
|
|
public int HP { get; set; }
|
|
|
|
|
public int ATK { get; set; }
|
|
|
|
|
public int DEF { get; set; }
|
|
|
|
|
public int SPA { get; set; }
|
|
|
|
|
public int SPD { get; set; }
|
|
|
|
|
public int SPE { get; set; }
|
|
|
|
|
|
2016-12-09 03:22:23 +00:00
|
|
|
|
public override string ToString() => $@"**HP:** {HP,-4} **ATK:** {ATK,-4} **DEF:** {DEF,-4}
|
|
|
|
|
**SPA:** {SPA,-4} **SPD:** {SPD,-4} **SPE:** {SPE,-4}";
|
2016-08-16 12:11:45 +00:00
|
|
|
|
}
|
|
|
|
|
public int Id { get; set; }
|
|
|
|
|
public string Species { get; set; }
|
|
|
|
|
public string[] Types { get; set; }
|
|
|
|
|
public GenderRatioClass GenderRatio { get; set; }
|
|
|
|
|
public BaseStatsClass BaseStats { get; set; }
|
|
|
|
|
public Dictionary<string, string> Abilities { get; set; }
|
|
|
|
|
public float HeightM { get; set; }
|
|
|
|
|
public float WeightKg { get; set; }
|
|
|
|
|
public string Color { get; set; }
|
|
|
|
|
public string[] Evos { get; set; }
|
|
|
|
|
public string[] EggGroups { get; set; }
|
|
|
|
|
|
2017-02-25 02:43:30 +00:00
|
|
|
|
// public override string ToString() => $@"`Name:` {Species}
|
|
|
|
|
//`Types:` {string.Join(", ", Types)}
|
|
|
|
|
//`Stats:` {BaseStats}
|
|
|
|
|
//`Height:` {HeightM,4}m `Weight:` {WeightKg}kg
|
|
|
|
|
//`Abilities:` {string.Join(", ", Abilities.Values)}";
|
2016-08-16 12:11:45 +00:00
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public class SearchPokemonAbility
|
|
|
|
|
{
|
|
|
|
|
public string Desc { get; set; }
|
2017-02-25 02:43:30 +00:00
|
|
|
|
public string ShortDesc { get; set; }
|
2016-08-16 12:11:45 +00:00
|
|
|
|
public string Name { get; set; }
|
|
|
|
|
public float Rating { get; set; }
|
|
|
|
|
|
2017-02-25 02:43:30 +00:00
|
|
|
|
// public override string ToString() => $@"`Name:` : {Name}
|
|
|
|
|
//`Rating:` {Rating}
|
|
|
|
|
//`Description:` {Desc}";
|
2016-08-16 12:11:45 +00:00
|
|
|
|
}
|
|
|
|
|
}
|