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 BattleParty
|
|
|
|
{
|
2020-07-08 11:50:51 +00:00
|
|
|
/// <param name="out">BattleParty * &</param>
|
2020-05-02 17:54:07 +00:00
|
|
|
/// <param name="p">CreatureParty *</param>
|
|
|
|
/// <param name="creatureIndices">unsigned char *</param>
|
|
|
|
/// <param name="numberOfIndices">long unsigned int</param>
|
|
|
|
/// <returns>unsigned char</returns>
|
2020-07-31 12:19:21 +00:00
|
|
|
[DllImport("CreatureLib", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_BattleParty_Construct")]
|
2020-05-02 17:54:07 +00:00
|
|
|
internal static extern byte Construct(ref IntPtr @out, IntPtr p, IntPtr creatureIndices, ulong numberOfIndices);
|
|
|
|
|
|
|
|
/// <param name="p">const BattleParty *</param>
|
|
|
|
/// <returns>void</returns>
|
2020-07-31 12:19:21 +00:00
|
|
|
[DllImport("CreatureLib", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_BattleParty_Destruct")]
|
2020-05-02 17:54:07 +00:00
|
|
|
internal static extern void Destruct(IntPtr p);
|
|
|
|
|
2020-07-31 12:19:21 +00:00
|
|
|
/// <param name="p">const BattleParty *</param>
|
|
|
|
/// <returns>CreatureParty *</returns>
|
|
|
|
[DllImport("CreatureLib", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_BattleParty_GetParty")]
|
|
|
|
internal static extern IntPtr GetParty(IntPtr p);
|
|
|
|
|
2020-07-08 11:50:51 +00:00
|
|
|
/// <param name="out">bool &</param>
|
2020-05-02 17:54:07 +00:00
|
|
|
/// <param name="p">const BattleParty *</param>
|
|
|
|
/// <param name="side">unsigned char</param>
|
|
|
|
/// <param name="creature">unsigned char</param>
|
|
|
|
/// <returns>unsigned char</returns>
|
2020-07-31 12:19:21 +00:00
|
|
|
[DllImport("CreatureLib", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_BattleParty_IsResponsibleForIndex")]
|
2020-05-03 09:38:49 +00:00
|
|
|
internal static extern byte IsResponsibleForIndex(ref byte @out, IntPtr p, byte side, byte creature);
|
2020-05-02 17:54:07 +00:00
|
|
|
|
|
|
|
/// <param name="p">const BattleParty *</param>
|
|
|
|
/// <returns>bool</returns>
|
2020-07-31 12:19:21 +00:00
|
|
|
[DllImport("CreatureLib", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_BattleParty_HasCreaturesNotInField")]
|
2020-05-03 09:38:49 +00:00
|
|
|
internal static extern byte HasCreaturesNotInField(IntPtr p);
|
2020-05-02 17:54:07 +00:00
|
|
|
|
|
|
|
}
|
|
|
|
}
|