// 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("libCreatureLib", 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("libCreatureLib", 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("libCreatureLib", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_SwitchEvent_GetIndex")]
        internal static extern byte GetIndex(IntPtr p);

        /// <param name="p">const SwitchEvent *</param>
        /// <returns>void</returns>
        [DllImport("libCreatureLib", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_SwitchEvent_Destruct")]
        internal static extern void Destruct(IntPtr p);

    }
}
