PkmnLibSharp/PkmnLibSharp/Generated/Creaturelib/DamageEvent.cs

36 lines
1.6 KiB
C#
Raw Normal View History

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 Creaturelib.Generated
2020-05-02 17:54:07 +00:00
{
internal static class DamageEvent
{
/// <param name="p">const DamageEvent *</param>
/// <returns>Creature *</returns>
[DllImport("CreatureLib", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_DamageEvent_GetCreature")]
2020-05-02 17:54:07 +00:00
internal static extern IntPtr GetCreature(IntPtr p);
/// <param name="p">const DamageEvent *</param>
/// <returns>DamageSource</returns>
[DllImport("CreatureLib", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_DamageEvent_GetDamageSource")]
2020-05-02 17:54:07 +00:00
internal static extern DamageSource GetDamageSource(IntPtr p);
/// <param name="p">const DamageEvent *</param>
/// <returns>unsigned int</returns>
[DllImport("CreatureLib", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_DamageEvent_GetOriginalHealth")]
2020-05-02 17:54:07 +00:00
internal static extern uint GetOriginalHealth(IntPtr p);
/// <param name="p">const DamageEvent *</param>
/// <returns>unsigned int</returns>
[DllImport("CreatureLib", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_DamageEvent_GetNewHealth")]
2020-05-02 17:54:07 +00:00
internal static extern uint GetNewHealth(IntPtr p);
2020-08-04 15:32:20 +00:00
/// <param name="p">const DamageEvent *</param>
/// <returns>void</returns>
[DllImport("CreatureLib", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_DamageEvent_Destruct")]
internal static extern void Destruct(IntPtr p);
2020-05-02 17:54:07 +00:00
}
}