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 CreatureParty
|
|
|
|
{
|
|
|
|
/// <param name="size">long unsigned int</param>
|
|
|
|
/// <returns>CreatureParty *</returns>
|
2020-07-31 12:19:21 +00:00
|
|
|
[DllImport("CreatureLib", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_CreatureParty_ConstructWithSize")]
|
2020-05-02 17:54:07 +00:00
|
|
|
internal static extern IntPtr ConstructWithSize(ulong size);
|
|
|
|
|
|
|
|
/// <param name="creatures">Creature * *</param>
|
|
|
|
/// <param name="size">long unsigned int</param>
|
|
|
|
/// <returns>CreatureParty *</returns>
|
2020-07-31 12:19:21 +00:00
|
|
|
[DllImport("CreatureLib", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_CreatureParty_ConstructFromArray")]
|
2020-05-02 17:54:07 +00:00
|
|
|
internal static extern IntPtr ConstructFromArray(IntPtr creatures, ulong size);
|
|
|
|
|
|
|
|
/// <param name="p">const CreatureParty *</param>
|
|
|
|
/// <returns>void</returns>
|
2020-07-31 12:19:21 +00:00
|
|
|
[DllImport("CreatureLib", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_CreatureParty_Destruct")]
|
2020-05-02 17:54:07 +00:00
|
|
|
internal static extern void Destruct(IntPtr p);
|
|
|
|
|
2020-07-08 11:50:51 +00:00
|
|
|
/// <param name="out">Creature * &</param>
|
2020-05-02 17:54:07 +00:00
|
|
|
/// <param name="p">const CreatureParty *</param>
|
|
|
|
/// <param name="index">long unsigned int</param>
|
|
|
|
/// <returns>unsigned char</returns>
|
2020-07-31 12:19:21 +00:00
|
|
|
[DllImport("CreatureLib", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_CreatureParty_GetAtIndex")]
|
2020-05-02 17:54:07 +00:00
|
|
|
internal static extern byte GetAtIndex(ref IntPtr @out, IntPtr p, ulong index);
|
|
|
|
|
|
|
|
/// <param name="p">CreatureParty *</param>
|
|
|
|
/// <param name="a">long unsigned int</param>
|
|
|
|
/// <param name="b">long unsigned int</param>
|
|
|
|
/// <returns>unsigned char</returns>
|
2020-07-31 12:19:21 +00:00
|
|
|
[DllImport("CreatureLib", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_CreatureParty_Switch")]
|
2020-05-02 17:54:07 +00:00
|
|
|
internal static extern byte Switch(IntPtr p, ulong a, ulong b);
|
|
|
|
|
2020-07-25 13:23:01 +00:00
|
|
|
/// <param name="p">CreatureParty *</param>
|
|
|
|
/// <param name="index">long unsigned int</param>
|
|
|
|
/// <param name="creature">Creature *</param>
|
|
|
|
/// <returns>Creature *</returns>
|
2020-07-31 12:19:21 +00:00
|
|
|
[DllImport("CreatureLib", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_CreatureParty_SwapInto")]
|
2020-07-25 13:23:01 +00:00
|
|
|
internal static extern IntPtr SwapInto(IntPtr p, ulong index, IntPtr creature);
|
|
|
|
|
2020-05-02 17:54:07 +00:00
|
|
|
/// <param name="p">const CreatureParty *</param>
|
|
|
|
/// <returns>bool</returns>
|
2020-07-31 12:19:21 +00:00
|
|
|
[DllImport("CreatureLib", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_CreatureParty_HasAvailableCreatures")]
|
2020-05-03 09:38:49 +00:00
|
|
|
internal static extern byte HasAvailableCreatures(IntPtr p);
|
2020-05-02 17:54:07 +00:00
|
|
|
|
|
|
|
/// <param name="p">const CreatureParty *</param>
|
|
|
|
/// <returns>long unsigned int</returns>
|
2020-07-31 12:19:21 +00:00
|
|
|
[DllImport("CreatureLib", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_CreatureParty_GetLength")]
|
2020-05-02 17:54:07 +00:00
|
|
|
internal static extern ulong GetLength(IntPtr p);
|
|
|
|
|
|
|
|
/// <param name="p">CreatureParty *</param>
|
|
|
|
/// <returns>const Creature * *</returns>
|
2020-07-31 12:19:21 +00:00
|
|
|
[DllImport("CreatureLib", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_CreatureParty_GetParty")]
|
2020-05-02 17:54:07 +00:00
|
|
|
internal static extern IntPtr GetParty(IntPtr p);
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|