PkmnLibSharp/PkmnLibSharp/Generated/Creaturelib/AttackLibrary.cs

88 lines
4.7 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 AttackLibrary
{
2020-07-08 11:50:51 +00:00
/// <param name="library">AttackLibrary * &</param>
2020-05-02 17:54:07 +00:00
/// <param name="initialCapacity">long unsigned int</param>
/// <returns>unsigned char</returns>
[DllImport("CreatureLib", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_AttackLibrary_Construct")]
2020-05-02 17:54:07 +00:00
internal static extern byte Construct(ref IntPtr library, ulong initialCapacity);
/// <param name="p">const AttackLibrary *</param>
/// <returns>void</returns>
[DllImport("CreatureLib", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_AttackLibrary_Destruct")]
2020-05-02 17:54:07 +00:00
internal static extern void Destruct(IntPtr p);
/// <param name="p">AttackLibrary *</param>
/// <param name="name">const char *</param>
/// <param name="t">AttackData *</param>
/// <returns>unsigned char</returns>
[DllImport("CreatureLib", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_AttackLibrary_Insert")]
2020-05-02 20:58:08 +00:00
internal static extern byte Insert(IntPtr p, IntPtr name, IntPtr t);
2020-05-02 17:54:07 +00:00
/// <param name="p">AttackLibrary *</param>
/// <param name="hashedKey">unsigned int</param>
/// <param name="t">AttackData *</param>
/// <returns>unsigned char</returns>
[DllImport("CreatureLib", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_AttackLibrary_InsertWithHash")]
2020-05-02 17:54:07 +00:00
internal static extern byte InsertWithHash(IntPtr p, uint hashedKey, IntPtr t);
/// <param name="p">AttackLibrary *</param>
/// <param name="name">const char *</param>
/// <returns>unsigned char</returns>
[DllImport("CreatureLib", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_AttackLibrary_Delete")]
2020-05-02 20:58:08 +00:00
internal static extern byte Delete(IntPtr p, IntPtr name);
2020-05-02 17:54:07 +00:00
/// <param name="p">AttackLibrary *</param>
/// <param name="hashedKey">unsigned int</param>
/// <returns>unsigned char</returns>
[DllImport("CreatureLib", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_AttackLibrary_DeleteWithHash")]
2020-05-02 17:54:07 +00:00
internal static extern byte DeleteWithHash(IntPtr p, uint hashedKey);
/// <param name="p">AttackLibrary *</param>
/// <param name="name">const char *</param>
2020-07-08 11:50:51 +00:00
/// <param name="out">const AttackData * &</param>
2020-05-02 17:54:07 +00:00
/// <returns>bool</returns>
[DllImport("CreatureLib", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_AttackLibrary_TryGet")]
2020-05-03 09:38:49 +00:00
internal static extern byte TryGet(IntPtr p, IntPtr name, ref IntPtr @out);
2020-05-02 17:54:07 +00:00
/// <param name="p">AttackLibrary *</param>
/// <param name="hashedKey">unsigned int</param>
2020-07-08 11:50:51 +00:00
/// <param name="out">const AttackData * &</param>
2020-05-02 17:54:07 +00:00
/// <returns>bool</returns>
[DllImport("CreatureLib", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_AttackLibrary_TryGetWithHash")]
2020-05-03 09:38:49 +00:00
internal static extern byte TryGetWithHash(IntPtr p, uint hashedKey, ref IntPtr @out);
2020-05-02 17:54:07 +00:00
/// <param name="p">AttackLibrary *</param>
/// <param name="name">const char *</param>
2020-07-08 11:50:51 +00:00
/// <param name="out">const AttackData * &</param>
2020-05-02 17:54:07 +00:00
/// <returns>unsigned char</returns>
[DllImport("CreatureLib", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_AttackLibrary_Get")]
2020-05-02 20:58:08 +00:00
internal static extern byte Get(IntPtr p, IntPtr name, ref IntPtr @out);
2020-05-02 17:54:07 +00:00
/// <param name="p">AttackLibrary *</param>
/// <param name="hashedKey">unsigned int</param>
2020-07-08 11:50:51 +00:00
/// <param name="out">const AttackData * &</param>
2020-05-02 17:54:07 +00:00
/// <returns>unsigned char</returns>
[DllImport("CreatureLib", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_AttackLibrary_GetWithHash")]
2020-05-02 17:54:07 +00:00
internal static extern byte GetWithHash(IntPtr p, uint hashedKey, ref IntPtr @out);
/// <param name="p">AttackLibrary *</param>
/// <returns>long unsigned int</returns>
[DllImport("CreatureLib", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_AttackLibrary_GetCount")]
2020-05-02 17:54:07 +00:00
internal static extern ulong GetCount(IntPtr p);
2020-08-10 17:13:17 +00:00
/// <param name="p">AttackLibrary *</param>
/// <param name="index">long unsigned int</param>
/// <param name="out">const AttackData * &</param>
/// <returns>unsigned char</returns>
[DllImport("CreatureLib", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_AttackLibrary_GetAtIndex")]
internal static extern byte GetAtIndex(IntPtr p, ulong index, ref IntPtr @out);
2020-05-02 17:54:07 +00:00
}
}