PkmnLibSharp/PkmnLibSharp/Generated/Creaturelib/SwitchEvent.cs

31 lines
1.3 KiB
C#

// AUTOMATICALLY GENERATED, DO NOT EDIT
using System;
using System.Runtime.InteropServices;
namespace Creaturelib.Generated
{
internal static class SwitchEvent
{
/// <param name="p">const SwitchEvent *</param>
/// <returns>Creature *</returns>
[DllImport("CreatureLib", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_SwitchEvent_GetNewCreature")]
internal static extern IntPtr GetNewCreature(IntPtr p);
/// <param name="p">const SwitchEvent *</param>
/// <returns>unsigned char</returns>
[DllImport("CreatureLib", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_SwitchEvent_GetSide")]
internal static extern byte GetSide(IntPtr p);
/// <param name="p">const SwitchEvent *</param>
/// <returns>unsigned char</returns>
[DllImport("CreatureLib", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_SwitchEvent_GetIndex")]
internal static extern byte GetIndex(IntPtr p);
/// <param name="p">const SwitchEvent *</param>
/// <returns>void</returns>
[DllImport("CreatureLib", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_SwitchEvent_Destruct")]
internal static extern void Destruct(IntPtr p);
}
}