|
|
|
@ -18,6 +18,11 @@ namespace Creaturelib.Generated
|
|
|
|
|
[DllImport("libCreatureLib", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_BattleSide_Destruct")]
|
|
|
|
|
internal static extern void Destruct(IntPtr p);
|
|
|
|
|
|
|
|
|
|
/// <param name="p">BattleSide *</param>
|
|
|
|
|
/// <returns>Battle *</returns>
|
|
|
|
|
[DllImport("libCreatureLib", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_BattleSide_GetBattle")]
|
|
|
|
|
internal static extern IntPtr GetBattle(IntPtr p);
|
|
|
|
|
|
|
|
|
|
/// <param name="p">BattleSide *</param>
|
|
|
|
|
/// <returns>bool</returns>
|
|
|
|
|
[DllImport("libCreatureLib", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_BattleSide_AllChoicesSet")]
|
|
|
|
@ -95,5 +100,41 @@ namespace Creaturelib.Generated
|
|
|
|
|
[DllImport("libCreatureLib", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_BattleSide_SwapPositions")]
|
|
|
|
|
internal static extern byte SwapPositions(ref byte @out, IntPtr p, byte a, byte b);
|
|
|
|
|
|
|
|
|
|
/// <param name="p">BattleSide *</param>
|
|
|
|
|
/// <param name="key">const char *</param>
|
|
|
|
|
/// <returns>BattleScript *</returns>
|
|
|
|
|
[DllImport("libCreatureLib", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_BattleSide_GetVolatileScript")]
|
|
|
|
|
internal static extern IntPtr GetVolatileScript(IntPtr p, IntPtr key);
|
|
|
|
|
|
|
|
|
|
/// <param name="p">BattleSide *</param>
|
|
|
|
|
/// <param name="key">const char *</param>
|
|
|
|
|
/// <returns>unsigned char</returns>
|
|
|
|
|
[DllImport("libCreatureLib", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_BattleSide_AddVolatileScriptByName")]
|
|
|
|
|
internal static extern byte AddVolatileScriptByName(IntPtr p, IntPtr key);
|
|
|
|
|
|
|
|
|
|
/// <param name="p">BattleSide *</param>
|
|
|
|
|
/// <param name="script">BattleScript *</param>
|
|
|
|
|
/// <returns>unsigned char</returns>
|
|
|
|
|
[DllImport("libCreatureLib", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_BattleSide_AddVolatileScript")]
|
|
|
|
|
internal static extern byte AddVolatileScript(IntPtr p, IntPtr script);
|
|
|
|
|
|
|
|
|
|
/// <param name="p">BattleSide *</param>
|
|
|
|
|
/// <param name="key">const char *</param>
|
|
|
|
|
/// <returns>unsigned char</returns>
|
|
|
|
|
[DllImport("libCreatureLib", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_BattleSide_RemoveVolatileScript")]
|
|
|
|
|
internal static extern byte RemoveVolatileScript(IntPtr p, IntPtr key);
|
|
|
|
|
|
|
|
|
|
/// <param name="p">BattleSide *</param>
|
|
|
|
|
/// <param name="script">BattleScript *</param>
|
|
|
|
|
/// <returns>unsigned char</returns>
|
|
|
|
|
[DllImport("libCreatureLib", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_BattleSide_RemoveVolatileScriptWithScript")]
|
|
|
|
|
internal static extern byte RemoveVolatileScriptWithScript(IntPtr p, IntPtr script);
|
|
|
|
|
|
|
|
|
|
/// <param name="p">BattleSide *</param>
|
|
|
|
|
/// <param name="key">const char *</param>
|
|
|
|
|
/// <returns>bool</returns>
|
|
|
|
|
[DllImport("libCreatureLib", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_BattleSide_HasVolatileScript")]
|
|
|
|
|
internal static extern byte HasVolatileScript(IntPtr p, IntPtr key);
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|