// AUTOMATICALLY GENERATED, DO NOT EDIT using System; using System.Runtime.InteropServices; namespace Pkmnlib.Generated { internal static class Pokemon { /// Pokemon * & /// const BattleLibrary * /// const PokemonSpecies * /// const PokemonForme * /// unsigned char /// unsigned int /// unsigned int /// Gender /// unsigned char /// const Item * /// const char * /// bool /// unsigned char /// const LearnedAttack * * /// long unsigned int /// unsigned char /// unsigned char /// unsigned char /// unsigned char /// unsigned char /// unsigned char /// unsigned char /// unsigned char /// unsigned char /// unsigned char /// unsigned char /// unsigned char /// const Nature * /// bool /// bool /// unsigned char [DllImport("libpkmnLib", CallingConvention = CallingConvention.Cdecl, EntryPoint= "PkmnLib_Pokemon_Construct")] internal static extern byte Construct(ref IntPtr @out, IntPtr library, IntPtr species, IntPtr forme, byte level, uint experience, uint uid, Gender gender, byte coloring, IntPtr heldItem, IntPtr nickname, byte hiddenAbility, byte abilityIndex, IntPtr moves, ulong moveCount, byte hpIv, byte attIv, byte defIv, byte sAtIv, byte sDeIv, byte spIv, byte hpEv, byte attEv, byte defEv, byte sAtEv, byte sDeEv, byte spEv, IntPtr nature, byte allowedExperienceGain, byte isEgg); /// const Pokemon * /// void [DllImport("libpkmnLib", CallingConvention = CallingConvention.Cdecl, EntryPoint= "PkmnLib_Pokemon_Destruct")] internal static extern void Destruct(IntPtr p); /// const Pokemon * /// bool [DllImport("libpkmnLib", CallingConvention = CallingConvention.Cdecl, EntryPoint= "PkmnLib_Pokemon_IsShiny")] internal static extern byte IsShiny(IntPtr p); /// const Pokemon * /// const Nature * [DllImport("libpkmnLib", CallingConvention = CallingConvention.Cdecl, EntryPoint= "PkmnLib_Pokemon_GetNature")] internal static extern IntPtr GetNature(IntPtr p); /// const Pokemon * /// Statistic /// unsigned char [DllImport("libpkmnLib", CallingConvention = CallingConvention.Cdecl, EntryPoint= "PkmnLib_Pokemon_GetIndividualValue")] internal static extern byte GetIndividualValue(IntPtr p, Statistic stat); /// Pokemon * /// Statistic /// unsigned char /// void [DllImport("libpkmnLib", CallingConvention = CallingConvention.Cdecl, EntryPoint= "PkmnLib_Pokemon_SetIndividualValue")] internal static extern void SetIndividualValue(IntPtr p, Statistic stat, byte value); /// const Pokemon * /// Statistic /// unsigned char [DllImport("libpkmnLib", CallingConvention = CallingConvention.Cdecl, EntryPoint= "PkmnLib_Pokemon_GetEffortValue")] internal static extern byte GetEffortValue(IntPtr p, Statistic stat); /// Pokemon * /// Statistic /// unsigned char /// void [DllImport("libpkmnLib", CallingConvention = CallingConvention.Cdecl, EntryPoint= "PkmnLib_Pokemon_SetEffortValue")] internal static extern void SetEffortValue(IntPtr p, Statistic stat, byte value); /// const Pokemon * /// unsigned char [DllImport("libpkmnLib", CallingConvention = CallingConvention.Cdecl, EntryPoint= "PkmnLib_Pokemon_GetFriendship")] internal static extern byte GetFriendship(IntPtr p); /// Pokemon * /// unsigned char /// void [DllImport("libpkmnLib", CallingConvention = CallingConvention.Cdecl, EntryPoint= "PkmnLib_Pokemon_SetFriendship")] internal static extern void SetFriendship(IntPtr p, byte value); /// Pokemon * /// signed char /// void [DllImport("libpkmnLib", CallingConvention = CallingConvention.Cdecl, EntryPoint= "PkmnLib_Pokemon_ChangeFriendship")] internal static extern void ChangeFriendship(IntPtr p, sbyte amount); /// const Pokemon * /// bool [DllImport("libpkmnLib", CallingConvention = CallingConvention.Cdecl, EntryPoint= "PkmnLib_Pokemon_IsEgg")] internal static extern byte IsEgg(IntPtr p); /// Pokemon * /// bool /// void [DllImport("libpkmnLib", CallingConvention = CallingConvention.Cdecl, EntryPoint= "PkmnLib_Pokemon_SetIsEgg")] internal static extern void SetIsEgg(IntPtr p, byte value); /// Pokemon * /// const PokemonSpecies * /// const PokemonForme * /// unsigned char [DllImport("libpkmnLib", CallingConvention = CallingConvention.Cdecl, EntryPoint= "PkmnLib_Pokemon_Evolve")] internal static extern byte Evolve(IntPtr p, IntPtr species, IntPtr forme); } }