// AUTOMATICALLY GENERATED, DO NOT EDIT using System; using System.Runtime.InteropServices; namespace Creaturelib.Generated { internal static class BattleRandom { /// BattleRandom * [DllImport("libCreatureLib", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_BattleRandom_Construct")] internal static extern IntPtr Construct(); /// long unsigned int /// BattleRandom * [DllImport("libCreatureLib", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_BattleRandom_ConstructWithSeed")] internal static extern IntPtr ConstructWithSeed(ulong seed); /// BattleRandom * /// void [DllImport("libCreatureLib", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_BattleRandom_Destruct")] internal static extern void Destruct(IntPtr p); /// bool & /// BattleRandom * /// float /// ExecutingAttack * /// Creature * /// signed char [DllImport("libCreatureLib", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_BattleRandom_EffectChance")] internal static extern sbyte EffectChance(ref byte @out, IntPtr p, float chance, IntPtr attack, IntPtr target); /// BattleRandom * /// int [DllImport("libCreatureLib", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_BattleRandom_Get")] internal static extern int Get(IntPtr p); /// BattleRandom * /// int /// int [DllImport("libCreatureLib", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_BattleRandom_GetMax")] internal static extern int GetMax(IntPtr p, int max); /// BattleRandom * /// int /// int /// int [DllImport("libCreatureLib", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_BattleRandom_GetMinMax")] internal static extern int GetMinMax(IntPtr p, int min, int max); /// BattleRandom * /// long unsigned int [DllImport("libCreatureLib", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_BattleRandom_GetSeed")] internal static extern ulong GetSeed(IntPtr p); } }