2020-05-03 09:38:49 +00:00
|
|
|
// AUTOMATICALLY GENERATED, DO NOT EDIT
|
2020-05-02 17:54:07 +00:00
|
|
|
using System;
|
|
|
|
using System.Runtime.InteropServices;
|
|
|
|
|
|
|
|
namespace Pkmnlib.Generated
|
|
|
|
{
|
|
|
|
internal static class BattleLibrary
|
|
|
|
{
|
2020-07-08 11:50:51 +00:00
|
|
|
/// <param name="out">BattleLibrary * &</param>
|
2020-05-02 17:54:07 +00:00
|
|
|
/// <param name="staticLib">PokemonLibrary *</param>
|
|
|
|
/// <param name="statCalculator">StatCalculator *</param>
|
|
|
|
/// <param name="damageLibrary">DamageLibrary *</param>
|
|
|
|
/// <param name="experienceLibrary">ExperienceLibrary *</param>
|
|
|
|
/// <param name="scriptResolver">ScriptResolver *</param>
|
|
|
|
/// <param name="miscLibrary">MiscLibrary *</param>
|
2022-03-26 15:46:07 +00:00
|
|
|
/// <param name="captureLibrary">CaptureLibrary *</param>
|
2020-05-02 17:54:07 +00:00
|
|
|
/// <returns>unsigned char</returns>
|
2020-10-17 16:16:00 +00:00
|
|
|
[DllImport("libpkmnLib", CallingConvention = CallingConvention.Cdecl, EntryPoint= "PkmnLib_BattleLibrary_Construct")]
|
2022-03-26 15:46:07 +00:00
|
|
|
internal static extern byte Construct(ref IntPtr @out, IntPtr staticLib, IntPtr statCalculator, IntPtr damageLibrary, IntPtr experienceLibrary, IntPtr scriptResolver, IntPtr miscLibrary, IntPtr captureLibrary);
|
2020-05-02 17:54:07 +00:00
|
|
|
|
|
|
|
/// <param name="p">BattleLibrary *</param>
|
|
|
|
/// <returns>void</returns>
|
2020-10-17 16:16:00 +00:00
|
|
|
[DllImport("libpkmnLib", CallingConvention = CallingConvention.Cdecl, EntryPoint= "PkmnLib_BattleLibrary_Destruct")]
|
2020-05-02 17:54:07 +00:00
|
|
|
internal static extern void Destruct(IntPtr p);
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|