36 lines
1.8 KiB
C#
36 lines
1.8 KiB
C#
using System;
|
|
using System.Runtime.InteropServices;
|
|
|
|
namespace Creaturelibbattling.Generated
|
|
{
|
|
internal static class BattleParty
|
|
{
|
|
/// <param name="out">BattleParty *&</param>
|
|
/// <param name="p">CreatureParty *</param>
|
|
/// <param name="creatureIndices">unsigned char *</param>
|
|
/// <param name="numberOfIndices">long unsigned int</param>
|
|
/// <returns>unsigned char</returns>
|
|
[DllImport("CreatureLibBattling", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_BattleParty_Construct")]
|
|
internal static extern byte Construct(ref IntPtr @out, IntPtr p, IntPtr creatureIndices, ulong numberOfIndices);
|
|
|
|
/// <param name="p">const BattleParty *</param>
|
|
/// <returns>void</returns>
|
|
[DllImport("CreatureLibBattling", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_BattleParty_Destruct")]
|
|
internal static extern void Destruct(IntPtr p);
|
|
|
|
/// <param name="out">bool&</param>
|
|
/// <param name="p">const BattleParty *</param>
|
|
/// <param name="side">unsigned char</param>
|
|
/// <param name="creature">unsigned char</param>
|
|
/// <returns>unsigned char</returns>
|
|
[DllImport("CreatureLibBattling", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_BattleParty_IsResponsibleForIndex")]
|
|
internal static extern byte IsResponsibleForIndex(ref bool @out, IntPtr p, byte side, byte creature);
|
|
|
|
/// <param name="p">const BattleParty *</param>
|
|
/// <returns>bool</returns>
|
|
[DllImport("CreatureLibBattling", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_BattleParty_HasCreaturesNotInField")]
|
|
internal static extern bool HasCreaturesNotInField(IntPtr p);
|
|
|
|
}
|
|
}
|