// AUTOMATICALLY GENERATED, DO NOT EDIT using System; using System.Runtime.InteropServices; namespace Creatureliblibrary.Generated { internal static class ItemLibrary { /// long unsigned int /// const ItemLibrary * [DllImport("CreatureLibLibrary", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_ItemLibrary_Construct")] internal static extern IntPtr Construct(ulong initialCapacity); /// const ItemLibrary * /// void [DllImport("CreatureLibLibrary", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_ItemLibrary_Destruct")] internal static extern void Destruct(IntPtr p); /// ItemLibrary * /// const char * /// Item * /// unsigned char [DllImport("CreatureLibLibrary", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_ItemLibrary_Insert")] internal static extern byte Insert(IntPtr p, IntPtr name, IntPtr t); /// ItemLibrary * /// unsigned int /// Item * /// unsigned char [DllImport("CreatureLibLibrary", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_ItemLibrary_InsertWithHash")] internal static extern byte InsertWithHash(IntPtr p, uint hashedKey, IntPtr t); /// ItemLibrary * /// const char * /// unsigned char [DllImport("CreatureLibLibrary", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_ItemLibrary_Delete")] internal static extern byte Delete(IntPtr p, IntPtr name); /// ItemLibrary * /// unsigned int /// unsigned char [DllImport("CreatureLibLibrary", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_ItemLibrary_DeleteWithHash")] internal static extern byte DeleteWithHash(IntPtr p, uint hashedKey); /// ItemLibrary * /// const char * /// const Item *& /// bool [DllImport("CreatureLibLibrary", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_ItemLibrary_TryGet")] internal static extern byte TryGet(IntPtr p, IntPtr name, ref IntPtr @out); /// ItemLibrary * /// unsigned int /// const Item *& /// bool [DllImport("CreatureLibLibrary", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_ItemLibrary_TryGetWithHash")] internal static extern byte TryGetWithHash(IntPtr p, uint hashedKey, ref IntPtr @out); /// ItemLibrary * /// const char * /// const Item *& /// unsigned char [DllImport("CreatureLibLibrary", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_ItemLibrary_Get")] internal static extern byte Get(IntPtr p, IntPtr name, ref IntPtr @out); /// ItemLibrary * /// unsigned int /// const Item *& /// unsigned char [DllImport("CreatureLibLibrary", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_ItemLibrary_GetWithHash")] internal static extern byte GetWithHash(IntPtr p, uint hashedKey, ref IntPtr @out); /// ItemLibrary * /// long unsigned int [DllImport("CreatureLibLibrary", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_ItemLibrary_GetCount")] internal static extern ulong GetCount(IntPtr p); } }