40 lines
1.9 KiB
C#
40 lines
1.9 KiB
C#
|
// AUTOMATICALLY GENERATED, DO NOT EDIT
|
||
|
using System;
|
||
|
using System.Runtime.InteropServices;
|
||
|
|
||
|
namespace Creaturelib.Generated
|
||
|
{
|
||
|
internal static class ItemTurnChoice
|
||
|
{
|
||
|
/// <param name="user">Creature *</param>
|
||
|
/// <param name="item">Item *</param>
|
||
|
/// <returns>ItemTurnChoice *</returns>
|
||
|
[DllImport("libCreatureLib", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_ItemTurnChoice_ConstructWithoutTarget")]
|
||
|
internal static extern IntPtr ConstructWithoutTarget(IntPtr user, IntPtr item);
|
||
|
|
||
|
/// <param name="user">Creature *</param>
|
||
|
/// <param name="item">const Item *</param>
|
||
|
/// <param name="targetSide">unsigned char</param>
|
||
|
/// <param name="targetIndex">unsigned char</param>
|
||
|
/// <returns>ItemTurnChoice *</returns>
|
||
|
[DllImport("libCreatureLib", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_ItemTurnChoice_ConstructWithTarget")]
|
||
|
internal static extern IntPtr ConstructWithTarget(IntPtr user, IntPtr item, byte targetSide, byte targetIndex);
|
||
|
|
||
|
/// <param name="p">SwitchTurnChoice *</param>
|
||
|
/// <returns>void</returns>
|
||
|
[DllImport("libCreatureLib", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_ItemTurnChoice_Destruct")]
|
||
|
internal static extern void Destruct(IntPtr p);
|
||
|
|
||
|
/// <param name="p">const ItemTurnChoice *</param>
|
||
|
/// <returns>TurnChoiceKind</returns>
|
||
|
[DllImport("libCreatureLib", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_ItemTurnChoice_GetKind")]
|
||
|
internal static extern TurnChoiceKind GetKind(IntPtr p);
|
||
|
|
||
|
/// <param name="p">const ItemTurnChoice *</param>
|
||
|
/// <returns>const Item *</returns>
|
||
|
[DllImport("libCreatureLib", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_ItemTurnChoice_GetItem")]
|
||
|
internal static extern IntPtr GetItem(IntPtr p);
|
||
|
|
||
|
}
|
||
|
}
|