// AUTOMATICALLY GENERATED, DO NOT EDIT using System; using System.Runtime.InteropServices; namespace Creaturelib.Generated { internal static class DataLibrary { /// const DataLibrary * & /// LibrarySettings * /// SpeciesLibrary * /// AttackLibrary * /// ItemLibrary * /// GrowthRateLibrary * /// TypeLibrary * /// TalentLibrary * /// unsigned char [DllImport("libCreatureLib", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_DataLibrary_Construct")] internal static extern byte Construct(ref IntPtr @out, IntPtr settings, IntPtr species, IntPtr attacks, IntPtr items, IntPtr growthRates, IntPtr typeLibrary, IntPtr talentLibrary); /// const DataLibrary * /// void [DllImport("libCreatureLib", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_DataLibrary_Destruct")] internal static extern void Destruct(IntPtr p); /// const DataLibrary * /// const LibrarySettings * [DllImport("libCreatureLib", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_DataLibrary_GetSettings")] internal static extern IntPtr GetSettings(IntPtr p); /// const DataLibrary * /// const SpeciesLibrary * [DllImport("libCreatureLib", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_DataLibrary_GetSpeciesLibrary")] internal static extern IntPtr GetSpeciesLibrary(IntPtr p); /// const DataLibrary * /// const AttackLibrary * [DllImport("libCreatureLib", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_DataLibrary_GetAttackLibrary")] internal static extern IntPtr GetAttackLibrary(IntPtr p); /// const DataLibrary * /// const ItemLibrary * [DllImport("libCreatureLib", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_DataLibrary_GetItemLibrary")] internal static extern IntPtr GetItemLibrary(IntPtr p); /// const DataLibrary * /// const GrowthRateLibrary * [DllImport("libCreatureLib", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_DataLibrary_GetGrowthRates")] internal static extern IntPtr GetGrowthRates(IntPtr p); /// const DataLibrary * /// const TypeLibrary * [DllImport("libCreatureLib", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_DataLibrary_GetTypeLibrary")] internal static extern IntPtr GetTypeLibrary(IntPtr p); /// const DataLibrary * /// const TalentLibrary * [DllImport("libCreatureLib", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_DataLibrary_GetTalentLibrary")] internal static extern IntPtr GetTalentLibrary(IntPtr p); } }