using System; using System.Runtime.InteropServices; namespace Creaturelibbattling.Generated { internal static class DamageLibrary { /// const DamageLibrary * [DllImport("CreatureLibBattling", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_DamageLibrary_Construct")] internal static extern IntPtr Construct(); /// const DamageLibrary * /// void [DllImport("CreatureLibBattling", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_DamageLibrary_Destruct")] internal static extern void Destruct(IntPtr p); /// unsigned int& /// const DamageLibrary * /// ExecutingAttack * /// Creature * /// unsigned char /// HitData * /// unsigned char [DllImport("CreatureLibBattling", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_DamageLibrary_GetDamage")] internal static extern byte GetDamage(ref uint @out, IntPtr p, IntPtr attack, IntPtr target, byte hitIndex, IntPtr hitData); /// unsigned char& /// const DamageLibrary * /// ExecutingAttack * /// Creature * /// unsigned char /// HitData * /// unsigned char [DllImport("CreatureLibBattling", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_DamageLibrary_GetBasePower")] internal static extern byte GetBasePower(ref byte @out, IntPtr p, IntPtr attack, IntPtr target, byte hitIndex, IntPtr hitData); /// float& /// const DamageLibrary * /// ExecutingAttack * /// Creature * /// unsigned char /// HitData * /// float [DllImport("CreatureLibBattling", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_DamageLibrary_GetStatModifier")] internal static extern float GetStatModifier(ref float @out, IntPtr p, IntPtr attack, IntPtr target, byte hitIndex, IntPtr hitData); /// float& /// const DamageLibrary * /// ExecutingAttack * /// Creature * /// unsigned char /// HitData * /// float [DllImport("CreatureLibBattling", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_DamageLibrary_GetDamageModifier")] internal static extern float GetDamageModifier(ref float @out, IntPtr p, IntPtr attack, IntPtr target, byte hitIndex, IntPtr hitData); } }