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;
|
|
|
|
|
2020-07-31 12:19:21 +00:00
|
|
|
namespace Creaturelib.Generated
|
2020-05-02 17:54:07 +00:00
|
|
|
{
|
|
|
|
internal static class ExperienceLibrary
|
|
|
|
{
|
|
|
|
/// <returns>const ExperienceLibrary *</returns>
|
2020-07-31 12:19:21 +00:00
|
|
|
[DllImport("CreatureLib", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_ExperienceLibrary_Construct")]
|
2020-05-02 17:54:07 +00:00
|
|
|
internal static extern IntPtr Construct();
|
|
|
|
|
|
|
|
/// <param name="p">const ExperienceLibrary *</param>
|
|
|
|
/// <returns>void</returns>
|
2020-07-31 12:19:21 +00:00
|
|
|
[DllImport("CreatureLib", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_ExperienceLibrary_Destruct")]
|
2020-05-02 17:54:07 +00:00
|
|
|
internal static extern void Destruct(IntPtr p);
|
|
|
|
|
|
|
|
/// <param name="p">const ExperienceLibrary *</param>
|
|
|
|
/// <param name="faintedMon">Creature *</param>
|
|
|
|
/// <param name="opponents">Creature * *</param>
|
|
|
|
/// <param name="opponentsCount">long unsigned int</param>
|
|
|
|
/// <returns>unsigned char</returns>
|
2020-07-31 12:19:21 +00:00
|
|
|
[DllImport("CreatureLib", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_ExperienceLibrary_HandleExperienceGain")]
|
2020-05-02 17:54:07 +00:00
|
|
|
internal static extern byte HandleExperienceGain(IntPtr p, IntPtr faintedMon, IntPtr opponents, ulong opponentsCount);
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|