33 lines
1.5 KiB
C#
33 lines
1.5 KiB
C#
|
using System;
|
||
|
using System.Runtime.InteropServices;
|
||
|
|
||
|
namespace Creaturelibbattling.Generated
|
||
|
{
|
||
|
internal static class ScriptResolver
|
||
|
{
|
||
|
/// <returns>ScriptResolver *</returns>
|
||
|
[DllImport("CreatureLibBattling", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_ScriptResolver_Construct")]
|
||
|
internal static extern IntPtr Construct();
|
||
|
|
||
|
/// <param name="p">const ScriptResolver *</param>
|
||
|
/// <returns>void</returns>
|
||
|
[DllImport("CreatureLibBattling", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_ScriptResolver_Destruct")]
|
||
|
internal static extern void Destruct(IntPtr p);
|
||
|
|
||
|
/// <param name="p">ScriptResolver *</param>
|
||
|
/// <param name="library">BattleLibrary *</param>
|
||
|
/// <returns>unsigned char</returns>
|
||
|
[DllImport("CreatureLibBattling", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_ScriptResolver_Initialize")]
|
||
|
internal static extern byte Initialize(IntPtr p, IntPtr library);
|
||
|
|
||
|
/// <param name="out">Script *&</param>
|
||
|
/// <param name="p">ScriptResolver *</param>
|
||
|
/// <param name="category">ScriptCategory</param>
|
||
|
/// <param name="scriptName">const char *</param>
|
||
|
/// <returns>unsigned char</returns>
|
||
|
[DllImport("CreatureLibBattling", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_ScriptResolver_LoadScript")]
|
||
|
internal static extern byte LoadScript(ref IntPtr @out, IntPtr p, ScriptCategory category, string scriptName);
|
||
|
|
||
|
}
|
||
|
}
|