// AUTOMATICALLY GENERATED, DO NOT EDIT
using System;
using System.Runtime.InteropServices;

namespace Creaturelib.Generated
{
    internal static class ExperienceGainEvent
    {
        /// <param name="p">const ExperienceGainEvent *</param>
        /// <returns>const Creature *</returns>
        [DllImport("libCreatureLib", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_ExperienceGainEvent_GetCreature")]
        internal static extern IntPtr GetCreature(IntPtr p);

        /// <param name="p">const ExperienceGainEvent *</param>
        /// <returns>unsigned int</returns>
        [DllImport("libCreatureLib", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_ExperienceGainEvent_GetPreviousExperience")]
        internal static extern uint GetPreviousExperience(IntPtr p);

        /// <param name="p">const ExperienceGainEvent *</param>
        /// <returns>unsigned int</returns>
        [DllImport("libCreatureLib", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_ExperienceGainEvent_GetNewExperience")]
        internal static extern uint GetNewExperience(IntPtr p);

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

    }
}
