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

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

        /// <param name="p">const DamageEvent *</param>
        /// <returns>DamageSource</returns>
        [DllImport("libCreatureLib", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_DamageEvent_GetDamageSource")]
        internal static extern DamageSource GetDamageSource(IntPtr p);

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

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

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

    }
}
