PkmnLibSharp/PkmnLibSharp/Generated/Creaturelib/LearnableAttacks.cs

57 lines
3.0 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 LearnableAttacks
{
2020-07-08 11:50:51 +00:00
/// <param name="out">LearnableAttacks * &</param>
2020-05-02 17:54:07 +00:00
/// <param name="levelAttackCapacity">long unsigned int</param>
/// <returns>unsigned char</returns>
[DllImport("CreatureLib", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_LearnableAttacks_Construct")]
2020-05-02 17:54:07 +00:00
internal static extern byte Construct(ref IntPtr @out, ulong levelAttackCapacity);
/// <param name="p">LearnableAttacks *</param>
/// <returns>void</returns>
[DllImport("CreatureLib", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_LearnableAttacks_Destruct")]
2020-05-02 17:54:07 +00:00
internal static extern void Destruct(IntPtr p);
/// <param name="p">LearnableAttacks *</param>
/// <param name="level">unsigned char</param>
/// <param name="attack">const AttackData *</param>
/// <returns>void</returns>
[DllImport("CreatureLib", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_LearnableAttacks_AddLevelAttack")]
2020-05-02 17:54:07 +00:00
internal static extern void AddLevelAttack(IntPtr p, byte level, IntPtr attack);
/// <param name="p">LearnableAttacks *</param>
/// <param name="level">unsigned char</param>
/// <returns>const const AttackData * *</returns>
[DllImport("CreatureLib", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_LearnableAttacks_GetAttacksForLevel")]
2020-05-02 17:54:07 +00:00
internal static extern IntPtr GetAttacksForLevel(IntPtr p, byte level);
2020-08-11 19:48:41 +00:00
/// <param name="p">LearnableAttacks *</param>
/// <param name="level">unsigned char</param>
/// <returns>bool</returns>
[DllImport("CreatureLib", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_LearnableAttacks_HasAttacksForLevel")]
internal static extern byte HasAttacksForLevel(IntPtr p, byte level);
2020-05-02 17:54:07 +00:00
/// <param name="p">LearnableAttacks *</param>
/// <param name="level">unsigned char</param>
/// <returns>long unsigned int</returns>
[DllImport("CreatureLib", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_LearnableAttacks_GetAttacksForLevelCount")]
2020-05-02 17:54:07 +00:00
internal static extern ulong GetAttacksForLevelCount(IntPtr p, byte level);
2020-08-11 19:48:41 +00:00
/// <param name="p">LearnableAttacks *</param>
/// <returns>long unsigned int</returns>
[DllImport("CreatureLib", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_LearnableAttacks_GetDistinctLevelAttacksCount")]
internal static extern ulong GetDistinctLevelAttacksCount(IntPtr p);
/// <param name="p">LearnableAttacks *</param>
/// <returns>const const AttackData * *</returns>
[DllImport("CreatureLib", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_LearnableAttacks_GetDistinctLevelAttacks")]
internal static extern IntPtr GetDistinctLevelAttacks(IntPtr p);
2020-05-02 17:54:07 +00:00
}
}