// AUTOMATICALLY GENERATED, DO NOT EDIT using System; using System.Runtime.InteropServices; namespace Pkmnlib.Generated { internal static class PokemonSpecies { /// const PokemonSpecies * & /// unsigned short /// const char * /// const PokemonForme * /// float /// const char * /// unsigned char /// unsigned char /// const const char * * /// long unsigned int /// const char * * /// long unsigned int /// unsigned char [DllImport("pkmnLib", CallingConvention = CallingConvention.Cdecl, EntryPoint= "PkmnLib_PokemonSpecies_Construct")] internal static extern byte Construct(ref IntPtr @out, ushort id, IntPtr name, IntPtr defaultForme, float genderRatio, IntPtr growthRate, byte captureRate, byte baseHappiness, IntPtr eggGroupsRaw, ulong eggGroupsLength, IntPtr flags, ulong flagsCount); /// const PokemonSpecies * /// void [DllImport("pkmnLib", CallingConvention = CallingConvention.Cdecl, EntryPoint= "PkmnLib_PokemonSpecies_Destruct")] internal static extern void Destruct(IntPtr p); /// const PokemonSpecies * /// unsigned char [DllImport("pkmnLib", CallingConvention = CallingConvention.Cdecl, EntryPoint= "PkmnLib_PokemonSpecies_GetBaseHappiness")] internal static extern byte GetBaseHappiness(IntPtr p); /// PokemonSpecies * /// EvolutionData * /// void [DllImport("pkmnLib", CallingConvention = CallingConvention.Cdecl, EntryPoint= "PkmnLib_PokemonSpecies_AddEvolution")] internal static extern void AddEvolution(IntPtr p, IntPtr evo); /// const PokemonSpecies * /// long unsigned int [DllImport("pkmnLib", CallingConvention = CallingConvention.Cdecl, EntryPoint= "PkmnLib_PokemonSpecies_GetEvolutionCount")] internal static extern ulong GetEvolutionCount(IntPtr p); /// const PokemonSpecies * /// long unsigned int /// const EvolutionData * & /// unsigned char [DllImport("pkmnLib", CallingConvention = CallingConvention.Cdecl, EntryPoint= "PkmnLib_PokemonSpecies_GetEvolution")] internal static extern byte GetEvolution(IntPtr p, ulong index, ref IntPtr @out); /// const PokemonSpecies * /// const const EvolutionData * * & /// unsigned char [DllImport("pkmnLib", CallingConvention = CallingConvention.Cdecl, EntryPoint= "PkmnLib_PokemonSpecies_GetEvolutions")] internal static extern byte GetEvolutions(IntPtr p, ref IntPtr @out); /// const PokemonSpecies * /// long unsigned int [DllImport("pkmnLib", CallingConvention = CallingConvention.Cdecl, EntryPoint= "PkmnLib_PokemonSpecies_GetEggGroupCount")] internal static extern ulong GetEggGroupCount(IntPtr p); /// const PokemonSpecies * /// long unsigned int /// const char * [DllImport("pkmnLib", CallingConvention = CallingConvention.Cdecl, EntryPoint= "PkmnLib_PokemonSpecies_GetEggGroup")] internal static extern IntPtr GetEggGroup(IntPtr p, ulong index); } }