// AUTOMATICALLY GENERATED, DO NOT EDIT
using System;
using System.Runtime.InteropServices;
namespace Creaturelib.Generated
{
internal static class ItemUseScript
{
/// ItemUseScript *
/// void
[DllImport("libCreatureLib", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_ItemUseScript_Destruct")]
internal static extern void Destruct(IntPtr p);
/// ItemUseScript *
/// unsigned char &
/// unsigned char
[DllImport("libCreatureLib", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_ItemUseScript_IsItemUsable")]
internal static extern byte IsItemUsable(IntPtr p, ref byte @out);
/// ItemUseScript *
/// unsigned char &
/// unsigned char
[DllImport("libCreatureLib", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_ItemUseScript_IsCreatureUseItem")]
internal static extern byte IsCreatureUseItem(IntPtr p, ref byte @out);
/// ItemUseScript *
/// Creature *
/// unsigned char &
/// unsigned char
[DllImport("libCreatureLib", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_ItemUseScript_IsUseValidForCreature")]
internal static extern byte IsUseValidForCreature(IntPtr p, IntPtr creature, ref byte @out);
/// ItemUseScript *
/// unsigned char &
/// unsigned char
[DllImport("libCreatureLib", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_ItemUseScript_IsHoldable")]
internal static extern byte IsHoldable(IntPtr p, ref byte @out);
/// ItemUseScript *
/// unsigned char
[DllImport("libCreatureLib", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_ItemUseScript_OnUse")]
internal static extern byte OnUse(IntPtr p);
/// ItemUseScript *
/// Creature *
/// unsigned char
[DllImport("libCreatureLib", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_ItemUseScript_OnCreatureUse")]
internal static extern byte OnCreatureUse(IntPtr p, IntPtr creature);
}
}