2020-08-17 16:51:07 +00:00
|
|
|
// AUTOMATICALLY GENERATED, DO NOT EDIT
|
|
|
|
using System;
|
|
|
|
using System.Runtime.InteropServices;
|
|
|
|
|
|
|
|
namespace Creaturelib.Generated
|
|
|
|
{
|
|
|
|
internal static class HistoryHandler
|
|
|
|
{
|
|
|
|
/// <param name="p">const HistoryHolder *</param>
|
|
|
|
/// <returns>const HistoryElement *</returns>
|
2020-10-17 16:16:00 +00:00
|
|
|
[DllImport("libCreatureLib", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_HistoryHandler_GetTopElement")]
|
2020-08-17 16:51:07 +00:00
|
|
|
internal static extern IntPtr GetTopElement(IntPtr p);
|
|
|
|
|
|
|
|
/// <param name="p">const HistoryHolder *</param>
|
|
|
|
/// <returns>const HistoryElement *</returns>
|
2020-10-17 16:16:00 +00:00
|
|
|
[DllImport("libCreatureLib", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_HistoryHandler_GetLastUsedAttack")]
|
2020-08-17 16:51:07 +00:00
|
|
|
internal static extern IntPtr GetLastUsedAttack(IntPtr p);
|
|
|
|
|
2021-11-05 12:58:01 +00:00
|
|
|
/// <param name="p">const HistoryHolder *</param>
|
|
|
|
/// <param name="c">const Creature *</param>
|
|
|
|
/// <returns>const HistoryElement *</returns>
|
|
|
|
[DllImport("libCreatureLib", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_HistoryHandler_GetLastDamageOnTarget")]
|
|
|
|
internal static extern IntPtr GetLastDamageOnTarget(IntPtr p, IntPtr c);
|
|
|
|
|
2020-08-17 16:51:07 +00:00
|
|
|
}
|
|
|
|
}
|