Compare commits

..
2 Commits
Author SHA1 Message Date
amacocian fe4720c5e1 Update GWCA - fixes Character Select widget (#1626) 2026-09-09 22:58:09 +02:00
github-actions[bot]andamacocian b57d2ad5d3 Bump version to 0.9.10.21 2026-09-09 22:58:09 +02:00
9 changed files with 38 additions and 37 deletions
+9 -9
View File
@@ -8977,7 +8977,7 @@ public static unsafe partial class GWCA
internal const float Nearby = 252.0f;
internal const float Spellcast = 1248.0f;
internal const float Spirit = 2512.0f;
internal const float SpiritExtended = 3500.0f;
internal const float SpiritExtended = 3000.0f;
internal const float Touch = 144.0f;
}
}
@@ -9625,11 +9625,11 @@ public static unsafe partial class GWCA
kChangeTarget, // 0x10000020, wparam = UIPacket::kChangeTarget*
kMessage_0x10000021, // 0x10000021
kMessage_0x10000022, // 0x10000022
kMessage_0x10000023, // 0x10000023
kAgentSkillActivated, // 0x10000024, kAgentSkillPacket
kAgentSkillActivatedInstantly, // 0x10000025, kAgentSkillPacket
kAgentSkillCancelled, // 0x10000026, kAgentSkillPacket
kAgentSkillStartedCast, // 0x10000027, wparam = UIPacket::kAgentStartCasting*
kAgentSkillCancelled, // 0x10000023, wparam = kAgentSkillPacket; "<agent> canceled <skill>"
kAgentSkillActivated, // 0x10000024, wparam = kAgentSkillPacket; "<agent> executed <skill>"
kAgentSkillActivatedInstantly, // 0x10000025, wparam = kAgentSkillPacket; "<agent> used <skill>"
kAgentSkillInterrupted, // 0x10000026, wparam = kAgentSkillPacket; "<agent> was interrupted while using <skill>"
kAgentSkillStartedCast, // 0x10000027, wparam = UIPacket::kAgentSkillStartedCast*; "<agent> is warming up <skill>"
kMessage_0x10000028, // 0x10000028
kShowMapEntryMessage, // 0x10000029, wparam = { wchar_t* title, wchar_t* subtitle }
kSetCurrentPlayerData, // 0x1000002a, fired after setting the worldcontext player name
@@ -15740,10 +15740,10 @@ namespace Daybreak.API.Interop.GuildWars
kChangeTarget,
kMessage_0x10000021,
kMessage_0x10000022,
kMessage_0x10000023,
kAgentSkillCancelled,
kAgentSkillActivated,
kAgentSkillActivatedInstantly,
kAgentSkillCancelled,
kAgentSkillInterrupted,
kAgentSkillStartedCast,
kMessage_0x10000028,
kShowMapEntryMessage,
@@ -19702,7 +19702,7 @@ namespace Daybreak.API.Interop.GuildWars
public uint AgentId;
public global::Daybreak.API.Interop.GWCA.GW.Constants.SkillID SkillId;
public float Duration;
public uint H000c;
public float H000c;
}
[global::System.Runtime.InteropServices.StructLayout(global::System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 1)]
@@ -415,7 +415,8 @@ public sealed class CharacterSelectService(
}
var availableCharsContext = this.gameContextService.GetAvailableChars();
if (availableCharsContext.IsNull)
if (!availableCharsContext.IsValid ||
!availableCharsContext.Pointer->IsValid)
{
scopedLogger.LogError("Available characters context is not initialized");
return default;
+1 -1
View File
@@ -234,7 +234,7 @@ namespace GW {
constexpr float Earshot = 1012.0f;
constexpr float Spellcast = 1248.0f;
constexpr float Spirit = 2512.0f;
constexpr float SpiritExtended = 3500.0f;
constexpr float SpiritExtended = 3000.0f;
constexpr float Compass = 5000.0f;
};
+11 -11
View File
@@ -166,11 +166,11 @@ namespace GW {
kChangeTarget, // 0x10000020, wparam = UIPacket::kChangeTarget*
kMessage_0x10000021, // 0x10000021
kMessage_0x10000022, // 0x10000022
kMessage_0x10000023, // 0x10000023
kAgentSkillActivated, // 0x10000024, kAgentSkillPacket
kAgentSkillActivatedInstantly, // 0x10000025, kAgentSkillPacket
kAgentSkillCancelled, // 0x10000026, kAgentSkillPacket
kAgentSkillStartedCast, // 0x10000027, wparam = UIPacket::kAgentStartCasting*
kAgentSkillCancelled, // 0x10000023, wparam = kAgentSkillPacket; "<agent> canceled <skill>"
kAgentSkillActivated, // 0x10000024, wparam = kAgentSkillPacket; "<agent> executed <skill>"
kAgentSkillActivatedInstantly, // 0x10000025, wparam = kAgentSkillPacket; "<agent> used <skill>"
kAgentSkillInterrupted, // 0x10000026, wparam = kAgentSkillPacket; "<agent> was interrupted while using <skill>"
kAgentSkillStartedCast, // 0x10000027, wparam = UIPacket::kAgentSkillStartedCast*; "<agent> is warming up <skill>"
kMessage_0x10000028, // 0x10000028
kShowMapEntryMessage, // 0x10000029, wparam = { wchar_t* title, wchar_t* subtitle }
kSetCurrentPlayerData, // 0x1000002a, fired after setting the worldcontext player name
@@ -674,6 +674,12 @@ namespace GW {
uint32_t agent_id;
GW::Constants::SkillID skill_id;
};
struct kAgentSkillStartedCast {
uint32_t agent_id;
GW::Constants::SkillID skill_id;
float duration;
float h000c;
};
struct kLoadMapContext {
const wchar_t* file_name;
Constants::MapID map_id;
@@ -811,12 +817,6 @@ namespace GW {
uint32_t h0008;
uint32_t h000c;
};
struct kAgentSkillStartedCast {
uint32_t agent_id;
Constants::SkillID skill_id;
float duration;
uint32_t h000c;
};
struct kPreStartSalvage {
uint32_t item_id;
uint32_t kit_id;
+11 -11
View File
@@ -166,11 +166,11 @@ namespace GW {
kChangeTarget, // 0x10000020, wparam = UIPacket::kChangeTarget*
kMessage_0x10000021, // 0x10000021
kMessage_0x10000022, // 0x10000022
kMessage_0x10000023, // 0x10000023
kAgentSkillActivated, // 0x10000024, kAgentSkillPacket
kAgentSkillActivatedInstantly, // 0x10000025, kAgentSkillPacket
kAgentSkillCancelled, // 0x10000026, kAgentSkillPacket
kAgentSkillStartedCast, // 0x10000027, wparam = UIPacket::kAgentStartCasting*
kAgentSkillCancelled, // 0x10000023, wparam = kAgentSkillPacket; "<agent> canceled <skill>"
kAgentSkillActivated, // 0x10000024, wparam = kAgentSkillPacket; "<agent> executed <skill>"
kAgentSkillActivatedInstantly, // 0x10000025, wparam = kAgentSkillPacket; "<agent> used <skill>"
kAgentSkillInterrupted, // 0x10000026, wparam = kAgentSkillPacket; "<agent> was interrupted while using <skill>"
kAgentSkillStartedCast, // 0x10000027, wparam = UIPacket::kAgentSkillStartedCast*; "<agent> is warming up <skill>"
kMessage_0x10000028, // 0x10000028
kShowMapEntryMessage, // 0x10000029, wparam = { wchar_t* title, wchar_t* subtitle }
kSetCurrentPlayerData, // 0x1000002a, fired after setting the worldcontext player name
@@ -674,6 +674,12 @@ namespace GW {
uint32_t agent_id;
GW::Constants::SkillID skill_id;
};
struct kAgentSkillStartedCast {
uint32_t agent_id;
GW::Constants::SkillID skill_id;
float duration;
float h000c;
};
struct kLoadMapContext {
const wchar_t* file_name;
Constants::MapID map_id;
@@ -811,12 +817,6 @@ namespace GW {
uint32_t h0008;
uint32_t h000c;
};
struct kAgentSkillStartedCast {
uint32_t agent_id;
Constants::SkillID skill_id;
float duration;
uint32_t h000c;
};
struct kPreStartSalvage {
uint32_t item_id;
uint32_t kit_id;
+2 -2
View File
@@ -2,9 +2,9 @@
#define GWCA_VERSION_MAJOR 4
#define GWCA_VERSION_MINOR 8
#define GWCA_VERSION_PATCH 5
#define GWCA_VERSION_PATCH 7
#define GWCA_VERSION_BUILD 0
#define GWCA_VERSION "4.8.5.0"
#define GWCA_VERSION "4.8.7.0"
namespace GWCA {
constexpr int VersionMajor = GWCA_VERSION_MAJOR;
+1 -1
View File
@@ -5,7 +5,7 @@
#include <GWCA/Utilities/Export.h>
// Guards against headers and binary being from different releases -- struct offsets shift and nothing else catches it.
#define GWCA_ABI_VERSION 0x04080500u
#define GWCA_ABI_VERSION 0x04080700u
extern "C" {
// The version the binary was built at, against GWCA_ABI_VERSION which is what the caller compiled against.
BIN
View File
Binary file not shown.
+1 -1
View File
@@ -2,7 +2,7 @@
<PropertyGroup>
<NoWarn>$(NoWarn);IL2104;IL3053;IL3000;IL3002;NU1701;CS0108</NoWarn>
<Version>0.9.10.20</Version>
<Version>0.9.10.21</Version>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>