Updates to latest pkmnlib
This commit is contained in:
parent
02c812a84b
commit
1153ad6034
|
@ -12,10 +12,11 @@ namespace Creaturelib.Generated
|
|||
/// <param name="numberHits">unsigned char</param>
|
||||
/// <param name="user">Creature *</param>
|
||||
/// <param name="attack">LearnedAttack *</param>
|
||||
/// <param name="attackData">AttackData *</param>
|
||||
/// <param name="script">BattleScript *</param>
|
||||
/// <returns>unsigned char</returns>
|
||||
[DllImport("libCreatureLib", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_ExecutingAttack_Construct")]
|
||||
internal static extern byte Construct(ref IntPtr @out, IntPtr targets, ulong targetCount, byte numberHits, IntPtr user, IntPtr attack, IntPtr script);
|
||||
internal static extern byte Construct(ref IntPtr @out, IntPtr targets, ulong targetCount, byte numberHits, IntPtr user, IntPtr attack, IntPtr attackData, IntPtr script);
|
||||
|
||||
/// <param name="p">ExecutingAttack *</param>
|
||||
/// <returns>void</returns>
|
||||
|
@ -61,5 +62,10 @@ namespace Creaturelib.Generated
|
|||
[DllImport("libCreatureLib", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_ExecutingAttack_GetAttack")]
|
||||
internal static extern IntPtr GetAttack(IntPtr p);
|
||||
|
||||
/// <param name="p">ExecutingAttack *</param>
|
||||
/// <returns>const AttackData *</returns>
|
||||
[DllImport("libCreatureLib", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_ExecutingAttack_GetUseAttack")]
|
||||
internal static extern IntPtr GetUseAttack(IntPtr p);
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -0,0 +1,20 @@
|
|||
// AUTOMATICALLY GENERATED, DO NOT EDIT
|
||||
using System.Diagnostics.CodeAnalysis;
|
||||
|
||||
namespace Pkmnlib
|
||||
{
|
||||
[SuppressMessage("ReSharper", "InconsistentNaming")]
|
||||
internal enum file_type : byte
|
||||
{
|
||||
not_found = 255,
|
||||
none = 0,
|
||||
regular = 1,
|
||||
directory = 2,
|
||||
symlink = 3,
|
||||
block = 4,
|
||||
character = 5,
|
||||
fifo = 6,
|
||||
socket = 7,
|
||||
unknown = 8,
|
||||
}
|
||||
}
|
|
@ -0,0 +1,13 @@
|
|||
// AUTOMATICALLY GENERATED, DO NOT EDIT
|
||||
using System.Diagnostics.CodeAnalysis;
|
||||
|
||||
namespace Pkmnlib
|
||||
{
|
||||
[SuppressMessage("ReSharper", "InconsistentNaming")]
|
||||
internal enum format : byte
|
||||
{
|
||||
native_format = 0,
|
||||
generic_format = 1,
|
||||
auto_format = 2,
|
||||
}
|
||||
}
|
|
@ -0,0 +1,29 @@
|
|||
// AUTOMATICALLY GENERATED, DO NOT EDIT
|
||||
using System.Diagnostics.CodeAnalysis;
|
||||
|
||||
namespace Pkmnlib
|
||||
{
|
||||
[SuppressMessage("ReSharper", "InconsistentNaming")]
|
||||
internal enum perms : int
|
||||
{
|
||||
none = 0,
|
||||
others_exec = 1,
|
||||
others_write = 2,
|
||||
others_read = 4,
|
||||
others_all = 7,
|
||||
group_exec = 8,
|
||||
group_write = 16,
|
||||
group_read = 32,
|
||||
group_all = 56,
|
||||
owner_exec = 64,
|
||||
owner_write = 128,
|
||||
owner_read = 256,
|
||||
owner_all = 448,
|
||||
all = 511,
|
||||
sticky_bit = 512,
|
||||
set_gid = 1024,
|
||||
set_uid = 2048,
|
||||
mask = 4095,
|
||||
unknown = 65535,
|
||||
}
|
||||
}
|
BIN
PkmnLibSharp/Native/Linux/libCreatureLib.so (Stored with Git LFS)
BIN
PkmnLibSharp/Native/Linux/libCreatureLib.so (Stored with Git LFS)
Binary file not shown.
BIN
PkmnLibSharp/Native/Linux/libpkmnLib.so (Stored with Git LFS)
BIN
PkmnLibSharp/Native/Linux/libpkmnLib.so (Stored with Git LFS)
Binary file not shown.
BIN
PkmnLibSharp/Native/Linux/libpkmnlib_ai.so (Stored with Git LFS)
BIN
PkmnLibSharp/Native/Linux/libpkmnlib_ai.so (Stored with Git LFS)
Binary file not shown.
BIN
PkmnLibSharp/Native/Windows/libCreatureLib.dll (Stored with Git LFS)
BIN
PkmnLibSharp/Native/Windows/libCreatureLib.dll (Stored with Git LFS)
Binary file not shown.
BIN
PkmnLibSharp/Native/Windows/libpkmnLib.dll (Stored with Git LFS)
BIN
PkmnLibSharp/Native/Windows/libpkmnLib.dll (Stored with Git LFS)
Binary file not shown.
Binary file not shown.
File diff suppressed because one or more lines are too long
|
@ -36,6 +36,8 @@ def write_enum(enum, enumNames):
|
|||
for k, v in vals:
|
||||
dict[int(k)] = v
|
||||
for k, v in sorted(dict.items(), key=lambda item: item[0]):
|
||||
if (enum["byteSize"] == 1 and k < 0):
|
||||
k = 256 + k
|
||||
f.write(" {} = {},\n".format(v, k))
|
||||
f.write(" }\n")
|
||||
f.write("}\n")
|
||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue