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 GrowthRate
|
|
|
|
{
|
|
|
|
/// <param name="p">const GrowthRate *</param>
|
|
|
|
/// <returns>void</returns>
|
2020-07-31 12:19:21 +00:00
|
|
|
[DllImport("CreatureLib", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_GrowthRate_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 char &</param>
|
2020-05-02 17:54:07 +00:00
|
|
|
/// <param name="p">const GrowthRate *</param>
|
|
|
|
/// <param name="experience">unsigned int</param>
|
|
|
|
/// <returns>unsigned char</returns>
|
2020-07-31 12:19:21 +00:00
|
|
|
[DllImport("CreatureLib", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_GrowthRate_CalculateLevel")]
|
2020-05-02 17:54:07 +00:00
|
|
|
internal static extern byte CalculateLevel(ref byte @out, IntPtr p, uint experience);
|
|
|
|
|
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 GrowthRate *</param>
|
|
|
|
/// <param name="level">unsigned char</param>
|
|
|
|
/// <returns>unsigned char</returns>
|
2020-07-31 12:19:21 +00:00
|
|
|
[DllImport("CreatureLib", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_GrowthRate_CalculateExperience")]
|
2020-05-02 17:54:07 +00:00
|
|
|
internal static extern byte CalculateExperience(ref uint @out, IntPtr p, byte level);
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|