Update to latest PkmnLib

This commit is contained in:
Deukhoofd committed 2020-07-08 13:50:51 +02:00
1 parent eb99fc5661
commit 5ad3e2e040
44 files changed
+119 -118

No files matched your search

@@ -21,7 +21,7 @@ namespace Creaturelibbattling.Generated
[DllImport("CreatureLibBattling", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_BaseTurnChoice_GetUser")] [DllImport("CreatureLibBattling", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_BaseTurnChoice_GetUser")]
internal static extern IntPtr GetUser(IntPtr p); internal static extern IntPtr GetUser(IntPtr p);
/// <param name="out">signed char&</param> /// <param name="out">signed char &</param>
/// <param name="p">AttackTurnChoice *</param> /// <param name="p">AttackTurnChoice *</param>
/// <returns>unsigned char</returns> /// <returns>unsigned char</returns>
[DllImport("CreatureLibBattling", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_BaseTurnChoice_GetPriority")] [DllImport("CreatureLibBattling", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_BaseTurnChoice_GetPriority")]
@@ -6,7 +6,7 @@ namespace Creaturelibbattling.Generated
{ {
internal static class Battle internal static class Battle
{ {
/// <param name="out">Battle *&</param> /// <param name="out">Battle * &</param>
/// <param name="library">const BattleLibrary *</param> /// <param name="library">const BattleLibrary *</param>
/// <param name="partyArr">BattleParty * *</param> /// <param name="partyArr">BattleParty * *</param>
/// <param name="numberOfParties">long unsigned int</param> /// <param name="numberOfParties">long unsigned int</param>
@@ -27,14 +27,14 @@ namespace Creaturelibbattling.Generated
[DllImport("CreatureLibBattling", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_Battle_GetLibrary")] [DllImport("CreatureLibBattling", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_Battle_GetLibrary")]
internal static extern IntPtr GetLibrary(IntPtr p); internal static extern IntPtr GetLibrary(IntPtr p);
/// <param name="out">bool&</param> /// <param name="out">bool &</param>
/// <param name="p">Battle *</param> /// <param name="p">Battle *</param>
/// <param name="turnChoice">const BaseTurnChoice *</param> /// <param name="turnChoice">BaseTurnChoice *</param>
/// <returns>unsigned char</returns> /// <returns>unsigned char</returns>
[DllImport("CreatureLibBattling", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_Battle_CanUse")] [DllImport("CreatureLibBattling", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_Battle_CanUse")]
internal static extern byte CanUse(ref byte @out, IntPtr p, IntPtr turnChoice); internal static extern byte CanUse(ref byte @out, IntPtr p, IntPtr turnChoice);
/// <param name="out">bool&</param> /// <param name="out">bool &</param>
/// <param name="p">Battle *</param> /// <param name="p">Battle *</param>
/// <param name="turnChoice">BaseTurnChoice *</param> /// <param name="turnChoice">BaseTurnChoice *</param>
/// <returns>unsigned char</returns> /// <returns>unsigned char</returns>
@@ -61,14 +61,14 @@ namespace Creaturelibbattling.Generated
[DllImport("CreatureLibBattling", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_Battle_GetRandom")] [DllImport("CreatureLibBattling", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_Battle_GetRandom")]
internal static extern IntPtr GetRandom(IntPtr p); internal static extern IntPtr GetRandom(IntPtr p);
/// <param name="out">bool&</param> /// <param name="out">bool &</param>
/// <param name="p">const Battle *</param> /// <param name="p">const Battle *</param>
/// <param name="c">Creature *</param> /// <param name="c">Creature *</param>
/// <returns>unsigned char</returns> /// <returns>unsigned char</returns>
[DllImport("CreatureLibBattling", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_Battle_CreatureInField")] [DllImport("CreatureLibBattling", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_Battle_CreatureInField")]
internal static extern byte CreatureInField(ref byte @out, IntPtr p, IntPtr c); internal static extern byte CreatureInField(ref byte @out, IntPtr p, IntPtr c);
/// <param name="out">Creature *&</param> /// <param name="out">Creature * &</param>
/// <param name="p">const Battle *</param> /// <param name="p">const Battle *</param>
/// <param name="side">unsigned char</param> /// <param name="side">unsigned char</param>
/// <param name="target">unsigned char</param> /// <param name="target">unsigned char</param>
@@ -91,7 +91,7 @@ namespace Creaturelibbattling.Generated
[DllImport("CreatureLibBattling", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_Battle_SwitchCreature")] [DllImport("CreatureLibBattling", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_Battle_SwitchCreature")]
internal static extern byte SwitchCreature(IntPtr p, byte side, byte target, IntPtr c); internal static extern byte SwitchCreature(IntPtr p, byte side, byte target, IntPtr c);
/// <param name="out">bool&</param> /// <param name="out">bool &</param>
/// <param name="p">const Battle *</param> /// <param name="p">const Battle *</param>
/// <param name="side">unsigned char</param> /// <param name="side">unsigned char</param>
/// <param name="target">unsigned char</param> /// <param name="target">unsigned char</param>
@@ -129,6 +129,16 @@ namespace Creaturelibbattling.Generated
[DllImport("CreatureLibBattling", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_Battle_GetSides")] [DllImport("CreatureLibBattling", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_Battle_GetSides")]
internal static extern IntPtr GetSides(IntPtr p); internal static extern IntPtr GetSides(IntPtr p);
/// <param name="p">const Battle *</param>
/// <returns>long unsigned int</returns>
[DllImport("CreatureLibBattling", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_Battle_GetPartiesCount")]
internal static extern ulong GetPartiesCount(IntPtr p);
/// <param name="p">const Battle *</param>
/// <returns>const BattleParty * *</returns>
[DllImport("CreatureLibBattling", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_Battle_GetParties")]
internal static extern IntPtr GetParties(IntPtr p);
/// <param name="p">Battle *</param> /// <param name="p">Battle *</param>
/// <param name="key">const char *</param> /// <param name="key">const char *</param>
/// <returns>Script *</returns> /// <returns>Script *</returns>
@@ -6,7 +6,7 @@ namespace Creaturelibbattling.Generated
{ {
internal static class BattleLibrary internal static class BattleLibrary
{ {
/// <param name="out">const BattleLibrary *&</param> /// <param name="out">const BattleLibrary * &</param>
/// <param name="staticLib">const DataLibrary *</param> /// <param name="staticLib">const DataLibrary *</param>
/// <param name="statCalculator">BattleStatCalculator *</param> /// <param name="statCalculator">BattleStatCalculator *</param>
/// <param name="damageLibrary">DamageLibrary *</param> /// <param name="damageLibrary">DamageLibrary *</param>
@@ -6,7 +6,7 @@ namespace Creaturelibbattling.Generated
{ {
internal static class BattleParty internal static class BattleParty
{ {
/// <param name="out">BattleParty *&</param> /// <param name="out">BattleParty * &</param>
/// <param name="p">CreatureParty *</param> /// <param name="p">CreatureParty *</param>
/// <param name="creatureIndices">unsigned char *</param> /// <param name="creatureIndices">unsigned char *</param>
/// <param name="numberOfIndices">long unsigned int</param> /// <param name="numberOfIndices">long unsigned int</param>
@@ -19,7 +19,7 @@ namespace Creaturelibbattling.Generated
[DllImport("CreatureLibBattling", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_BattleParty_Destruct")] [DllImport("CreatureLibBattling", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_BattleParty_Destruct")]
internal static extern void Destruct(IntPtr p); internal static extern void Destruct(IntPtr p);
/// <param name="out">bool&</param> /// <param name="out">bool &</param>
/// <param name="p">const BattleParty *</param> /// <param name="p">const BattleParty *</param>
/// <param name="side">unsigned char</param> /// <param name="side">unsigned char</param>
/// <param name="creature">unsigned char</param> /// <param name="creature">unsigned char</param>
@@ -20,7 +20,7 @@ namespace Creaturelibbattling.Generated
[DllImport("CreatureLibBattling", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_BattleRandom_Destruct")] [DllImport("CreatureLibBattling", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_BattleRandom_Destruct")]
internal static extern void Destruct(IntPtr p); internal static extern void Destruct(IntPtr p);
/// <param name="out">bool&</param> /// <param name="out">bool &</param>
/// <param name="p">BattleRandom *</param> /// <param name="p">BattleRandom *</param>
/// <param name="chance">float</param> /// <param name="chance">float</param>
/// <param name="attack">ExecutingAttack *</param> /// <param name="attack">ExecutingAttack *</param>
@@ -23,12 +23,7 @@ namespace Creaturelibbattling.Generated
[DllImport("CreatureLibBattling", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_BattleSide_AllChoicesSet")] [DllImport("CreatureLibBattling", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_BattleSide_AllChoicesSet")]
internal static extern byte AllChoicesSet(IntPtr p); internal static extern byte AllChoicesSet(IntPtr p);
/// <param name="p">BattleSide *</param> /// <param name="out">bool &</param>
/// <returns>const BaseTurnChoice * *</returns>
[DllImport("CreatureLibBattling", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_BattleSide_GetChoices")]
internal static extern IntPtr GetChoices(IntPtr p);
/// <param name="out">bool&</param>
/// <param name="p">BattleSide *</param> /// <param name="p">BattleSide *</param>
/// <returns>unsigned char</returns> /// <returns>unsigned char</returns>
[DllImport("CreatureLibBattling", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_BattleSide_AllPossibleSlotsFilled")] [DllImport("CreatureLibBattling", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_BattleSide_AllPossibleSlotsFilled")]
@@ -52,7 +47,7 @@ namespace Creaturelibbattling.Generated
[DllImport("CreatureLibBattling", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_BattleSide_SetCreature")] [DllImport("CreatureLibBattling", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_BattleSide_SetCreature")]
internal static extern byte SetCreature(IntPtr p, IntPtr creature, byte index); internal static extern byte SetCreature(IntPtr p, IntPtr creature, byte index);
/// <param name="out">Creature *&</param> /// <param name="out">Creature * &</param>
/// <param name="p">BattleSide *</param> /// <param name="p">BattleSide *</param>
/// <param name="index">unsigned char</param> /// <param name="index">unsigned char</param>
/// <returns>unsigned char</returns> /// <returns>unsigned char</returns>
@@ -64,7 +59,7 @@ namespace Creaturelibbattling.Generated
[DllImport("CreatureLibBattling", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_BattleSide_GetSideIndex")] [DllImport("CreatureLibBattling", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_BattleSide_GetSideIndex")]
internal static extern byte GetSideIndex(IntPtr p); internal static extern byte GetSideIndex(IntPtr p);
/// <param name="out">unsigned char&</param> /// <param name="out">unsigned char &</param>
/// <param name="p">BattleSide *</param> /// <param name="p">BattleSide *</param>
/// <param name="c">Creature *</param> /// <param name="c">Creature *</param>
/// <returns>unsigned char</returns> /// <returns>unsigned char</returns>
@@ -15,7 +15,7 @@ namespace Creaturelibbattling.Generated
[DllImport("CreatureLibBattling", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_BattleStatCalculator_Destruct")] [DllImport("CreatureLibBattling", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_BattleStatCalculator_Destruct")]
internal static extern void Destruct(IntPtr p); internal static extern void Destruct(IntPtr p);
/// <param name="out">unsigned int&</param> /// <param name="out">unsigned int &</param>
/// <param name="p">const BattleStatCalculator *</param> /// <param name="p">const BattleStatCalculator *</param>
/// <param name="creature">Creature *</param> /// <param name="creature">Creature *</param>
/// <param name="stat">Statistic</param> /// <param name="stat">Statistic</param>
@@ -23,7 +23,7 @@ namespace Creaturelibbattling.Generated
[DllImport("CreatureLibBattling", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_BattleStatCalculator_CalculateFlatStat")] [DllImport("CreatureLibBattling", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_BattleStatCalculator_CalculateFlatStat")]
internal static extern byte CalculateFlatStat(ref uint @out, IntPtr p, IntPtr creature, Statistic stat); internal static extern byte CalculateFlatStat(ref uint @out, IntPtr p, IntPtr creature, Statistic stat);
/// <param name="out">unsigned int&</param> /// <param name="out">unsigned int &</param>
/// <param name="p">const BattleStatCalculator *</param> /// <param name="p">const BattleStatCalculator *</param>
/// <param name="creature">Creature *</param> /// <param name="creature">Creature *</param>
/// <param name="stat">Statistic</param> /// <param name="stat">Statistic</param>
@@ -6,7 +6,7 @@ namespace Creaturelibbattling.Generated
{ {
internal static class Creature internal static class Creature
{ {
/// <param name="out">Creature *&</param> /// <param name="out">Creature * &</param>
/// <param name="library">const BattleLibrary *</param> /// <param name="library">const BattleLibrary *</param>
/// <param name="species">const CreatureSpecies *</param> /// <param name="species">const CreatureSpecies *</param>
/// <param name="variant">const SpeciesVariant *</param> /// <param name="variant">const SpeciesVariant *</param>
@@ -21,9 +21,10 @@ namespace Creaturelibbattling.Generated
/// <param name="talent">unsigned char</param> /// <param name="talent">unsigned char</param>
/// <param name="attacks">LearnedAttack * *</param> /// <param name="attacks">LearnedAttack * *</param>
/// <param name="attacksNum">long unsigned int</param> /// <param name="attacksNum">long unsigned int</param>
/// <param name="allowedExperienceGain">bool</param>
/// <returns>unsigned char</returns> /// <returns>unsigned char</returns>
[DllImport("CreatureLibBattling", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_Creature_Construct")] [DllImport("CreatureLibBattling", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_Creature_Construct")]
internal static extern byte Construct(ref IntPtr @out, IntPtr library, IntPtr species, IntPtr variant, byte level, uint experience, uint uid, Gender gender, byte coloring, IntPtr heldItem, IntPtr nickname, byte secretTalent, byte talent, IntPtr attacks, ulong attacksNum); internal static extern byte Construct(ref IntPtr @out, IntPtr library, IntPtr species, IntPtr variant, byte level, uint experience, uint uid, Gender gender, byte coloring, IntPtr heldItem, IntPtr nickname, byte secretTalent, byte talent, IntPtr attacks, ulong attacksNum, byte allowedExperienceGain);
/// <param name="p">const Creature *</param> /// <param name="p">const Creature *</param>
/// <returns>void</returns> /// <returns>void</returns>
@@ -40,6 +41,12 @@ namespace Creaturelibbattling.Generated
[DllImport("CreatureLibBattling", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_Creature_GetVariant")] [DllImport("CreatureLibBattling", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_Creature_GetVariant")]
internal static extern IntPtr GetVariant(IntPtr p); internal static extern IntPtr GetVariant(IntPtr p);
/// <param name="p">Creature *</param>
/// <param name="variant">const SpeciesVariant *</param>
/// <returns>unsigned char</returns>
[DllImport("CreatureLibBattling", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_Creature_ChangeVariant")]
internal static extern byte ChangeVariant(IntPtr p, IntPtr variant);
/// <param name="p">const Creature *</param> /// <param name="p">const Creature *</param>
/// <returns>unsigned char</returns> /// <returns>unsigned char</returns>
[DllImport("CreatureLibBattling", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_Creature_GetLevel")] [DllImport("CreatureLibBattling", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_Creature_GetLevel")]
@@ -120,16 +127,6 @@ namespace Creaturelibbattling.Generated
[DllImport("CreatureLibBattling", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_Creature_GetNickname")] [DllImport("CreatureLibBattling", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_Creature_GetNickname")]
internal static extern IntPtr GetNickname(IntPtr p); internal static extern IntPtr GetNickname(IntPtr p);
/// <param name="p">Creature *</param>
/// <returns>long unsigned int</returns>
[DllImport("CreatureLibBattling", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_Creature_GetTypesCount")]
internal static extern ulong GetTypesCount(IntPtr p);
/// <param name="p">Creature *</param>
/// <returns>const unsigned char *</returns>
[DllImport("CreatureLibBattling", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_Creature_GetTypes")]
internal static extern IntPtr GetTypes(IntPtr p);
/// <param name="p">Creature *</param> /// <param name="p">Creature *</param>
/// <param name="type">unsigned char</param> /// <param name="type">unsigned char</param>
/// <returns>bool</returns> /// <returns>bool</returns>
@@ -214,9 +211,10 @@ namespace Creaturelibbattling.Generated
internal static extern ulong GetAttacksCount(IntPtr p); internal static extern ulong GetAttacksCount(IntPtr p);
/// <param name="p">Creature *</param> /// <param name="p">Creature *</param>
/// <param name="index">long unsigned int</param>
/// <returns>const LearnedAttack * *</returns> /// <returns>const LearnedAttack * *</returns>
[DllImport("CreatureLibBattling", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_Creature_GetAttacks")] [DllImport("CreatureLibBattling", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_Creature_GetAttack")]
internal static extern IntPtr GetAttacks(IntPtr p); internal static extern IntPtr GetAttack(IntPtr p, ulong index);
/// <param name="p">const Creature *</param> /// <param name="p">const Creature *</param>
/// <returns>const CreatureSpecies *</returns> /// <returns>const CreatureSpecies *</returns>
@@ -22,7 +22,7 @@ namespace Creaturelibbattling.Generated
[DllImport("CreatureLibBattling", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_CreatureParty_Destruct")] [DllImport("CreatureLibBattling", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_CreatureParty_Destruct")]
internal static extern void Destruct(IntPtr p); internal static extern void Destruct(IntPtr p);
/// <param name="out">Creature *&</param> /// <param name="out">Creature * &</param>
/// <param name="p">const CreatureParty *</param> /// <param name="p">const CreatureParty *</param>
/// <param name="index">long unsigned int</param> /// <param name="index">long unsigned int</param>
/// <returns>unsigned char</returns> /// <returns>unsigned char</returns>
@@ -15,7 +15,7 @@ namespace Creaturelibbattling.Generated
[DllImport("CreatureLibBattling", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_DamageLibrary_Destruct")] [DllImport("CreatureLibBattling", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_DamageLibrary_Destruct")]
internal static extern void Destruct(IntPtr p); internal static extern void Destruct(IntPtr p);
/// <param name="out">unsigned int&</param> /// <param name="out">unsigned int &</param>
/// <param name="p">const DamageLibrary *</param> /// <param name="p">const DamageLibrary *</param>
/// <param name="attack">ExecutingAttack *</param> /// <param name="attack">ExecutingAttack *</param>
/// <param name="target">Creature *</param> /// <param name="target">Creature *</param>
@@ -25,7 +25,7 @@ namespace Creaturelibbattling.Generated
[DllImport("CreatureLibBattling", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_DamageLibrary_GetDamage")] [DllImport("CreatureLibBattling", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_DamageLibrary_GetDamage")]
internal static extern byte GetDamage(ref uint @out, IntPtr p, IntPtr attack, IntPtr target, byte hitIndex, IntPtr hitData); internal static extern byte GetDamage(ref uint @out, IntPtr p, IntPtr attack, IntPtr target, byte hitIndex, IntPtr hitData);
/// <param name="out">unsigned char&</param> /// <param name="out">unsigned char &</param>
/// <param name="p">const DamageLibrary *</param> /// <param name="p">const DamageLibrary *</param>
/// <param name="attack">ExecutingAttack *</param> /// <param name="attack">ExecutingAttack *</param>
/// <param name="target">Creature *</param> /// <param name="target">Creature *</param>
@@ -35,25 +35,25 @@ namespace Creaturelibbattling.Generated
[DllImport("CreatureLibBattling", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_DamageLibrary_GetBasePower")] [DllImport("CreatureLibBattling", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_DamageLibrary_GetBasePower")]
internal static extern byte GetBasePower(ref byte @out, IntPtr p, IntPtr attack, IntPtr target, byte hitIndex, IntPtr hitData); internal static extern byte GetBasePower(ref byte @out, IntPtr p, IntPtr attack, IntPtr target, byte hitIndex, IntPtr hitData);
/// <param name="out">float&</param> /// <param name="out">float &</param>
/// <param name="p">const DamageLibrary *</param> /// <param name="p">const DamageLibrary *</param>
/// <param name="attack">ExecutingAttack *</param> /// <param name="attack">ExecutingAttack *</param>
/// <param name="target">Creature *</param> /// <param name="target">Creature *</param>
/// <param name="hitIndex">unsigned char</param> /// <param name="hitIndex">unsigned char</param>
/// <param name="hitData">HitData *</param> /// <param name="hitData">HitData *</param>
/// <returns>float</returns> /// <returns>unsigned char</returns>
[DllImport("CreatureLibBattling", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_DamageLibrary_GetStatModifier")] [DllImport("CreatureLibBattling", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_DamageLibrary_GetStatModifier")]
internal static extern float GetStatModifier(ref float @out, IntPtr p, IntPtr attack, IntPtr target, byte hitIndex, IntPtr hitData); internal static extern byte GetStatModifier(ref float @out, IntPtr p, IntPtr attack, IntPtr target, byte hitIndex, IntPtr hitData);
/// <param name="out">float&</param> /// <param name="out">float &</param>
/// <param name="p">const DamageLibrary *</param> /// <param name="p">const DamageLibrary *</param>
/// <param name="attack">ExecutingAttack *</param> /// <param name="attack">ExecutingAttack *</param>
/// <param name="target">Creature *</param> /// <param name="target">Creature *</param>
/// <param name="hitIndex">unsigned char</param> /// <param name="hitIndex">unsigned char</param>
/// <param name="hitData">HitData *</param> /// <param name="hitData">HitData *</param>
/// <returns>float</returns> /// <returns>unsigned char</returns>
[DllImport("CreatureLibBattling", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_DamageLibrary_GetDamageModifier")] [DllImport("CreatureLibBattling", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_DamageLibrary_GetDamageModifier")]
internal static extern float GetDamageModifier(ref float @out, IntPtr p, IntPtr attack, IntPtr target, byte hitIndex, IntPtr hitData); internal static extern byte GetDamageModifier(ref float @out, IntPtr p, IntPtr attack, IntPtr target, byte hitIndex, IntPtr hitData);
} }
} }
@@ -6,7 +6,7 @@ namespace Creaturelibbattling.Generated
{ {
internal static class ExecutingAttack internal static class ExecutingAttack
{ {
/// <param name="out">ExecutingAttack *&</param> /// <param name="out">ExecutingAttack * &</param>
/// <param name="targets">const Creature * *</param> /// <param name="targets">const Creature * *</param>
/// <param name="targetCount">long unsigned int</param> /// <param name="targetCount">long unsigned int</param>
/// <param name="numberHits">unsigned char</param> /// <param name="numberHits">unsigned char</param>
@@ -22,7 +22,7 @@ namespace Creaturelibbattling.Generated
[DllImport("CreatureLibBattling", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_ExecutingAttack_Destruct")] [DllImport("CreatureLibBattling", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_ExecutingAttack_Destruct")]
internal static extern void Destruct(IntPtr p); internal static extern void Destruct(IntPtr p);
/// <param name="out">HitData *&</param> /// <param name="out">HitData * &</param>
/// <param name="p">ExecutingAttack *</param> /// <param name="p">ExecutingAttack *</param>
/// <param name="target">Creature *</param> /// <param name="target">Creature *</param>
/// <param name="hit">unsigned char</param> /// <param name="hit">unsigned char</param>
@@ -6,8 +6,8 @@ namespace Creaturelibbattling.Generated
{ {
internal static class LearnedAttack internal static class LearnedAttack
{ {
/// <param name="out">LearnedAttack *&</param> /// <param name="out">LearnedAttack * &</param>
/// <param name="attack">AttackData *</param> /// <param name="attack">const AttackData *</param>
/// <param name="maxUses">unsigned char</param> /// <param name="maxUses">unsigned char</param>
/// <param name="learnMethod">AttackLearnMethod</param> /// <param name="learnMethod">AttackLearnMethod</param>
/// <returns>unsigned char</returns> /// <returns>unsigned char</returns>
@@ -15,7 +15,7 @@ namespace Creaturelibbattling.Generated
[DllImport("CreatureLibBattling", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_MiscLibrary_Destruct")] [DllImport("CreatureLibBattling", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_MiscLibrary_Destruct")]
internal static extern void Destruct(IntPtr p); internal static extern void Destruct(IntPtr p);
/// <param name="out">bool&</param> /// <param name="out">bool &</param>
/// <param name="p">MiscLibrary *</param> /// <param name="p">MiscLibrary *</param>
/// <param name="attack">ExecutingAttack *</param> /// <param name="attack">ExecutingAttack *</param>
/// <param name="target">Creature *</param> /// <param name="target">Creature *</param>
@@ -24,14 +24,14 @@ namespace Creaturelibbattling.Generated
[DllImport("CreatureLibBattling", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_MiscLibrary_IsCritical")] [DllImport("CreatureLibBattling", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_MiscLibrary_IsCritical")]
internal static extern byte IsCritical(ref byte @out, IntPtr p, IntPtr attack, IntPtr target, byte hit); internal static extern byte IsCritical(ref byte @out, IntPtr p, IntPtr attack, IntPtr target, byte hit);
/// <param name="out">bool&</param> /// <param name="out">bool &</param>
/// <param name="p">MiscLibrary *</param> /// <param name="p">MiscLibrary *</param>
/// <param name="switchChoice">FleeTurnChoice *</param> /// <param name="switchChoice">FleeTurnChoice *</param>
/// <returns>unsigned char</returns> /// <returns>unsigned char</returns>
[DllImport("CreatureLibBattling", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_MiscLibrary_CanFlee")] [DllImport("CreatureLibBattling", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_MiscLibrary_CanFlee")]
internal static extern byte CanFlee(ref byte @out, IntPtr p, IntPtr switchChoice); internal static extern byte CanFlee(ref byte @out, IntPtr p, IntPtr switchChoice);
/// <param name="out">BaseTurnChoice *&</param> /// <param name="out">BaseTurnChoice * &</param>
/// <param name="p">MiscLibrary *</param> /// <param name="p">MiscLibrary *</param>
/// <param name="user">Creature *</param> /// <param name="user">Creature *</param>
/// <param name="sideTarget">unsigned char</param> /// <param name="sideTarget">unsigned char</param>
@@ -34,7 +34,7 @@ namespace Creaturelibbattling.Generated
/// <param name="p">Script *</param> /// <param name="p">Script *</param>
/// <param name="choice">AttackTurnChoice *</param> /// <param name="choice">AttackTurnChoice *</param>
/// <param name="outAttack">CaseInsensitiveConstString *</param> /// <param name="outAttack">StringView *</param>
/// <returns>unsigned char</returns> /// <returns>unsigned char</returns>
[DllImport("CreatureLibBattling", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_Script_ChangeAttack")] [DllImport("CreatureLibBattling", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_Script_ChangeAttack")]
internal static extern byte ChangeAttack(IntPtr p, IntPtr choice, IntPtr outAttack); internal static extern byte ChangeAttack(IntPtr p, IntPtr choice, IntPtr outAttack);
@@ -21,7 +21,7 @@ namespace Creaturelibbattling.Generated
[DllImport("CreatureLibBattling", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_ScriptResolver_Initialize")] [DllImport("CreatureLibBattling", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_ScriptResolver_Initialize")]
internal static extern byte Initialize(IntPtr p, IntPtr library); internal static extern byte Initialize(IntPtr p, IntPtr library);
/// <param name="out">Script *&</param> /// <param name="out">Script * &</param>
/// <param name="p">ScriptResolver *</param> /// <param name="p">ScriptResolver *</param>
/// <param name="category">ScriptCategory</param> /// <param name="category">ScriptCategory</param>
/// <param name="scriptName">const char *</param> /// <param name="scriptName">const char *</param>
@@ -6,7 +6,7 @@ namespace Creatureliblibrary.Generated
{ {
internal static class AttackData internal static class AttackData
{ {
/// <param name="out">AttackData *&</param> /// <param name="out">AttackData * &</param>
/// <param name="name">const char *</param> /// <param name="name">const char *</param>
/// <param name="type">unsigned char</param> /// <param name="type">unsigned char</param>
/// <param name="category">AttackCategory</param> /// <param name="category">AttackCategory</param>
@@ -6,7 +6,7 @@ namespace Creatureliblibrary.Generated
{ {
internal static class AttackLibrary internal static class AttackLibrary
{ {
/// <param name="library">AttackLibrary *&</param> /// <param name="library">AttackLibrary * &</param>
/// <param name="initialCapacity">long unsigned int</param> /// <param name="initialCapacity">long unsigned int</param>
/// <returns>unsigned char</returns> /// <returns>unsigned char</returns>
[DllImport("CreatureLibLibrary", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_AttackLibrary_Construct")] [DllImport("CreatureLibLibrary", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_AttackLibrary_Construct")]
@@ -45,28 +45,28 @@ namespace Creatureliblibrary.Generated
/// <param name="p">AttackLibrary *</param> /// <param name="p">AttackLibrary *</param>
/// <param name="name">const char *</param> /// <param name="name">const char *</param>
/// <param name="out">const AttackData *&</param> /// <param name="out">const AttackData * &</param>
/// <returns>bool</returns> /// <returns>bool</returns>
[DllImport("CreatureLibLibrary", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_AttackLibrary_TryGet")] [DllImport("CreatureLibLibrary", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_AttackLibrary_TryGet")]
internal static extern byte TryGet(IntPtr p, IntPtr name, ref IntPtr @out); internal static extern byte TryGet(IntPtr p, IntPtr name, ref IntPtr @out);
/// <param name="p">AttackLibrary *</param> /// <param name="p">AttackLibrary *</param>
/// <param name="hashedKey">unsigned int</param> /// <param name="hashedKey">unsigned int</param>
/// <param name="out">const AttackData *&</param> /// <param name="out">const AttackData * &</param>
/// <returns>bool</returns> /// <returns>bool</returns>
[DllImport("CreatureLibLibrary", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_AttackLibrary_TryGetWithHash")] [DllImport("CreatureLibLibrary", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_AttackLibrary_TryGetWithHash")]
internal static extern byte TryGetWithHash(IntPtr p, uint hashedKey, ref IntPtr @out); internal static extern byte TryGetWithHash(IntPtr p, uint hashedKey, ref IntPtr @out);
/// <param name="p">AttackLibrary *</param> /// <param name="p">AttackLibrary *</param>
/// <param name="name">const char *</param> /// <param name="name">const char *</param>
/// <param name="out">const AttackData *&</param> /// <param name="out">const AttackData * &</param>
/// <returns>unsigned char</returns> /// <returns>unsigned char</returns>
[DllImport("CreatureLibLibrary", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_AttackLibrary_Get")] [DllImport("CreatureLibLibrary", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_AttackLibrary_Get")]
internal static extern byte Get(IntPtr p, IntPtr name, ref IntPtr @out); internal static extern byte Get(IntPtr p, IntPtr name, ref IntPtr @out);
/// <param name="p">AttackLibrary *</param> /// <param name="p">AttackLibrary *</param>
/// <param name="hashedKey">unsigned int</param> /// <param name="hashedKey">unsigned int</param>
/// <param name="out">const AttackData *&</param> /// <param name="out">const AttackData * &</param>
/// <returns>unsigned char</returns> /// <returns>unsigned char</returns>
[DllImport("CreatureLibLibrary", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_AttackLibrary_GetWithHash")] [DllImport("CreatureLibLibrary", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_AttackLibrary_GetWithHash")]
internal static extern byte GetWithHash(IntPtr p, uint hashedKey, ref IntPtr @out); internal static extern byte GetWithHash(IntPtr p, uint hashedKey, ref IntPtr @out);
@@ -6,7 +6,7 @@ namespace Creatureliblibrary.Generated
{ {
internal static class CreatureSpecies internal static class CreatureSpecies
{ {
/// <param name="out">CreatureSpecies *&</param> /// <param name="out">CreatureSpecies * &</param>
/// <param name="id">unsigned short</param> /// <param name="id">unsigned short</param>
/// <param name="name">const char *</param> /// <param name="name">const char *</param>
/// <param name="defaultVariant">SpeciesVariant *</param> /// <param name="defaultVariant">SpeciesVariant *</param>
@@ -61,19 +61,19 @@ namespace Creatureliblibrary.Generated
/// <param name="p">const CreatureSpecies *</param> /// <param name="p">const CreatureSpecies *</param>
/// <param name="name">const char *</param> /// <param name="name">const char *</param>
/// <param name="out">const SpeciesVariant *&</param> /// <param name="out">const SpeciesVariant * &</param>
/// <returns>bool</returns> /// <returns>bool</returns>
[DllImport("CreatureLibLibrary", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_CreatureSpecies_TryGetVariant")] [DllImport("CreatureLibLibrary", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_CreatureSpecies_TryGetVariant")]
internal static extern byte TryGetVariant(IntPtr p, IntPtr name, ref IntPtr @out); internal static extern byte TryGetVariant(IntPtr p, IntPtr name, ref IntPtr @out);
/// <param name="p">const CreatureSpecies *</param> /// <param name="p">const CreatureSpecies *</param>
/// <param name="hash">unsigned int</param> /// <param name="hash">unsigned int</param>
/// <param name="out">const SpeciesVariant *&</param> /// <param name="out">const SpeciesVariant * &</param>
/// <returns>bool</returns> /// <returns>bool</returns>
[DllImport("CreatureLibLibrary", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_CreatureSpecies_TryGetVariantWithHash")] [DllImport("CreatureLibLibrary", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_CreatureSpecies_TryGetVariantWithHash")]
internal static extern byte TryGetVariantWithHash(IntPtr p, uint hash, ref IntPtr @out); internal static extern byte TryGetVariantWithHash(IntPtr p, uint hash, ref IntPtr @out);
/// <param name="out">const SpeciesVariant *&</param> /// <param name="out">const SpeciesVariant * &</param>
/// <param name="p">const CreatureSpecies *</param> /// <param name="p">const CreatureSpecies *</param>
/// <param name="name">const char *</param> /// <param name="name">const char *</param>
/// <returns>unsigned char</returns> /// <returns>unsigned char</returns>
@@ -6,7 +6,7 @@ namespace Creatureliblibrary.Generated
{ {
internal static class DataLibrary internal static class DataLibrary
{ {
/// <param name="out">const DataLibrary *&</param> /// <param name="out">const DataLibrary * &</param>
/// <param name="settings">LibrarySettings *</param> /// <param name="settings">LibrarySettings *</param>
/// <param name="species">SpeciesLibrary *</param> /// <param name="species">SpeciesLibrary *</param>
/// <param name="attacks">AttackLibrary *</param> /// <param name="attacks">AttackLibrary *</param>
@@ -37,25 +37,25 @@ namespace Creatureliblibrary.Generated
internal static extern EffectParameterType GetType(IntPtr p); internal static extern EffectParameterType GetType(IntPtr p);
/// <param name="p">const EffectParameter *</param> /// <param name="p">const EffectParameter *</param>
/// <param name="out">bool&</param> /// <param name="out">bool &</param>
/// <returns>unsigned char</returns> /// <returns>unsigned char</returns>
[DllImport("CreatureLibLibrary", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_EffectParameter_AsBool")] [DllImport("CreatureLibLibrary", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_EffectParameter_AsBool")]
internal static extern byte AsBool(IntPtr p, ref byte @out); internal static extern byte AsBool(IntPtr p, ref byte @out);
/// <param name="p">const EffectParameter *</param> /// <param name="p">const EffectParameter *</param>
/// <param name="out">long int&</param> /// <param name="out">long int &</param>
/// <returns>unsigned char</returns> /// <returns>unsigned char</returns>
[DllImport("CreatureLibLibrary", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_EffectParameter_AsInt")] [DllImport("CreatureLibLibrary", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_EffectParameter_AsInt")]
internal static extern byte AsInt(IntPtr p, ref long @out); internal static extern byte AsInt(IntPtr p, ref long @out);
/// <param name="p">const EffectParameter *</param> /// <param name="p">const EffectParameter *</param>
/// <param name="out">float&</param> /// <param name="out">float &</param>
/// <returns>unsigned char</returns> /// <returns>unsigned char</returns>
[DllImport("CreatureLibLibrary", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_EffectParameter_AsFloat")] [DllImport("CreatureLibLibrary", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_EffectParameter_AsFloat")]
internal static extern byte AsFloat(IntPtr p, ref float @out); internal static extern byte AsFloat(IntPtr p, ref float @out);
/// <param name="p">const EffectParameter *</param> /// <param name="p">const EffectParameter *</param>
/// <param name="out">const char *&</param> /// <param name="out">const char * &</param>
/// <returns>unsigned char</returns> /// <returns>unsigned char</returns>
[DllImport("CreatureLibLibrary", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_EffectParameter_AsString")] [DllImport("CreatureLibLibrary", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_EffectParameter_AsString")]
internal static extern byte AsString(IntPtr p, ref IntPtr @out); internal static extern byte AsString(IntPtr p, ref IntPtr @out);
@@ -6,7 +6,7 @@ namespace Creatureliblibrary.Generated
{ {
internal static class ExternGrowthRate internal static class ExternGrowthRate
{ {
/// <param name="out">GrowthRate *&</param> /// <param name="out">GrowthRate * &</param>
/// <param name="calcLevel">Function *</param> /// <param name="calcLevel">Function *</param>
/// <param name="calcExperience">Function *</param> /// <param name="calcExperience">Function *</param>
/// <returns>unsigned char</returns> /// <returns>unsigned char</returns>
@@ -11,14 +11,14 @@ namespace Creatureliblibrary.Generated
[DllImport("CreatureLibLibrary", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_GrowthRate_Destruct")] [DllImport("CreatureLibLibrary", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_GrowthRate_Destruct")]
internal static extern void Destruct(IntPtr p); internal static extern void Destruct(IntPtr p);
/// <param name="out">unsigned char&</param> /// <param name="out">unsigned char &</param>
/// <param name="p">const GrowthRate *</param> /// <param name="p">const GrowthRate *</param>
/// <param name="experience">unsigned int</param> /// <param name="experience">unsigned int</param>
/// <returns>unsigned char</returns> /// <returns>unsigned char</returns>
[DllImport("CreatureLibLibrary", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_GrowthRate_CalculateLevel")] [DllImport("CreatureLibLibrary", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_GrowthRate_CalculateLevel")]
internal static extern byte CalculateLevel(ref byte @out, IntPtr p, uint experience); internal static extern byte CalculateLevel(ref byte @out, IntPtr p, uint experience);
/// <param name="out">unsigned int&</param> /// <param name="out">unsigned int &</param>
/// <param name="p">const GrowthRate *</param> /// <param name="p">const GrowthRate *</param>
/// <param name="level">unsigned char</param> /// <param name="level">unsigned char</param>
/// <returns>unsigned char</returns> /// <returns>unsigned char</returns>
@@ -16,7 +16,7 @@ namespace Creatureliblibrary.Generated
[DllImport("CreatureLibLibrary", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_GrowthRateLibrary_Destruct")] [DllImport("CreatureLibLibrary", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_GrowthRateLibrary_Destruct")]
internal static extern void Destruct(IntPtr p); internal static extern void Destruct(IntPtr p);
/// <param name="out">unsigned char&</param> /// <param name="out">unsigned char &</param>
/// <param name="library">GrowthRateLibrary *</param> /// <param name="library">GrowthRateLibrary *</param>
/// <param name="growthRate">const char *</param> /// <param name="growthRate">const char *</param>
/// <param name="experience">unsigned int</param> /// <param name="experience">unsigned int</param>
@@ -24,7 +24,7 @@ namespace Creatureliblibrary.Generated
[DllImport("CreatureLibLibrary", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_GrowthRateLibrary_CalculateLevel")] [DllImport("CreatureLibLibrary", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_GrowthRateLibrary_CalculateLevel")]
internal static extern byte CalculateLevel(ref byte @out, IntPtr library, IntPtr growthRate, uint experience); internal static extern byte CalculateLevel(ref byte @out, IntPtr library, IntPtr growthRate, uint experience);
/// <param name="out">unsigned char&</param> /// <param name="out">unsigned char &</param>
/// <param name="library">GrowthRateLibrary *</param> /// <param name="library">GrowthRateLibrary *</param>
/// <param name="growthRateHash">unsigned int</param> /// <param name="growthRateHash">unsigned int</param>
/// <param name="experience">unsigned int</param> /// <param name="experience">unsigned int</param>
@@ -32,7 +32,7 @@ namespace Creatureliblibrary.Generated
[DllImport("CreatureLibLibrary", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_GrowthRateLibrary_CalculateLevelWithHash")] [DllImport("CreatureLibLibrary", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_GrowthRateLibrary_CalculateLevelWithHash")]
internal static extern byte CalculateLevelWithHash(ref byte @out, IntPtr library, uint growthRateHash, uint experience); internal static extern byte CalculateLevelWithHash(ref byte @out, IntPtr library, uint growthRateHash, uint experience);
/// <param name="out">unsigned int&</param> /// <param name="out">unsigned int &</param>
/// <param name="library">GrowthRateLibrary *</param> /// <param name="library">GrowthRateLibrary *</param>
/// <param name="growthRate">const char *</param> /// <param name="growthRate">const char *</param>
/// <param name="level">unsigned char</param> /// <param name="level">unsigned char</param>
@@ -40,7 +40,7 @@ namespace Creatureliblibrary.Generated
[DllImport("CreatureLibLibrary", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_GrowthRateLibrary_CalculateExperience")] [DllImport("CreatureLibLibrary", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_GrowthRateLibrary_CalculateExperience")]
internal static extern byte CalculateExperience(ref uint @out, IntPtr library, IntPtr growthRate, byte level); internal static extern byte CalculateExperience(ref uint @out, IntPtr library, IntPtr growthRate, byte level);
/// <param name="out">unsigned int&</param> /// <param name="out">unsigned int &</param>
/// <param name="library">GrowthRateLibrary *</param> /// <param name="library">GrowthRateLibrary *</param>
/// <param name="growthRateHash">unsigned int</param> /// <param name="growthRateHash">unsigned int</param>
/// <param name="level">unsigned char</param> /// <param name="level">unsigned char</param>
@@ -44,28 +44,28 @@ namespace Creatureliblibrary.Generated
/// <param name="p">ItemLibrary *</param> /// <param name="p">ItemLibrary *</param>
/// <param name="name">const char *</param> /// <param name="name">const char *</param>
/// <param name="out">const Item *&</param> /// <param name="out">const Item * &</param>
/// <returns>bool</returns> /// <returns>bool</returns>
[DllImport("CreatureLibLibrary", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_ItemLibrary_TryGet")] [DllImport("CreatureLibLibrary", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_ItemLibrary_TryGet")]
internal static extern byte TryGet(IntPtr p, IntPtr name, ref IntPtr @out); internal static extern byte TryGet(IntPtr p, IntPtr name, ref IntPtr @out);
/// <param name="p">ItemLibrary *</param> /// <param name="p">ItemLibrary *</param>
/// <param name="hashedKey">unsigned int</param> /// <param name="hashedKey">unsigned int</param>
/// <param name="out">const Item *&</param> /// <param name="out">const Item * &</param>
/// <returns>bool</returns> /// <returns>bool</returns>
[DllImport("CreatureLibLibrary", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_ItemLibrary_TryGetWithHash")] [DllImport("CreatureLibLibrary", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_ItemLibrary_TryGetWithHash")]
internal static extern byte TryGetWithHash(IntPtr p, uint hashedKey, ref IntPtr @out); internal static extern byte TryGetWithHash(IntPtr p, uint hashedKey, ref IntPtr @out);
/// <param name="p">ItemLibrary *</param> /// <param name="p">ItemLibrary *</param>
/// <param name="name">const char *</param> /// <param name="name">const char *</param>
/// <param name="out">const Item *&</param> /// <param name="out">const Item * &</param>
/// <returns>unsigned char</returns> /// <returns>unsigned char</returns>
[DllImport("CreatureLibLibrary", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_ItemLibrary_Get")] [DllImport("CreatureLibLibrary", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_ItemLibrary_Get")]
internal static extern byte Get(IntPtr p, IntPtr name, ref IntPtr @out); internal static extern byte Get(IntPtr p, IntPtr name, ref IntPtr @out);
/// <param name="p">ItemLibrary *</param> /// <param name="p">ItemLibrary *</param>
/// <param name="hashedKey">unsigned int</param> /// <param name="hashedKey">unsigned int</param>
/// <param name="out">const Item *&</param> /// <param name="out">const Item * &</param>
/// <returns>unsigned char</returns> /// <returns>unsigned char</returns>
[DllImport("CreatureLibLibrary", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_ItemLibrary_GetWithHash")] [DllImport("CreatureLibLibrary", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_ItemLibrary_GetWithHash")]
internal static extern byte GetWithHash(IntPtr p, uint hashedKey, ref IntPtr @out); internal static extern byte GetWithHash(IntPtr p, uint hashedKey, ref IntPtr @out);
@@ -6,7 +6,7 @@ namespace Creatureliblibrary.Generated
{ {
internal static class LearnableAttacks internal static class LearnableAttacks
{ {
/// <param name="out">LearnableAttacks *&</param> /// <param name="out">LearnableAttacks * &</param>
/// <param name="levelAttackCapacity">long unsigned int</param> /// <param name="levelAttackCapacity">long unsigned int</param>
/// <returns>unsigned char</returns> /// <returns>unsigned char</returns>
[DllImport("CreatureLibLibrary", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_LearnableAttacks_Construct")] [DllImport("CreatureLibLibrary", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_LearnableAttacks_Construct")]
@@ -44,28 +44,28 @@ namespace Creatureliblibrary.Generated
/// <param name="p">SpeciesLibrary *</param> /// <param name="p">SpeciesLibrary *</param>
/// <param name="name">const char *</param> /// <param name="name">const char *</param>
/// <param name="out">const CreatureSpecies *&</param> /// <param name="out">const CreatureSpecies * &</param>
/// <returns>bool</returns> /// <returns>bool</returns>
[DllImport("CreatureLibLibrary", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_SpeciesLibrary_TryGet")] [DllImport("CreatureLibLibrary", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_SpeciesLibrary_TryGet")]
internal static extern byte TryGet(IntPtr p, IntPtr name, ref IntPtr @out); internal static extern byte TryGet(IntPtr p, IntPtr name, ref IntPtr @out);
/// <param name="p">SpeciesLibrary *</param> /// <param name="p">SpeciesLibrary *</param>
/// <param name="hashedKey">unsigned int</param> /// <param name="hashedKey">unsigned int</param>
/// <param name="out">const CreatureSpecies *&</param> /// <param name="out">const CreatureSpecies * &</param>
/// <returns>bool</returns> /// <returns>bool</returns>
[DllImport("CreatureLibLibrary", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_SpeciesLibrary_TryGetWithHash")] [DllImport("CreatureLibLibrary", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_SpeciesLibrary_TryGetWithHash")]
internal static extern byte TryGetWithHash(IntPtr p, uint hashedKey, ref IntPtr @out); internal static extern byte TryGetWithHash(IntPtr p, uint hashedKey, ref IntPtr @out);
/// <param name="p">SpeciesLibrary *</param> /// <param name="p">SpeciesLibrary *</param>
/// <param name="name">const char *</param> /// <param name="name">const char *</param>
/// <param name="out">const CreatureSpecies *&</param> /// <param name="out">const CreatureSpecies * &</param>
/// <returns>unsigned char</returns> /// <returns>unsigned char</returns>
[DllImport("CreatureLibLibrary", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_SpeciesLibrary_Get")] [DllImport("CreatureLibLibrary", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_SpeciesLibrary_Get")]
internal static extern byte Get(IntPtr p, IntPtr name, ref IntPtr @out); internal static extern byte Get(IntPtr p, IntPtr name, ref IntPtr @out);
/// <param name="p">SpeciesLibrary *</param> /// <param name="p">SpeciesLibrary *</param>
/// <param name="hashedKey">unsigned int</param> /// <param name="hashedKey">unsigned int</param>
/// <param name="out">const CreatureSpecies *&</param> /// <param name="out">const CreatureSpecies * &</param>
/// <returns>unsigned char</returns> /// <returns>unsigned char</returns>
[DllImport("CreatureLibLibrary", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_SpeciesLibrary_GetWithHash")] [DllImport("CreatureLibLibrary", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_SpeciesLibrary_GetWithHash")]
internal static extern byte GetWithHash(IntPtr p, uint hashedKey, ref IntPtr @out); internal static extern byte GetWithHash(IntPtr p, uint hashedKey, ref IntPtr @out);
@@ -82,7 +82,7 @@ namespace Creatureliblibrary.Generated
/// <param name="p">SpeciesVariant *</param> /// <param name="p">SpeciesVariant *</param>
/// <param name="secret">bool</param> /// <param name="secret">bool</param>
/// <param name="index">unsigned char</param> /// <param name="index">unsigned char</param>
/// <param name="out">const char *&</param> /// <param name="out">const char * &</param>
/// <returns>unsigned char</returns> /// <returns>unsigned char</returns>
[DllImport("CreatureLibLibrary", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_SpeciesVariant_GetTalent")] [DllImport("CreatureLibLibrary", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_SpeciesVariant_GetTalent")]
internal static extern byte GetTalent(IntPtr p, byte secret, byte index, ref IntPtr @out); internal static extern byte GetTalent(IntPtr p, byte secret, byte index, ref IntPtr @out);
@@ -16,28 +16,28 @@ namespace Creatureliblibrary.Generated
[DllImport("CreatureLibLibrary", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_TypeLibrary_Destruct")] [DllImport("CreatureLibLibrary", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_TypeLibrary_Destruct")]
internal static extern void Destruct(IntPtr p); internal static extern void Destruct(IntPtr p);
/// <param name="out">unsigned char&</param> /// <param name="out">unsigned char &</param>
/// <param name="p">const TypeLibrary *</param> /// <param name="p">const TypeLibrary *</param>
/// <param name="type">const char *</param> /// <param name="type">const char *</param>
/// <returns>unsigned char</returns> /// <returns>unsigned char</returns>
[DllImport("CreatureLibLibrary", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_TypeLibrary_GetTypeId")] [DllImport("CreatureLibLibrary", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_TypeLibrary_GetTypeId")]
internal static extern byte GetTypeId(ref byte @out, IntPtr p, IntPtr type); internal static extern byte GetTypeId(ref byte @out, IntPtr p, IntPtr type);
/// <param name="out">unsigned char&</param> /// <param name="out">unsigned char &</param>
/// <param name="p">const TypeLibrary *</param> /// <param name="p">const TypeLibrary *</param>
/// <param name="type">unsigned int</param> /// <param name="type">unsigned int</param>
/// <returns>unsigned char</returns> /// <returns>unsigned char</returns>
[DllImport("CreatureLibLibrary", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_TypeLibrary_GetTypeIdWithHash")] [DllImport("CreatureLibLibrary", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_TypeLibrary_GetTypeIdWithHash")]
internal static extern byte GetTypeIdWithHash(ref byte @out, IntPtr p, uint type); internal static extern byte GetTypeIdWithHash(ref byte @out, IntPtr p, uint type);
/// <param name="out">unsigned char&</param> /// <param name="out">unsigned char &</param>
/// <param name="p">TypeLibrary *</param> /// <param name="p">TypeLibrary *</param>
/// <param name="type">const char *</param> /// <param name="type">const char *</param>
/// <returns>unsigned char</returns> /// <returns>unsigned char</returns>
[DllImport("CreatureLibLibrary", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_TypeLibrary_RegisterType")] [DllImport("CreatureLibLibrary", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_TypeLibrary_RegisterType")]
internal static extern byte RegisterType(ref byte @out, IntPtr p, IntPtr type); internal static extern byte RegisterType(ref byte @out, IntPtr p, IntPtr type);
/// <param name="out">unsigned char&</param> /// <param name="out">unsigned char &</param>
/// <param name="p">TypeLibrary *</param> /// <param name="p">TypeLibrary *</param>
/// <param name="type">unsigned int</param> /// <param name="type">unsigned int</param>
/// <returns>unsigned char</returns> /// <returns>unsigned char</returns>
@@ -52,7 +52,7 @@ namespace Creatureliblibrary.Generated
[DllImport("CreatureLibLibrary", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_TypeLibrary_SetEffectiveness")] [DllImport("CreatureLibLibrary", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_TypeLibrary_SetEffectiveness")]
internal static extern byte SetEffectiveness(IntPtr p, byte attacking, byte defensive, float effectiveness); internal static extern byte SetEffectiveness(IntPtr p, byte attacking, byte defensive, float effectiveness);
/// <param name="out">float&</param> /// <param name="out">float &</param>
/// <param name="p">TypeLibrary *</param> /// <param name="p">TypeLibrary *</param>
/// <param name="attacking">unsigned char</param> /// <param name="attacking">unsigned char</param>
/// <param name="defensive">unsigned char</param> /// <param name="defensive">unsigned char</param>
@@ -60,7 +60,7 @@ namespace Creatureliblibrary.Generated
[DllImport("CreatureLibLibrary", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_TypeLibrary_GetSingleEffectiveness")] [DllImport("CreatureLibLibrary", CallingConvention = CallingConvention.Cdecl, EntryPoint= "CreatureLib_TypeLibrary_GetSingleEffectiveness")]
internal static extern byte GetSingleEffectiveness(ref float @out, IntPtr p, byte attacking, byte defensive); internal static extern byte GetSingleEffectiveness(ref float @out, IntPtr p, byte attacking, byte defensive);
/// <param name="out">float&</param> /// <param name="out">float &</param>
/// <param name="p">TypeLibrary *</param> /// <param name="p">TypeLibrary *</param>
/// <param name="attacking">unsigned char</param> /// <param name="attacking">unsigned char</param>
/// <param name="defensive">unsigned char *</param> /// <param name="defensive">unsigned char *</param>
@@ -33,7 +33,7 @@ namespace Pkmnlib.Generated
[DllImport("pkmnLib", CallingConvention = CallingConvention.Cdecl, EntryPoint= "PkmnLib_AngelScriptResolver_FinalizeModule")] [DllImport("pkmnLib", CallingConvention = CallingConvention.Cdecl, EntryPoint= "PkmnLib_AngelScriptResolver_FinalizeModule")]
internal static extern byte FinalizeModule(IntPtr p); internal static extern byte FinalizeModule(IntPtr p);
/// <param name="out">Script *&</param> /// <param name="out">Script * &</param>
/// <param name="p">AngelScriptResolver *</param> /// <param name="p">AngelScriptResolver *</param>
/// <param name="category">ScriptCategory</param> /// <param name="category">ScriptCategory</param>
/// <param name="scriptName">const char *</param> /// <param name="scriptName">const char *</param>
@@ -56,8 +56,8 @@ namespace Pkmnlib.Generated
/// <param name="p">AngelScriptResolver *</param> /// <param name="p">AngelScriptResolver *</param>
/// <param name="stripDebugInfo">bool</param> /// <param name="stripDebugInfo">bool</param>
/// <param name="size">long unsigned int&</param> /// <param name="size">long unsigned int &</param>
/// <param name="out">unsigned char *&</param> /// <param name="out">unsigned char * &</param>
/// <returns>unsigned char</returns> /// <returns>unsigned char</returns>
[DllImport("pkmnLib", CallingConvention = CallingConvention.Cdecl, EntryPoint= "PkmnLib_AngelScriptResolver_WriteByteCodeToMemory")] [DllImport("pkmnLib", CallingConvention = CallingConvention.Cdecl, EntryPoint= "PkmnLib_AngelScriptResolver_WriteByteCodeToMemory")]
internal static extern byte WriteByteCodeToMemory(IntPtr p, byte stripDebugInfo, ref ulong size, ref IntPtr @out); internal static extern byte WriteByteCodeToMemory(IntPtr p, byte stripDebugInfo, ref ulong size, ref IntPtr @out);
+1 -1
View File
@@ -6,7 +6,7 @@ namespace Pkmnlib.Generated
{ {
internal static class Battle internal static class Battle
{ {
/// <param name="out">Battle *&</param> /// <param name="out">Battle * &</param>
/// <param name="library">const BattleLibrary *</param> /// <param name="library">const BattleLibrary *</param>
/// <param name="parties">const BattleParty * *</param> /// <param name="parties">const BattleParty * *</param>
/// <param name="partiesCount">long unsigned int</param> /// <param name="partiesCount">long unsigned int</param>
@@ -6,7 +6,7 @@ namespace Pkmnlib.Generated
{ {
internal static class BattleLibrary internal static class BattleLibrary
{ {
/// <param name="out">BattleLibrary *&</param> /// <param name="out">BattleLibrary * &</param>
/// <param name="staticLib">PokemonLibrary *</param> /// <param name="staticLib">PokemonLibrary *</param>
/// <param name="statCalculator">StatCalculator *</param> /// <param name="statCalculator">StatCalculator *</param>
/// <param name="damageLibrary">DamageLibrary *</param> /// <param name="damageLibrary">DamageLibrary *</param>
+1 -1
View File
@@ -79,7 +79,7 @@ namespace Pkmnlib.Generated
/// <param name="data">const EvolutionData *</param> /// <param name="data">const EvolutionData *</param>
/// <param name="index">long unsigned int</param> /// <param name="index">long unsigned int</param>
/// <param name="out">const EffectParameter *&</param> /// <param name="out">const EffectParameter * &</param>
/// <returns>unsigned char</returns> /// <returns>unsigned char</returns>
[DllImport("pkmnLib", CallingConvention = CallingConvention.Cdecl, EntryPoint= "PkmnLib_Evolution_GetData")] [DllImport("pkmnLib", CallingConvention = CallingConvention.Cdecl, EntryPoint= "PkmnLib_Evolution_GetData")]
internal static extern byte GetData(IntPtr data, ulong index, ref IntPtr @out); internal static extern byte GetData(IntPtr data, ulong index, ref IntPtr @out);
@@ -25,7 +25,7 @@ namespace Pkmnlib.Generated
/// <param name="p">NatureLibrary *</param> /// <param name="p">NatureLibrary *</param>
/// <param name="name">const char *</param> /// <param name="name">const char *</param>
/// <param name="out">const Nature *&</param> /// <param name="out">const Nature * &</param>
/// <returns>unsigned char</returns> /// <returns>unsigned char</returns>
[DllImport("pkmnLib", CallingConvention = CallingConvention.Cdecl, EntryPoint= "PkmnLib_NatureLibrary_GetNatureByName")] [DllImport("pkmnLib", CallingConvention = CallingConvention.Cdecl, EntryPoint= "PkmnLib_NatureLibrary_GetNatureByName")]
internal static extern byte GetNatureByName(IntPtr p, IntPtr name, ref IntPtr @out); internal static extern byte GetNatureByName(IntPtr p, IntPtr name, ref IntPtr @out);
@@ -38,7 +38,7 @@ namespace Pkmnlib.Generated
/// <param name="p">NatureLibrary *</param> /// <param name="p">NatureLibrary *</param>
/// <param name="nature">const Nature *</param> /// <param name="nature">const Nature *</param>
/// <param name="out">const char *&</param> /// <param name="out">const char * &</param>
/// <returns>unsigned char</returns> /// <returns>unsigned char</returns>
[DllImport("pkmnLib", CallingConvention = CallingConvention.Cdecl, EntryPoint= "PkmnLib_NatureLibrary_GetNatureName")] [DllImport("pkmnLib", CallingConvention = CallingConvention.Cdecl, EntryPoint= "PkmnLib_NatureLibrary_GetNatureName")]
internal static extern byte GetNatureName(IntPtr p, IntPtr nature, ref IntPtr @out); internal static extern byte GetNatureName(IntPtr p, IntPtr nature, ref IntPtr @out);
@@ -6,7 +6,7 @@ namespace Pkmnlib.Generated
{ {
internal static class PokemonLibrary internal static class PokemonLibrary
{ {
/// <param name="out">PokemonLibrary *&</param> /// <param name="out">PokemonLibrary * &</param>
/// <param name="settings">LibrarySettings *</param> /// <param name="settings">LibrarySettings *</param>
/// <param name="species">SpeciesLibrary *</param> /// <param name="species">SpeciesLibrary *</param>
/// <param name="moves">MoveLibrary *</param> /// <param name="moves">MoveLibrary *</param>
@@ -6,7 +6,7 @@ namespace Pkmnlib.Generated
{ {
internal static class PokemonSpecies internal static class PokemonSpecies
{ {
/// <param name="out">const PokemonSpecies *&</param> /// <param name="out">const PokemonSpecies * &</param>
/// <param name="id">unsigned short</param> /// <param name="id">unsigned short</param>
/// <param name="name">const char *</param> /// <param name="name">const char *</param>
/// <param name="defaultForme">const PokemonForme *</param> /// <param name="defaultForme">const PokemonForme *</param>
@@ -41,7 +41,7 @@ namespace Pkmnlib.Generated
/// <param name="p">const PokemonSpecies *</param> /// <param name="p">const PokemonSpecies *</param>
/// <param name="index">long unsigned int</param> /// <param name="index">long unsigned int</param>
/// <param name="out">const EvolutionData *&</param> /// <param name="out">const EvolutionData * &</param>
/// <returns>unsigned char</returns> /// <returns>unsigned char</returns>
[DllImport("pkmnLib", CallingConvention = CallingConvention.Cdecl, EntryPoint= "PkmnLib_PokemonSpecies_GetEvolution")] [DllImport("pkmnLib", CallingConvention = CallingConvention.Cdecl, EntryPoint= "PkmnLib_PokemonSpecies_GetEvolution")]
internal static extern byte GetEvolution(IntPtr p, ulong index, ref IntPtr @out); internal static extern byte GetEvolution(IntPtr p, ulong index, ref IntPtr @out);
+2 -2
View File
@@ -4,7 +4,7 @@ using PkmnLibSharp.Utilities;
namespace PkmnLibSharp.Library namespace PkmnLibSharp.Library
{ {
public enum EffectParameterType public enum EffectParameterType : byte
{ {
None = 0, None = 0,
Bool = 1, Bool = 1,
@@ -57,7 +57,7 @@ namespace PkmnLibSharp.Library
public string AsString() public string AsString()
{ {
IntPtr p = IntPtr.Zero; var p = IntPtr.Zero;
Creatureliblibrary.Generated.EffectParameter.AsString(Ptr, ref p).Assert(); Creatureliblibrary.Generated.EffectParameter.AsString(Ptr, ref p).Assert();
return p.PtrString(); return p.PtrString();
} }
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
-3
View File
@@ -22,7 +22,4 @@
<ItemGroup> <ItemGroup>
<PackageReference Include="System.Collections.Immutable" Version="1.7.0" /> <PackageReference Include="System.Collections.Immutable" Version="1.7.0" />
</ItemGroup> </ItemGroup>
<ItemGroup>
<Folder Include="Battling" />
</ItemGroup>
</Project> </Project>
+1 -1
View File
@@ -1 +1 @@
{"enums":[{"byteSize":1,"filename":"CreatureLibLibrary","name":"AttackCategory","values":{"0":"Physical","1":"Magical","2":"Status"}},{"byteSize":1,"filename":"CreatureLibLibrary","name":"AttackTarget","values":{"0":"Adjacent","1":"AdjacentAlly","10":"RandomOpponent","11":"Self","2":"AdjacentAllySelf","3":"AdjacentOpponent","4":"All","5":"AllAdjacent","6":"AllAdjacentOpponent","7":"AllAlly","8":"AllOpponent","9":"Any"}},{"byteSize":1,"filename":"CreatureLibLibrary","name":"EffectParameterType","values":{"0":"None","1":"Bool","2":"Int","3":"Float","4":"String"}},{"byteSize":4,"filename":"CreatureLibLibrary","name":"memory_order","values":{"0":"memory_order_relaxed","1":"memory_order_consume","2":"memory_order_acquire","3":"memory_order_release","4":"memory_order_acq_rel","5":"memory_order_seq_cst"}},{"byteSize":1,"filename":"CreatureLibLibrary","name":"ItemCategory","values":{"0":"MiscItem","1":"CaptureDevice","2":"Medicine","3":"Berry","4":"MoveLearner","5":"VariantChanger","6":"KeyItem","7":"Mail"}},{"byteSize":1,"filename":"CreatureLibLibrary","name":"BattleItemCategory","values":{"0":"None","1":"Healing","2":"StatusHealing","3":"CaptureDevice","4":"MiscBattleItem"}},{"byteSize":1,"filename":"CreatureLibLibrary","name":"Statistic","values":{"0":"Health","1":"PhysicalAttack","2":"PhysicalDefense","3":"MagicalAttack","4":"MagicalDefense","5":"Speed"}},{"byteSize":1,"filename":"CreatureLibLibrary","name":"Gender","values":{"0":"Male","1":"Female","2":"Genderless"}},{"byteSize":4,"filename":"CreatureLibBattling","name":"memory_order","values":{"0":"memory_order_relaxed","1":"memory_order_consume","2":"memory_order_acquire","3":"memory_order_release","4":"memory_order_acq_rel","5":"memory_order_seq_cst"}},{"byteSize":1,"filename":"CreatureLibBattling","name":"ScriptCategory","values":{"0":"Attack","1":"Talent","2":"Status","3":"Creature","4":"Battle","5":"Side"}},{"byteSize":1,"filename":"CreatureLibBattling","name":"Statistic","values":{"0":"Health","1":"PhysicalAttack","2":"PhysicalDefense","3":"MagicalAttack","4":"MagicalDefense","5":"Speed"}},{"byteSize":1,"filename":"CreatureLibBattling","name":"Gender","values":{"0":"Male","1":"Female","2":"Genderless"}},{"byteSize":1,"filename":"CreatureLibBattling","name":"ItemCategory","values":{"0":"MiscItem","1":"CaptureDevice","2":"Medicine","3":"Berry","4":"MoveLearner","5":"VariantChanger","6":"KeyItem","7":"Mail"}},{"byteSize":1,"filename":"CreatureLibBattling","name":"BattleItemCategory","values":{"0":"None","1":"Healing","2":"StatusHealing","3":"CaptureDevice","4":"MiscBattleItem"}},{"byteSize":1,"filename":"CreatureLibBattling","name":"DamageSource","values":{"0":"AttackDamage"}},{"byteSize":1,"filename":"CreatureLibBattling","name":"EventDataKind","values":{"0":"Damage","1":"Heal","2":"Faint","3":"DisplayText"}},{"byteSize":4,"filename":"CreatureLibBattling","name":"AttackLearnMethod","values":{"0":"Unknown","1":"Level"}},{"byteSize":1,"filename":"CreatureLibBattling","name":"TurnChoiceKind","values":{"0":"Pass","1":"Attack","2":"Item","3":"Switch","4":"Flee"}},{"byteSize":1,"filename":"CreatureLibBattling","name":"EffectParameterType","values":{"0":"None","1":"Bool","2":"Int","3":"Float","4":"String"}},{"byteSize":1,"filename":"CreatureLibBattling","name":"AttackCategory","values":{"0":"Physical","1":"Magical","2":"Status"}},{"byteSize":1,"filename":"CreatureLibBattling","name":"AttackTarget","values":{"0":"Adjacent","1":"AdjacentAlly","10":"RandomOpponent","11":"Self","2":"AdjacentAllySelf","3":"AdjacentOpponent","4":"All","5":"AllAdjacent","6":"AllAdjacentOpponent","7":"AllAlly","8":"AllOpponent","9":"Any"}}],"functions":[{"filename":"CreatureLibLibrary","name":"CreatureLib_C_GetLastException","parameters":[],"returns":"const char *"},{"filename":"CreatureLibLibrary","name":"CreatureLib_AttackData_Construct","parameters":[{"name":"out","type":"AttackData *&"},{"name":"name","type":"const char *"},{"name":"type","type":"unsigned char"},{"name":"category","type":"AttackCategory"},{"name":"power","type":"unsigned char"},{"name":"accuracy","type":"unsigned char"},{"name":"baseUsage","type":"unsigned char"},{"name":"target","type":"AttackTarget"},{"name":"priority","type":"signed char"},{"name":"effectChance","type":"float"},{"name":"effectName","type":"const char *"},{"name":"effectParameters","type":"EffectParameter * *"},{"name":"effectParameterCount","type":"long unsigned int"},{"name":"flags","type":"const char * *"},{"name":"flagsCount","type":"long unsigned int"}],"returns":"unsigned char"},{"filename":"CreatureLibLibrary","name":"CreatureLib_AttackData_Destruct","parameters":[{"name":"p","type":"const AttackData *"}],"returns":"void"},{"filename":"CreatureLibLibrary","name":"CreatureLib_AttackData_GetName","parameters":[{"name":"p","type":"const AttackData *"}],"returns":"const char *"},{"filename":"CreatureLibLibrary","name":"CreatureLib_AttackData_GetType","parameters":[{"name":"p","type":"const AttackData *"}],"returns":"unsigned char"},{"filename"Line truncated {"enums":[{"byteSize":1,"filename":"CreatureLibLibrary","name":"AttackCategory","values":{"0":"Physical","1":"Magical","2":"Status"}},{"byteSize":1,"filename":"CreatureLibLibrary","name":"AttackTarget","values":{"0":"Adjacent","1":"AdjacentAlly","10":"RandomOpponent","11":"Self","2":"AdjacentAllySelf","3":"AdjacentOpponent","4":"All","5":"AllAdjacent","6":"AllAdjacentOpponent","7":"AllAlly","8":"AllOpponent","9":"Any"}},{"byteSize":1,"filename":"CreatureLibLibrary","name":"EffectParameterType","values":{"0":"None","1":"Bool","2":"Int","3":"Float","4":"String"}},{"byteSize":1,"filename":"CreatureLibLibrary","name":"ItemCategory","values":{"0":"MiscItem","1":"CaptureDevice","2":"Medicine","3":"Berry","4":"MoveLearner","5":"VariantChanger","6":"KeyItem","7":"Mail"}},{"byteSize":1,"filename":"CreatureLibLibrary","name":"BattleItemCategory","values":{"0":"None","1":"Healing","2":"StatusHealing","3":"CaptureDevice","4":"MiscBattleItem"}},{"byteSize":1,"filename":"CreatureLibLibrary","name":"Statistic","values":{"0":"Health","1":"PhysicalAttack","2":"PhysicalDefense","3":"MagicalAttack","4":"MagicalDefense","5":"Speed"}},{"byteSize":1,"filename":"CreatureLibLibrary","name":"Gender","values":{"0":"Male","1":"Female","2":"Genderless"}},{"byteSize":1,"filename":"CreatureLibBattling","name":"ScriptCategory","values":{"0":"Attack","1":"Talent","2":"Status","3":"Creature","4":"Battle","5":"Side"}},{"byteSize":1,"filename":"CreatureLibBattling","name":"Statistic","values":{"0":"Health","1":"PhysicalAttack","2":"PhysicalDefense","3":"MagicalAttack","4":"MagicalDefense","5":"Speed"}},{"byteSize":1,"filename":"CreatureLibBattling","name":"Gender","values":{"0":"Male","1":"Female","2":"Genderless"}},{"byteSize":1,"filename":"CreatureLibBattling","name":"ItemCategory","values":{"0":"MiscItem","1":"CaptureDevice","2":"Medicine","3":"Berry","4":"MoveLearner","5":"VariantChanger","6":"KeyItem","7":"Mail"}},{"byteSize":1,"filename":"CreatureLibBattling","name":"BattleItemCategory","values":{"0":"None","1":"Healing","2":"StatusHealing","3":"CaptureDevice","4":"MiscBattleItem"}},{"byteSize":1,"filename":"CreatureLibBattling","name":"DamageSource","values":{"0":"AttackDamage"}},{"byteSize":1,"filename":"CreatureLibBattling","name":"EventDataKind","values":{"0":"Damage","1":"Heal","2":"Faint","3":"DisplayText"}},{"byteSize":4,"filename":"CreatureLibBattling","name":"AttackLearnMethod","values":{"0":"Unknown","1":"Level"}},{"byteSize":1,"filename":"CreatureLibBattling","name":"TurnChoiceKind","values":{"0":"Pass","1":"Attack","2":"Item","3":"Switch","4":"Flee"}},{"byteSize":1,"filename":"CreatureLibBattling","name":"EffectParameterType","values":{"0":"None","1":"Bool","2":"Int","3":"Float","4":"String"}},{"byteSize":1,"filename":"CreatureLibBattling","name":"AttackCategory","values":{"0":"Physical","1":"Magical","2":"Status"}},{"byteSize":1,"filename":"CreatureLibBattling","name":"AttackTarget","values":{"0":"Adjacent","1":"AdjacentAlly","10":"RandomOpponent","11":"Self","2":"AdjacentAllySelf","3":"AdjacentOpponent","4":"All","5":"AllAdjacent","6":"AllAdjacentOpponent","7":"AllAlly","8":"AllOpponent","9":"Any"}}],"functions":[{"filename":"CreatureLibLibrary","name":"CreatureLib_C_GetLastException","parameters":[],"returns":"const char *"},{"filename":"CreatureLibLibrary","name":"CreatureLib_AttackData_Construct","parameters":[{"name":"out","type":"AttackData * &"},{"name":"name","type":"const char *"},{"name":"type","type":"unsigned char"},{"name":"category","type":"AttackCategory"},{"name":"power","type":"unsigned char"},{"name":"accuracy","type":"unsigned char"},{"name":"baseUsage","type":"unsigned char"},{"name":"target","type":"AttackTarget"},{"name":"priority","type":"signed char"},{"name":"effectChance","type":"float"},{"name":"effectName","type":"const char *"},{"name":"effectParameters","type":"EffectParameter * *"},{"name":"effectParameterCount","type":"long unsigned int"},{"name":"flags","type":"const char * *"},{"name":"flagsCount","type":"long unsigned int"}],"returns":"unsigned char"},{"filename":"CreatureLibLibrary","name":"CreatureLib_AttackData_Destruct","parameters":[{"name":"p","type":"const AttackData *"}],"returns":"void"},{"filename":"CreatureLibLibrary","name":"CreatureLib_AttackData_GetName","parameters":[{"name":"p","type":"const AttackData *"}],"returns":"const char *"},{"filename":"CreatureLibLibrary","name":"CreatureLib_AttackData_GetType","parameters":[{"name":"p","type":"const AttackData *"}],"returns":"unsigned char"},{"filename":"CreatureLibLibrary","name":"CreatureLib_AttackData_GetCategory","parameters":[{"name":"p","type":"const AttackData *"}],"returns":"AttackCategory"},{"filename":"CreatureLibLibrary","name":"CreatureLib_AttackData_GetBasePower","parameters":[{"name":"p","type":"const AttackData *"}],"returns":"unsigned char"},{"filename":"CreatureLibLibrary","name":"CreatureLib_AttackData_GetAccuracy","parameters":[{"name":"p","type":"const AttackData *"}],"returns":"unsigned char"},{"filename":"Line truncated
+1
View File
@@ -49,6 +49,7 @@ def parse_function(function, classDict):
classDict[classKey].register_function(funcDef(function["name"], function["returns"], function["parameters"])) classDict[classKey].register_function(funcDef(function["name"], function["returns"], function["parameters"]))
def parse_type(type, enumSet): def parse_type(type, enumSet):
type = type.strip();
if (type == "void"): if (type == "void"):
return "void" return "void"
if (type == "unsigned char"): if (type == "unsigned char"):
+1 -1
View File
@@ -1 +1 @@
{"enums":[{"byteSize":4,"filename":"pkmnLib","name":"memory_order","values":{"0":"memory_order_relaxed","1":"memory_order_consume","2":"memory_order_acquire","3":"memory_order_release","4":"memory_order_acq_rel","5":"memory_order_seq_cst"}},{"byteSize":1,"filename":"pkmnLib","name":"ScriptCategory","values":{"0":"Attack","1":"Talent","2":"Status","3":"Creature","4":"Battle","5":"Side"}},{"byteSize":4,"filename":"pkmnLib","name":"asEObjTypeFlags","values":{"1":"asOBJ_REF","1024":"asOBJ_APP_CLASS_DESTRUCTOR","1048576":"asOBJ_IMPLICIT_HANDLE","1073741824":"asOBJ_APP_ALIGN16","128":"asOBJ_ASHANDLE","1280":"asOBJ_APP_CLASS_D","131072":"asOBJ_APP_CLASS_ALLFLOATS","134217728":"asOBJ_TEMPLATE_SUBTYPE","16":"asOBJ_NOHANDLE","16384":"asOBJ_APP_FLOAT","16777216":"asOBJ_FUNCDEF","1792":"asOBJ_APP_CLASS_CD","2":"asOBJ_VALUE","2048":"asOBJ_APP_CLASS_ASSIGNMENT","2097151":"asOBJ_MASK_VALID_FLAGS","2097152":"asOBJ_SCRIPT_OBJECT","2304":"asOBJ_APP_CLASS_A","256":"asOBJ_APP_CLASS","262144":"asOBJ_NOCOUNT","268435456":"asOBJ_TYPEDEF","2816":"asOBJ_APP_CLASS_CA","32":"asOBJ_SCOPED","32768":"asOBJ_APP_ARRAY","3328":"asOBJ_APP_CLASS_DA","33554432":"asOBJ_LIST_PATTERN","3840":"asOBJ_APP_CLASS_CDA","4":"asOBJ_GC","4096":"asOBJ_APP_CLASS_COPY_CONSTRUCTOR","4194304":"asOBJ_SHARED","4352":"asOBJ_APP_CLASS_K","4864":"asOBJ_APP_CLASS_CK","512":"asOBJ_APP_CLASS_CONSTRUCTOR","524288":"asOBJ_APP_CLASS_ALIGN8","536870912":"asOBJ_ABSTRACT","5376":"asOBJ_APP_CLASS_DK","5888":"asOBJ_APP_CLASS_CDK","64":"asOBJ_TEMPLATE","6400":"asOBJ_APP_CLASS_AK","65536":"asOBJ_APP_CLASS_ALLINTS","67108864":"asOBJ_ENUM","6912":"asOBJ_APP_CLASS_CAK","7424":"asOBJ_APP_CLASS_DAK","768":"asOBJ_APP_CLASS_C","7936":"asOBJ_APP_CLASS_CDAK","8":"asOBJ_POD","8192":"asOBJ_APP_PRIMITIVE","8388608":"asOBJ_NOINHERIT"}},{"byteSize":4,"filename":"pkmnLib","name":"asECallConvTypes","values":{"0":"asCALL_CDECL","1":"asCALL_STDCALL","2":"asCALL_THISCALL_ASGLOBAL","3":"asCALL_THISCALL","4":"asCALL_CDECL_OBJLAST","5":"asCALL_CDECL_OBJFIRST","6":"asCALL_GENERIC","7":"asCALL_THISCALL_OBJLAST","8":"asCALL_THISCALL_OBJFIRST"}},{"byteSize":1,"filename":"pkmnLib","name":"Statistic","values":{"0":"Health","1":"PhysicalAttack","2":"PhysicalDefense","3":"MagicalAttack","4":"MagicalDefense","5":"Speed"}},{"byteSize":1,"filename":"pkmnLib","name":"MoveCategory","values":{"0":"Physical","1":"Special","2":"Status"}},{"byteSize":1,"filename":"pkmnLib","name":"AttackTarget","values":{"0":"Adjacent","1":"AdjacentAlly","10":"RandomOpponent","11":"Self","2":"AdjacentAllySelf","3":"AdjacentOpponent","4":"All","5":"AllAdjacent","6":"AllAdjacentOpponent","7":"AllAlly","8":"AllOpponent","9":"Any"}},{"byteSize":1,"filename":"pkmnLib","name":"EffectParameterType","values":{"0":"None","1":"Bool","2":"Int","3":"Float","4":"String"}},{"byteSize":4,"filename":"pkmnLib","name":"AttackLearnMethod","values":{"0":"Unknown","1":"Level"}},{"byteSize":1,"filename":"pkmnLib","name":"Gender","values":{"0":"Male","1":"Female","2":"Genderless"}},{"byteSize":1,"filename":"pkmnLib","name":"EvolutionMethod","values":{"0":"Level","1":"HighFriendship","10":"TradeWithHeldItem","11":"TradeWithSpecificPokemon","12":"Custom","2":"KnownMove","3":"LocationBased","4":"TimeBased","5":"HoldsItem","6":"IsGenderAndLevel","7":"EvolutionItemUse","8":"EvolutionItemUseWithGender","9":"Trade"}},{"byteSize":1,"filename":"pkmnLib","name":"TimeOfDay","values":{"0":"Night","1":"Morning","2":"Afternoon","3":"Evening"}},{"byteSize":1,"filename":"pkmnLib","name":"ItemCategory","values":{"0":"MiscItem","1":"CaptureDevice","2":"Medicine","3":"Berry","4":"MoveLearner","5":"VariantChanger","6":"KeyItem","7":"Mail"}},{"byteSize":1,"filename":"pkmnLib","name":"BattleItemCategory","values":{"0":"None","1":"Healing","2":"StatusHealing","3":"CaptureDevice","4":"MiscBattleItem"}},{"byteSize":4,"filename":"pkmnLib","name":"asETypeIdFlags","values":{"0":"asTYPEID_VOID","1":"asTYPEID_BOOL","10":"asTYPEID_FLOAT","1073741824":"asTYPEID_OBJHANDLE","11":"asTYPEID_DOUBLE","134217728":"asTYPEID_SCRIPTOBJECT","2":"asTYPEID_INT8","268435456":"asTYPEID_TEMPLATE","3":"asTYPEID_INT16","4":"asTYPEID_INT32","469762048":"asTYPEID_MASK_OBJECT","5":"asTYPEID_INT64","536870912":"asTYPEID_HANDLETOCONST","6":"asTYPEID_UINT8","67108863":"asTYPEID_MASK_SEQNBR","67108864":"asTYPEID_APPOBJECT","7":"asTYPEID_UINT16","8":"asTYPEID_UINT32","9":"asTYPEID_UINT64"}},{"byteSize":4,"filename":"pkmnLib","name":"asEContextState","values":{"0":"asEXECUTION_FINISHED","1":"asEXECUTION_SUSPENDED","2":"asEXECUTION_ABORTED","3":"asEXECUTION_EXCEPTION","4":"asEXECUTION_PREPARED","5":"asEXECUTION_UNINITIALIZED","6":"asEXECUTION_ACTIVE","7":"asEXECUTION_ERROR"}},{"byteSize":4,"filename":"pkmnLib","name":"asERetCodes","values":{"-1":"asERROR","-10":"asINVALID_DECLARATION","-11":"asINVALID_OBJECT","-12":"asINVALID_TYPE","-13":"asALREADY_REGISTERED","-14":"asMULTIPLE_FUNCTIONS","-15":"asNO_MODULE","-16":"asNO_GLOBAL_VAR","-17":"asINVALID_CONFIGURATION","-18":"asINVALID_INTERFACE","-19":"asCANT_BIND_ALLine truncated {"enums":[{"byteSize":1,"filename":"pkmnLib","name":"ScriptCategory","values":{"0":"Attack","1":"Talent","2":"Status","3":"Creature","4":"Battle","5":"Side"}},{"byteSize":4,"filename":"pkmnLib","name":"asEObjTypeFlags","values":{"1":"asOBJ_REF","1024":"asOBJ_APP_CLASS_DESTRUCTOR","1048576":"asOBJ_IMPLICIT_HANDLE","1073741824":"asOBJ_APP_ALIGN16","128":"asOBJ_ASHANDLE","1280":"asOBJ_APP_CLASS_D","131072":"asOBJ_APP_CLASS_ALLFLOATS","134217728":"asOBJ_TEMPLATE_SUBTYPE","16":"asOBJ_NOHANDLE","16384":"asOBJ_APP_FLOAT","16777216":"asOBJ_FUNCDEF","1792":"asOBJ_APP_CLASS_CD","2":"asOBJ_VALUE","2048":"asOBJ_APP_CLASS_ASSIGNMENT","2097151":"asOBJ_MASK_VALID_FLAGS","2097152":"asOBJ_SCRIPT_OBJECT","2304":"asOBJ_APP_CLASS_A","256":"asOBJ_APP_CLASS","262144":"asOBJ_NOCOUNT","268435456":"asOBJ_TYPEDEF","2816":"asOBJ_APP_CLASS_CA","32":"asOBJ_SCOPED","32768":"asOBJ_APP_ARRAY","3328":"asOBJ_APP_CLASS_DA","33554432":"asOBJ_LIST_PATTERN","3840":"asOBJ_APP_CLASS_CDA","4":"asOBJ_GC","4096":"asOBJ_APP_CLASS_COPY_CONSTRUCTOR","4194304":"asOBJ_SHARED","4352":"asOBJ_APP_CLASS_K","4864":"asOBJ_APP_CLASS_CK","512":"asOBJ_APP_CLASS_CONSTRUCTOR","524288":"asOBJ_APP_CLASS_ALIGN8","536870912":"asOBJ_ABSTRACT","5376":"asOBJ_APP_CLASS_DK","5888":"asOBJ_APP_CLASS_CDK","64":"asOBJ_TEMPLATE","6400":"asOBJ_APP_CLASS_AK","65536":"asOBJ_APP_CLASS_ALLINTS","67108864":"asOBJ_ENUM","6912":"asOBJ_APP_CLASS_CAK","7424":"asOBJ_APP_CLASS_DAK","768":"asOBJ_APP_CLASS_C","7936":"asOBJ_APP_CLASS_CDAK","8":"asOBJ_POD","8192":"asOBJ_APP_PRIMITIVE","8388608":"asOBJ_NOINHERIT"}},{"byteSize":4,"filename":"pkmnLib","name":"asECallConvTypes","values":{"0":"asCALL_CDECL","1":"asCALL_STDCALL","2":"asCALL_THISCALL_ASGLOBAL","3":"asCALL_THISCALL","4":"asCALL_CDECL_OBJLAST","5":"asCALL_CDECL_OBJFIRST","6":"asCALL_GENERIC","7":"asCALL_THISCALL_OBJLAST","8":"asCALL_THISCALL_OBJFIRST"}},{"byteSize":1,"filename":"pkmnLib","name":"Statistic","values":{"0":"Health","1":"PhysicalAttack","2":"PhysicalDefense","3":"MagicalAttack","4":"MagicalDefense","5":"Speed"}},{"byteSize":1,"filename":"pkmnLib","name":"MoveCategory","values":{"0":"Physical","1":"Special","2":"Status"}},{"byteSize":1,"filename":"pkmnLib","name":"AttackTarget","values":{"0":"Adjacent","1":"AdjacentAlly","10":"RandomOpponent","11":"Self","2":"AdjacentAllySelf","3":"AdjacentOpponent","4":"All","5":"AllAdjacent","6":"AllAdjacentOpponent","7":"AllAlly","8":"AllOpponent","9":"Any"}},{"byteSize":1,"filename":"pkmnLib","name":"EffectParameterType","values":{"0":"None","1":"Bool","2":"Int","3":"Float","4":"String"}},{"byteSize":4,"filename":"pkmnLib","name":"AttackLearnMethod","values":{"0":"Unknown","1":"Level"}},{"byteSize":1,"filename":"pkmnLib","name":"Gender","values":{"0":"Male","1":"Female","2":"Genderless"}},{"byteSize":1,"filename":"pkmnLib","name":"ItemCategory","values":{"0":"MiscItem","1":"CaptureDevice","2":"Medicine","3":"Berry","4":"MoveLearner","5":"VariantChanger","6":"KeyItem","7":"Mail"}},{"byteSize":1,"filename":"pkmnLib","name":"BattleItemCategory","values":{"0":"None","1":"Healing","2":"StatusHealing","3":"CaptureDevice","4":"MiscBattleItem"}},{"byteSize":1,"filename":"pkmnLib","name":"EvolutionMethod","values":{"0":"Level","1":"HighFriendship","10":"TradeWithHeldItem","11":"TradeWithSpecificPokemon","12":"Custom","2":"KnownMove","3":"LocationBased","4":"TimeBased","5":"HoldsItem","6":"IsGenderAndLevel","7":"EvolutionItemUse","8":"EvolutionItemUseWithGender","9":"Trade"}},{"byteSize":1,"filename":"pkmnLib","name":"TimeOfDay","values":{"0":"Night","1":"Morning","2":"Afternoon","3":"Evening"}},{"byteSize":4,"filename":"pkmnLib","name":"asETypeIdFlags","values":{"0":"asTYPEID_VOID","1":"asTYPEID_BOOL","10":"asTYPEID_FLOAT","1073741824":"asTYPEID_OBJHANDLE","11":"asTYPEID_DOUBLE","134217728":"asTYPEID_SCRIPTOBJECT","2":"asTYPEID_INT8","268435456":"asTYPEID_TEMPLATE","3":"asTYPEID_INT16","4":"asTYPEID_INT32","469762048":"asTYPEID_MASK_OBJECT","5":"asTYPEID_INT64","536870912":"asTYPEID_HANDLETOCONST","6":"asTYPEID_UINT8","67108863":"asTYPEID_MASK_SEQNBR","67108864":"asTYPEID_APPOBJECT","7":"asTYPEID_UINT16","8":"asTYPEID_UINT32","9":"asTYPEID_UINT64"}},{"byteSize":4,"filename":"pkmnLib","name":"asEContextState","values":{"0":"asEXECUTION_FINISHED","1":"asEXECUTION_SUSPENDED","2":"asEXECUTION_ABORTED","3":"asEXECUTION_EXCEPTION","4":"asEXECUTION_PREPARED","5":"asEXECUTION_UNINITIALIZED","6":"asEXECUTION_ACTIVE","7":"asEXECUTION_ERROR"}},{"byteSize":4,"filename":"pkmnLib","name":"asERetCodes","values":{"-1":"asERROR","-10":"asINVALID_DECLARATION","-11":"asINVALID_OBJECT","-12":"asINVALID_TYPE","-13":"asALREADY_REGISTERED","-14":"asMULTIPLE_FUNCTIONS","-15":"asNO_MODULE","-16":"asNO_GLOBAL_VAR","-17":"asINVALID_CONFIGURATION","-18":"asINVALID_INTERFACE","-19":"asCANT_BIND_ALL_FUNCTIONS","-2":"asCONTEXT_ACTIVE","-20":"asLOWER_ARRAY_DIMENSION_NOT_REGISTERED","-21":"asWRONG_CONFIG_GROUP","-22":"asCONFIG_GROUP_IS_IN_USE","-23":"asILLEGAL_BEHAVIOUR_FOR_TYPE","-24":"asWRONG_CALLING_CONV","-25":"asBUILD_IN_PLine truncated