PkmnLibSharp/PkmnLibSharp/Generated/Creatureliblibrary/GrowthRate.cs

29 lines
1.3 KiB
C#

using System;
using System.Runtime.InteropServices;
namespace Creatureliblibrary.Generated
{
internal static class GrowthRate
{
/// <param name="p">const GrowthRate *</param>
/// <returns>void</returns>
[DllImport("CreatureLibLibrary", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_GrowthRate_Destruct")]
internal static extern void Destruct(IntPtr p);
/// <param name="out">unsigned char&</param>
/// <param name="p">const GrowthRate *</param>
/// <param name="experience">unsigned int</param>
/// <returns>unsigned char</returns>
[DllImport("CreatureLibLibrary", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_GrowthRate_CalculateLevel")]
internal static extern byte CalculateLevel(ref byte @out, IntPtr p, uint experience);
/// <param name="out">unsigned int&</param>
/// <param name="p">const GrowthRate *</param>
/// <param name="level">unsigned char</param>
/// <returns>unsigned char</returns>
[DllImport("CreatureLibLibrary", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_GrowthRate_CalculateExperience")]
internal static extern byte CalculateExperience(ref uint @out, IntPtr p, byte level);
}
}