Better handling of PokemonLibrary that requires less reflection (but is slightly more verbose)

This commit is contained in:
2020-05-19 14:34:20 +02:00
parent 61b5bd710e
commit 0dbc800e38
6 changed files with 102 additions and 36 deletions

View File

@@ -5,6 +5,10 @@ namespace PkmnLibSharp.Library.GrowthRates
{
public class GrowthRateLibrary : PointerWrapper
{
internal GrowthRateLibrary(IntPtr ptr) : base(ptr)
{
}
public GrowthRateLibrary(ulong initialCapacity) : base(
Creatureliblibrary.Generated.GrowthRateLibrary.Construct(initialCapacity))
{