2020-05-02 17:54:07 +00:00
|
|
|
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")]
|
2020-05-02 20:58:08 +00:00
|
|
|
internal static extern byte LoadScript(ref IntPtr @out, IntPtr p, ScriptCategory category, IntPtr scriptName);
|
2020-05-02 17:54:07 +00:00
|
|
|
|
|
|
|
}
|
|
|
|
}
|