PkmnLibSharp/PkmnLibSharp/Generated/Pkmnlib/PokemonLibrary.cs

34 lines
1.6 KiB
C#
Raw Normal View History

2020-05-04 16:17:26 +00:00
// AUTOMATICALLY GENERATED, DO NOT EDIT
using System;
using System.Runtime.InteropServices;
namespace Pkmnlib.Generated
{
internal static class PokemonLibrary
{
2020-07-08 11:50:51 +00:00
/// <param name="out">PokemonLibrary * &</param>
2020-05-04 16:17:26 +00:00
/// <param name="settings">LibrarySettings *</param>
/// <param name="species">SpeciesLibrary *</param>
/// <param name="moves">MoveLibrary *</param>
/// <param name="items">ItemLibrary *</param>
/// <param name="growthRates">GrowthRateLibrary *</param>
/// <param name="typeLibrary">TypeLibrary *</param>
2021-11-27 10:27:19 +00:00
/// <param name="talentLibrary">TalentLibrary *</param>
2020-05-04 16:17:26 +00:00
/// <param name="natures">NatureLibrary *</param>
/// <returns>unsigned char</returns>
2020-10-17 16:16:00 +00:00
[DllImport("libpkmnLib", CallingConvention = CallingConvention.Cdecl, EntryPoint= "PkmnLib_PokemonLibrary_Construct")]
2021-11-27 10:27:19 +00:00
internal static extern byte Construct(ref IntPtr @out, IntPtr settings, IntPtr species, IntPtr moves, IntPtr items, IntPtr growthRates, IntPtr typeLibrary, IntPtr talentLibrary, IntPtr natures);
2020-05-04 16:17:26 +00:00
/// <param name="p">const PokemonLibrary *</param>
/// <returns>void</returns>
2020-10-17 16:16:00 +00:00
[DllImport("libpkmnLib", CallingConvention = CallingConvention.Cdecl, EntryPoint= "PkmnLib_PokemonLibrary_Destruct")]
2020-05-04 16:17:26 +00:00
internal static extern void Destruct(IntPtr p);
/// <param name="p">const PokemonLibrary *</param>
/// <returns>const NatureLibrary *</returns>
2020-10-17 16:16:00 +00:00
[DllImport("libpkmnLib", CallingConvention = CallingConvention.Cdecl, EntryPoint= "PkmnLib_PokemonLibrary_GetNatureLibrary")]
2020-05-04 16:17:26 +00:00
internal static extern IntPtr GetNatureLibrary(IntPtr p);
}
}