// AUTOMATICALLY GENERATED, DO NOT EDIT using System; using System.Runtime.InteropServices; namespace Pkmnlib.Generated { internal static class EvolutionData { /// unsigned char /// const PokemonSpecies * /// const EvolutionData * [DllImport("libpkmnLib", CallingConvention = CallingConvention.Cdecl, EntryPoint= "PkmnLib_EvolutionData_CreateLevelEvolution")] internal static extern IntPtr CreateLevelEvolution(byte level, IntPtr into); /// unsigned char /// const PokemonSpecies * /// const EvolutionData * [DllImport("libpkmnLib", CallingConvention = CallingConvention.Cdecl, EntryPoint= "PkmnLib_EvolutionData_CreateFriendshipEvolution")] internal static extern IntPtr CreateFriendshipEvolution(byte friendship, IntPtr into); /// unsigned char /// TimeOfDay /// TimeOfDay /// const PokemonSpecies * /// const EvolutionData * [DllImport("libpkmnLib", CallingConvention = CallingConvention.Cdecl, EntryPoint= "PkmnLib_EvolutionData_CreateFriendshipTimeEvolution")] internal static extern IntPtr CreateFriendshipTimeEvolution(byte friendship, TimeOfDay startTime, TimeOfDay endTime, IntPtr into); /// const MoveData * /// const PokemonSpecies * /// const EvolutionData * [DllImport("libpkmnLib", CallingConvention = CallingConvention.Cdecl, EntryPoint= "PkmnLib_EvolutionData_CreateKnownMoveEvolution")] internal static extern IntPtr CreateKnownMoveEvolution(IntPtr move, IntPtr into); /// const char * /// const PokemonSpecies * /// const EvolutionData * [DllImport("libpkmnLib", CallingConvention = CallingConvention.Cdecl, EntryPoint= "PkmnLib_EvolutionData_CreateLocationEvolution")] internal static extern IntPtr CreateLocationEvolution(IntPtr location, IntPtr into); /// TimeOfDay /// TimeOfDay /// const PokemonSpecies * /// const EvolutionData * [DllImport("libpkmnLib", CallingConvention = CallingConvention.Cdecl, EntryPoint= "PkmnLib_EvolutionData_CreateTimeEvolution")] internal static extern IntPtr CreateTimeEvolution(TimeOfDay startTime, TimeOfDay endTime, IntPtr into); /// const Item * /// const PokemonSpecies * /// const EvolutionData * [DllImport("libpkmnLib", CallingConvention = CallingConvention.Cdecl, EntryPoint= "PkmnLib_EvolutionData_CreateHeldItemEvolution")] internal static extern IntPtr CreateHeldItemEvolution(IntPtr item, IntPtr into); /// const Item * /// TimeOfDay /// TimeOfDay /// const PokemonSpecies * /// const EvolutionData * [DllImport("libpkmnLib", CallingConvention = CallingConvention.Cdecl, EntryPoint= "PkmnLib_EvolutionData_CreateHeldItemTimeEvolution")] internal static extern IntPtr CreateHeldItemTimeEvolution(IntPtr item, TimeOfDay startTime, TimeOfDay endTime, IntPtr into); /// Gender /// unsigned char /// const PokemonSpecies * /// const EvolutionData * [DllImport("libpkmnLib", CallingConvention = CallingConvention.Cdecl, EntryPoint= "PkmnLib_EvolutionData_CreateGenderBasedEvolution")] internal static extern IntPtr CreateGenderBasedEvolution(Gender gender, byte level, IntPtr into); /// const Item * /// const PokemonSpecies * /// const EvolutionData * [DllImport("libpkmnLib", CallingConvention = CallingConvention.Cdecl, EntryPoint= "PkmnLib_EvolutionData_CreateItemUseEvolution")] internal static extern IntPtr CreateItemUseEvolution(IntPtr item, IntPtr into); /// const Item * /// Gender /// const PokemonSpecies * /// const EvolutionData * [DllImport("libpkmnLib", CallingConvention = CallingConvention.Cdecl, EntryPoint= "PkmnLib_EvolutionData_CreateItemUseWithGenderEvolution")] internal static extern IntPtr CreateItemUseWithGenderEvolution(IntPtr item, Gender gender, IntPtr into); /// const PokemonSpecies * /// const EvolutionData * [DllImport("libpkmnLib", CallingConvention = CallingConvention.Cdecl, EntryPoint= "PkmnLib_EvolutionData_CreateTradeEvolution")] internal static extern IntPtr CreateTradeEvolution(IntPtr into); /// const Item * /// const PokemonSpecies * /// const EvolutionData * [DllImport("libpkmnLib", CallingConvention = CallingConvention.Cdecl, EntryPoint= "PkmnLib_EvolutionData_CreateTradeWithItemEvolution")] internal static extern IntPtr CreateTradeWithItemEvolution(IntPtr item, IntPtr into); /// const PokemonSpecies * /// const PokemonSpecies * /// const EvolutionData * [DllImport("libpkmnLib", CallingConvention = CallingConvention.Cdecl, EntryPoint= "PkmnLib_EvolutionData_CreateTradeWithSpeciesEvolution")] internal static extern IntPtr CreateTradeWithSpeciesEvolution(IntPtr traded, IntPtr into); /// const EffectParameter * * /// long unsigned int /// const PokemonSpecies * /// const EvolutionData * [DllImport("libpkmnLib", CallingConvention = CallingConvention.Cdecl, EntryPoint= "PkmnLib_EvolutionData_CreateCustomEvolution")] internal static extern IntPtr CreateCustomEvolution(IntPtr data, ulong dataLength, IntPtr into); /// const EvolutionData * /// EvolutionMethod [DllImport("libpkmnLib", CallingConvention = CallingConvention.Cdecl, EntryPoint= "PkmnLib_EvolutionData_GetMethod")] internal static extern EvolutionMethod GetMethod(IntPtr data); /// const EvolutionData * /// const PokemonSpecies * [DllImport("libpkmnLib", CallingConvention = CallingConvention.Cdecl, EntryPoint= "PkmnLib_EvolutionData_GetNewSpecies")] internal static extern IntPtr GetNewSpecies(IntPtr data); /// const EvolutionData * /// long unsigned int [DllImport("libpkmnLib", CallingConvention = CallingConvention.Cdecl, EntryPoint= "PkmnLib_EvolutionData_GetDataCount")] internal static extern ulong GetDataCount(IntPtr data); /// const EvolutionData * /// long unsigned int /// const EffectParameter * & /// unsigned char [DllImport("libpkmnLib", CallingConvention = CallingConvention.Cdecl, EntryPoint= "PkmnLib_EvolutionData_GetDataAt")] internal static extern byte GetDataAt(IntPtr data, ulong index, ref IntPtr @out); } }