2022-10-01 13:39:33 +00:00
|
|
|
using System;
|
|
|
|
using System.Runtime.InteropServices;
|
|
|
|
|
|
|
|
namespace PkmnLibSharp.FFI.StaticData.Libraries
|
|
|
|
{
|
|
|
|
internal static class StaticData
|
|
|
|
{
|
|
|
|
[DllImport(Data.DllName, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
|
2023-01-03 12:57:29 +00:00
|
|
|
internal static extern IdentifiablePointer static_data_new(IntPtr settings, IntPtr speciesLibrary,
|
|
|
|
IntPtr moveLibrary, IntPtr itemLibrary, IntPtr growthRateLibrary, IntPtr typeLibrary, IntPtr natureLibrary,
|
|
|
|
IntPtr abilityLibrary);
|
2022-10-01 13:39:33 +00:00
|
|
|
|
|
|
|
[DllImport(Data.DllName, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
|
|
|
|
internal static extern void static_data_drop(IntPtr ptr);
|
|
|
|
|
|
|
|
[DllImport(Data.DllName, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
|
2022-10-08 11:42:30 +00:00
|
|
|
internal static extern IdentifiablePointer static_data_settings(IntPtr ptr);
|
2022-10-01 13:39:33 +00:00
|
|
|
|
|
|
|
[DllImport(Data.DllName, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
|
2022-10-08 11:42:30 +00:00
|
|
|
internal static extern IdentifiablePointer static_data_species(IntPtr ptr);
|
2022-10-01 13:39:33 +00:00
|
|
|
|
|
|
|
[DllImport(Data.DllName, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
|
2022-10-08 11:42:30 +00:00
|
|
|
internal static extern IdentifiablePointer static_data_moves(IntPtr ptr);
|
2022-10-01 13:39:33 +00:00
|
|
|
|
|
|
|
[DllImport(Data.DllName, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
|
2022-10-08 11:42:30 +00:00
|
|
|
internal static extern IdentifiablePointer static_data_items(IntPtr ptr);
|
2022-10-01 13:39:33 +00:00
|
|
|
|
|
|
|
[DllImport(Data.DllName, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
|
2022-10-08 11:42:30 +00:00
|
|
|
internal static extern IdentifiablePointer static_data_growth_rates(IntPtr ptr);
|
2022-10-01 13:39:33 +00:00
|
|
|
|
|
|
|
[DllImport(Data.DllName, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
|
2022-10-08 11:42:30 +00:00
|
|
|
internal static extern IdentifiablePointer static_data_types(IntPtr ptr);
|
2022-10-01 13:39:33 +00:00
|
|
|
|
|
|
|
[DllImport(Data.DllName, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
|
2022-10-08 11:42:30 +00:00
|
|
|
internal static extern IdentifiablePointer static_data_natures(IntPtr ptr);
|
2022-10-01 13:39:33 +00:00
|
|
|
|
|
|
|
[DllImport(Data.DllName, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
|
2022-10-08 11:42:30 +00:00
|
|
|
internal static extern IdentifiablePointer static_data_abilities(IntPtr ptr);
|
2022-10-01 13:39:33 +00:00
|
|
|
}
|
|
|
|
}
|