PkmnLibSharp/PkmnLibSharp/Generated/Creaturelib/DataLibrary.cs

57 lines
3.0 KiB
C#
Raw Normal View History

2020-05-03 09:38:49 +00:00
// AUTOMATICALLY GENERATED, DO NOT EDIT
2020-05-02 17:54:07 +00:00
using System;
using System.Runtime.InteropServices;
namespace Creaturelib.Generated
2020-05-02 17:54:07 +00:00
{
internal static class DataLibrary
{
2020-07-08 11:50:51 +00:00
/// <param name="out">const DataLibrary * &</param>
2020-05-02 17:54:07 +00:00
/// <param name="settings">LibrarySettings *</param>
/// <param name="species">SpeciesLibrary *</param>
/// <param name="attacks">AttackLibrary *</param>
/// <param name="items">ItemLibrary *</param>
/// <param name="growthRates">GrowthRateLibrary *</param>
/// <param name="typeLibrary">TypeLibrary *</param>
/// <returns>unsigned char</returns>
[DllImport("CreatureLib", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_DataLibrary_Construct")]
2020-05-02 17:54:07 +00:00
internal static extern byte Construct(ref IntPtr @out, IntPtr settings, IntPtr species, IntPtr attacks, IntPtr items, IntPtr growthRates, IntPtr typeLibrary);
/// <param name="p">const DataLibrary *</param>
/// <returns>void</returns>
[DllImport("CreatureLib", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_DataLibrary_Destruct")]
2020-05-02 17:54:07 +00:00
internal static extern void Destruct(IntPtr p);
/// <param name="p">const DataLibrary *</param>
/// <returns>const LibrarySettings *</returns>
[DllImport("CreatureLib", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_DataLibrary_GetSettings")]
2020-05-02 17:54:07 +00:00
internal static extern IntPtr GetSettings(IntPtr p);
/// <param name="p">const DataLibrary *</param>
/// <returns>const SpeciesLibrary *</returns>
[DllImport("CreatureLib", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_DataLibrary_GetSpeciesLibrary")]
2020-05-02 17:54:07 +00:00
internal static extern IntPtr GetSpeciesLibrary(IntPtr p);
/// <param name="p">const DataLibrary *</param>
/// <returns>const AttackLibrary *</returns>
[DllImport("CreatureLib", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_DataLibrary_GetAttackLibrary")]
2020-05-02 17:54:07 +00:00
internal static extern IntPtr GetAttackLibrary(IntPtr p);
/// <param name="p">const DataLibrary *</param>
/// <returns>const ItemLibrary *</returns>
[DllImport("CreatureLib", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_DataLibrary_GetItemLibrary")]
2020-05-02 17:54:07 +00:00
internal static extern IntPtr GetItemLibrary(IntPtr p);
/// <param name="p">const DataLibrary *</param>
/// <returns>const GrowthRateLibrary *</returns>
[DllImport("CreatureLib", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_DataLibrary_GetGrowthRates")]
2020-05-02 17:54:07 +00:00
internal static extern IntPtr GetGrowthRates(IntPtr p);
/// <param name="p">const DataLibrary *</param>
/// <returns>const TypeLibrary *</returns>
[DllImport("CreatureLib", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_DataLibrary_GetTypeLibrary")]
2020-05-02 17:54:07 +00:00
internal static extern IntPtr GetTypeLibrary(IntPtr p);
}
}