// AUTOMATICALLY GENERATED, DO NOT EDIT using System; using System.Runtime.InteropServices; namespace Creatureliblibrary.Generated { internal static class AttackData { /// AttackData *& /// const char * /// unsigned char /// AttackCategory /// unsigned char /// unsigned char /// unsigned char /// AttackTarget /// signed char /// float /// const char * /// EffectParameter * * /// long unsigned int /// const char * * /// long unsigned int /// unsigned char [DllImport("CreatureLibLibrary", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_AttackData_Construct")] internal static extern byte Construct(ref IntPtr @out, IntPtr name, byte type, AttackCategory category, byte power, byte accuracy, byte baseUsage, AttackTarget target, sbyte priority, float effectChance, IntPtr effectName, IntPtr effectParameters, ulong effectParameterCount, IntPtr flags, ulong flagsCount); /// const AttackData * /// void [DllImport("CreatureLibLibrary", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_AttackData_Destruct")] internal static extern void Destruct(IntPtr p); /// const AttackData * /// const char * [DllImport("CreatureLibLibrary", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_AttackData_GetName")] internal static extern IntPtr GetName(IntPtr p); /// const AttackData * /// unsigned char [DllImport("CreatureLibLibrary", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_AttackData_GetType")] internal static extern byte GetType(IntPtr p); /// const AttackData * /// AttackCategory [DllImport("CreatureLibLibrary", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_AttackData_GetCategory")] internal static extern AttackCategory GetCategory(IntPtr p); /// const AttackData * /// unsigned char [DllImport("CreatureLibLibrary", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_AttackData_GetBasePower")] internal static extern byte GetBasePower(IntPtr p); /// const AttackData * /// unsigned char [DllImport("CreatureLibLibrary", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_AttackData_GetAccuracy")] internal static extern byte GetAccuracy(IntPtr p); /// const AttackData * /// unsigned char [DllImport("CreatureLibLibrary", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_AttackData_GetBaseUsages")] internal static extern byte GetBaseUsages(IntPtr p); /// const AttackData * /// AttackTarget [DllImport("CreatureLibLibrary", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_AttackData_GetTarget")] internal static extern AttackTarget GetTarget(IntPtr p); /// const AttackData * /// signed char [DllImport("CreatureLibLibrary", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_AttackData_GetPriority")] internal static extern sbyte GetPriority(IntPtr p); /// const AttackData * /// bool [DllImport("CreatureLibLibrary", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_AttackData_HasSecondaryEffect")] internal static extern byte HasSecondaryEffect(IntPtr p); /// const AttackData * /// float [DllImport("CreatureLibLibrary", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_AttackData_GetSecondaryEffectChance")] internal static extern float GetSecondaryEffectChance(IntPtr p); /// const AttackData * /// const char * [DllImport("CreatureLibLibrary", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_AttackData_GetSecondaryEffectName")] internal static extern IntPtr GetSecondaryEffectName(IntPtr p); /// const AttackData * /// const char * /// bool [DllImport("CreatureLibLibrary", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_AttackData_HasFlag")] internal static extern byte HasFlag(IntPtr p, IntPtr key); } }