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 BattleStatCalculator
|
|
|
|
{
|
|
|
|
/// <returns>const BattleStatCalculator *</returns>
|
2020-07-31 12:19:21 +00:00
|
|
|
[DllImport("CreatureLib", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_BattleStatCalculator_Construct")]
|
2020-05-02 17:54:07 +00:00
|
|
|
internal static extern IntPtr Construct();
|
|
|
|
|
|
|
|
/// <param name="p">const BattleStatCalculator *</param>
|
|
|
|
/// <returns>void</returns>
|
2020-07-31 12:19:21 +00:00
|
|
|
[DllImport("CreatureLib", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_BattleStatCalculator_Destruct")]
|
2020-05-02 17:54:07 +00:00
|
|
|
internal static extern void Destruct(IntPtr p);
|
|
|
|
|
2020-07-08 11:50:51 +00:00
|
|
|
/// <param name="out">unsigned int &</param>
|
2020-05-02 17:54:07 +00:00
|
|
|
/// <param name="p">const BattleStatCalculator *</param>
|
|
|
|
/// <param name="creature">Creature *</param>
|
|
|
|
/// <param name="stat">Statistic</param>
|
|
|
|
/// <returns>unsigned char</returns>
|
2020-07-31 12:19:21 +00:00
|
|
|
[DllImport("CreatureLib", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_BattleStatCalculator_CalculateFlatStat")]
|
2020-05-02 17:54:07 +00:00
|
|
|
internal static extern byte CalculateFlatStat(ref uint @out, IntPtr p, IntPtr creature, Statistic stat);
|
|
|
|
|
2020-07-08 11:50:51 +00:00
|
|
|
/// <param name="out">unsigned int &</param>
|
2020-05-02 17:54:07 +00:00
|
|
|
/// <param name="p">const BattleStatCalculator *</param>
|
|
|
|
/// <param name="creature">Creature *</param>
|
|
|
|
/// <param name="stat">Statistic</param>
|
|
|
|
/// <returns>unsigned char</returns>
|
2020-07-31 12:19:21 +00:00
|
|
|
[DllImport("CreatureLib", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_BattleStatCalculator_CalculateBoostedStat")]
|
2020-05-02 17:54:07 +00:00
|
|
|
internal static extern byte CalculateBoostedStat(ref uint @out, IntPtr p, IntPtr creature, Statistic stat);
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|