// AUTOMATICALLY GENERATED, DO NOT EDIT using System; using System.Runtime.InteropServices; namespace Pkmnlib.Generated { internal static class Battle { /// Battle * & /// const BattleLibrary * /// const BattleParty * * /// long unsigned int /// bool /// unsigned char /// unsigned char /// long unsigned int /// unsigned char [DllImport("pkmnLib", CallingConvention = CallingConvention.Cdecl, EntryPoint= "PkmnLib_Battle_Construct")] internal static extern byte Construct(ref IntPtr @out, IntPtr library, IntPtr parties, ulong partiesCount, byte canFlee, byte numberOfSides, byte creaturesPerSide, ulong randomSeed); /// Battle * /// void [DllImport("pkmnLib", CallingConvention = CallingConvention.Cdecl, EntryPoint= "PkmnLib_Battle_Destruct")] internal static extern void Destruct(IntPtr p); /// Battle * /// const char * /// unsigned char [DllImport("pkmnLib", CallingConvention = CallingConvention.Cdecl, EntryPoint= "PkmnLib_Battle_SetWeather")] internal static extern byte SetWeather(IntPtr p, IntPtr name); /// Battle * /// unsigned char [DllImport("pkmnLib", CallingConvention = CallingConvention.Cdecl, EntryPoint= "PkmnLib_Battle_ClearWeather")] internal static extern byte ClearWeather(IntPtr p); /// Battle * /// const char * [DllImport("pkmnLib", CallingConvention = CallingConvention.Cdecl, EntryPoint= "PkmnLib_Battle_GetWeatherName")] internal static extern IntPtr GetWeatherName(IntPtr p); } }