34 lines
1.5 KiB
C#
34 lines
1.5 KiB
C#
|
// AUTOMATICALLY GENERATED, DO NOT EDIT
|
||
|
using System;
|
||
|
using System.Runtime.InteropServices;
|
||
|
|
||
|
namespace Creaturelib.Generated
|
||
|
{
|
||
|
internal static class Talent
|
||
|
{
|
||
|
/// <param name="name">const char *</param>
|
||
|
/// <param name="effect">const char *</param>
|
||
|
/// <param name="effectParameters">EffectParameter * *</param>
|
||
|
/// <param name="effectParameterCount">long unsigned int</param>
|
||
|
/// <returns>Talent *</returns>
|
||
|
[DllImport("libCreatureLib", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_Talent_Construct")]
|
||
|
internal static extern IntPtr Construct(IntPtr name, IntPtr effect, IntPtr effectParameters, ulong effectParameterCount);
|
||
|
|
||
|
/// <param name="p">const Talent *</param>
|
||
|
/// <returns>void</returns>
|
||
|
[DllImport("libCreatureLib", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_Talent_Destruct")]
|
||
|
internal static extern void Destruct(IntPtr p);
|
||
|
|
||
|
/// <param name="talent">const Talent *</param>
|
||
|
/// <returns>const char *</returns>
|
||
|
[DllImport("libCreatureLib", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_Talent_GetName")]
|
||
|
internal static extern IntPtr GetName(IntPtr talent);
|
||
|
|
||
|
/// <param name="talent">const Talent *</param>
|
||
|
/// <returns>const char *</returns>
|
||
|
[DllImport("libCreatureLib", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_Talent_GetEffect")]
|
||
|
internal static extern IntPtr GetEffect(IntPtr talent);
|
||
|
|
||
|
}
|
||
|
}
|