// AUTOMATICALLY GENERATED, DO NOT EDIT using System; using System.Runtime.InteropServices; namespace Creaturelib.Generated { internal static class SpeciesVariant { /// const char * /// float /// float /// unsigned int /// unsigned char * /// long unsigned int /// unsigned short /// unsigned short /// unsigned short /// unsigned short /// unsigned short /// unsigned short /// const Talent * * /// long unsigned int /// const Talent * * /// long unsigned int /// const LearnableAttacks * /// const char * * /// long unsigned int /// SpeciesVariant * [DllImport("libCreatureLib", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_SpeciesVariant_Construct")] internal static extern IntPtr Construct(IntPtr name, float height, float weight, uint baseExperience, IntPtr types, ulong typeLength, ushort baseHealth, ushort baseAttack, ushort baseDefense, ushort baseMagicalAttack, ushort baseMagicalDefense, ushort baseSpeed, IntPtr talents, ulong talentsLength, IntPtr secretTalents, ulong secretTalentsLength, IntPtr attacks, IntPtr flags, ulong flagsCount); /// SpeciesVariant * /// void [DllImport("libCreatureLib", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_SpeciesVariant_Destruct")] internal static extern void Destruct(IntPtr p); /// SpeciesVariant * /// const char * [DllImport("libCreatureLib", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_SpeciesVariant_GetName")] internal static extern IntPtr GetName(IntPtr p); /// const SpeciesVariant * /// float [DllImport("libCreatureLib", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_SpeciesVariant_GetHeight")] internal static extern float GetHeight(IntPtr p); /// const SpeciesVariant * /// float [DllImport("libCreatureLib", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_SpeciesVariant_GetWeight")] internal static extern float GetWeight(IntPtr p); /// const SpeciesVariant * /// unsigned int [DllImport("libCreatureLib", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_SpeciesVariant_GetBaseExperience")] internal static extern uint GetBaseExperience(IntPtr p); /// const SpeciesVariant * /// long unsigned int [DllImport("libCreatureLib", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_SpeciesVariant_GetTypeCount")] internal static extern ulong GetTypeCount(IntPtr p); /// SpeciesVariant * /// long unsigned int /// unsigned char [DllImport("libCreatureLib", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_SpeciesVariant_GetType")] internal static extern byte GetType(IntPtr p, ulong index); /// SpeciesVariant * /// Statistic /// unsigned short [DllImport("libCreatureLib", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_SpeciesVariant_GetStatistic")] internal static extern ushort GetStatistic(IntPtr p, Statistic stat); /// const SpeciesVariant * /// long unsigned int [DllImport("libCreatureLib", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_SpeciesVariant_GetTalentCount")] internal static extern ulong GetTalentCount(IntPtr p); /// const SpeciesVariant * /// long unsigned int [DllImport("libCreatureLib", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_SpeciesVariant_GetSecretTalentCount")] internal static extern ulong GetSecretTalentCount(IntPtr p); /// SpeciesVariant * /// bool /// unsigned char /// const Talent * & /// unsigned char [DllImport("libCreatureLib", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_SpeciesVariant_GetTalent")] internal static extern byte GetTalent(IntPtr p, byte secret, byte index, ref IntPtr @out); /// SpeciesVariant * /// const LearnableAttacks * [DllImport("libCreatureLib", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_SpeciesVariant_GetLearnableAttacks")] internal static extern IntPtr GetLearnableAttacks(IntPtr p); /// SpeciesVariant * /// Random * /// unsigned char [DllImport("libCreatureLib", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_SpeciesVariant_GetRandomTalent")] internal static extern byte GetRandomTalent(IntPtr p, IntPtr rand); /// const SpeciesVariant * /// const char * /// bool [DllImport("libCreatureLib", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_SpeciesVariant_HasFlag")] internal static extern byte HasFlag(IntPtr p, IntPtr key); } }