NadekoBot.Extensions should now be fully annotated with nullable reference types as well as many classes from NadekoBot.Common

This commit is contained in:
Kwoth
2021-12-28 10:44:00 +01:00
parent 0634470a8a
commit 59f5056035
543 changed files with 1895 additions and 1448 deletions

View File

@@ -1,7 +1,8 @@
namespace NadekoBot.Common.Pokemon;
#nullable disable
namespace NadekoBot.Common.Pokemon;
public class PokemonNameId
{
public int Id { get; set; }
public string Name { get; set; }
}
}

View File

@@ -1,4 +1,5 @@
using Newtonsoft.Json;
#nullable disable
using Newtonsoft.Json;
namespace NadekoBot.Common.Pokemon;
@@ -37,4 +38,4 @@ public class SearchPokemon
public string Color { get; set; }
public string[] Evos { get; set; }
public string[] EggGroups { get; set; }
}
}

View File

@@ -1,4 +1,5 @@
namespace NadekoBot.Common.Pokemon;
#nullable disable
namespace NadekoBot.Common.Pokemon;
public class SearchPokemonAbility
{
@@ -6,4 +7,4 @@ public class SearchPokemonAbility
public string ShortDesc { get; set; }
public string Name { get; set; }
public float Rating { get; set; }
}
}