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;
|
|
|
|
|
2020-07-31 12:19:21 +00:00
|
|
|
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>
|
2021-11-27 10:27:19 +00:00
|
|
|
/// <param name="talentLibrary">TalentLibrary *</param>
|
2020-05-02 17:54:07 +00:00
|
|
|
/// <returns>unsigned char</returns>
|
2020-10-17 16:16:00 +00:00
|
|
|
[DllImport("libCreatureLib", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_DataLibrary_Construct")]
|
2021-11-27 10:27:19 +00:00
|
|
|
internal static extern byte Construct(ref IntPtr @out, IntPtr settings, IntPtr species, IntPtr attacks, IntPtr items, IntPtr growthRates, IntPtr typeLibrary, IntPtr talentLibrary);
|
2020-05-02 17:54:07 +00:00
|
|
|
|
|
|
|
/// <param name="p">const DataLibrary *</param>
|
|
|
|
/// <returns>void</returns>
|
2020-10-17 16:16:00 +00:00
|
|
|
[DllImport("libCreatureLib", 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>
|
2020-10-17 16:16:00 +00:00
|
|
|
[DllImport("libCreatureLib", 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>
|
2020-10-17 16:16:00 +00:00
|
|
|
[DllImport("libCreatureLib", 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>
|
2020-10-17 16:16:00 +00:00
|
|
|
[DllImport("libCreatureLib", 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>
|
2020-10-17 16:16:00 +00:00
|
|
|
[DllImport("libCreatureLib", 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>
|
2020-10-17 16:16:00 +00:00
|
|
|
[DllImport("libCreatureLib", 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>
|
2020-10-17 16:16:00 +00:00
|
|
|
[DllImport("libCreatureLib", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_DataLibrary_GetTypeLibrary")]
|
2020-05-02 17:54:07 +00:00
|
|
|
internal static extern IntPtr GetTypeLibrary(IntPtr p);
|
|
|
|
|
2021-11-27 10:27:19 +00:00
|
|
|
/// <param name="p">const DataLibrary *</param>
|
|
|
|
/// <returns>const TalentLibrary *</returns>
|
|
|
|
[DllImport("libCreatureLib", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_DataLibrary_GetTalentLibrary")]
|
|
|
|
internal static extern IntPtr GetTalentLibrary(IntPtr p);
|
|
|
|
|
2020-05-02 17:54:07 +00:00
|
|
|
}
|
|
|
|
}
|