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

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

        /// <param name="p">const DamageEvent *</param>
        /// <returns>DamageSource</returns>
        [DllImport("CreatureLibBattling", 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("CreatureLibBattling", 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("CreatureLibBattling", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_DamageEvent_GetNewHealth")]
        internal static extern uint GetNewHealth(IntPtr p);

    }
}
