mirror of
https://github.com/gwdevhub/Daybreak.git
synced 2026-07-15 15:19:57 +00:00
ef513e1230
* Bump version to 0.9.10.1 * Bump Microsoft.Web.WebView2 from 1.0.3719.77 to 1.0.3800.47 (#1442) --- updated-dependencies: - dependency-name: Microsoft.Web.WebView2 dependency-version: 1.0.3800.47 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Improve mod view responsiveness (#1443) * Improve application launcher logging (Closes #1441) (#1444) * Damage modifier 0x248 (Closes #1438) (#1445) * Initial commit * Setup generator * Progress * Update generator * Initial commit * Setup generator * Progress * Update generator * Fix library loading * Move code to gwca * Fix leave party * Disable console on Release * Add more exports to gwca * Upgrade gwca * Fixes to character selector * Fix GetWindowHandle * Move character selector to frame based * Fix config spamming --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Alexandru Macocian <amacocian@microsoft.com>
63 lines
1.7 KiB
C#
63 lines
1.7 KiB
C#
using System.Runtime.InteropServices;
|
|
|
|
namespace Daybreak.API.Interop.GuildWars;
|
|
|
|
[StructLayout(LayoutKind.Sequential, Pack = 1)]
|
|
[GWCAEquivalent("SkillbarSkill")]
|
|
public readonly struct SkillContext
|
|
{
|
|
public readonly uint Adrenaline1;
|
|
public readonly uint Adrenaline2;
|
|
public readonly uint Recharge;
|
|
public readonly uint Id;
|
|
public readonly uint Event;
|
|
}
|
|
|
|
[StructLayout(LayoutKind.Sequential, Pack = 1, Size = 0xBC)]
|
|
[GWCAEquivalent("Skillbar")]
|
|
public readonly struct SkillbarContext
|
|
{
|
|
public readonly uint AgentId;
|
|
public readonly SkillContext Skill0;
|
|
public readonly SkillContext Skill1;
|
|
public readonly SkillContext Skill2;
|
|
public readonly SkillContext Skill3;
|
|
public readonly SkillContext Skill4;
|
|
public readonly SkillContext Skill5;
|
|
public readonly SkillContext Skill6;
|
|
public readonly SkillContext Skill7;
|
|
public readonly uint Disabled;
|
|
public readonly uint Casting;
|
|
}
|
|
|
|
[StructLayout(LayoutKind.Explicit, Pack = 1, Size = 0x10)]
|
|
[GWCAEquivalent("Buff")]
|
|
public readonly struct Buff
|
|
{
|
|
[FieldOffset(0x0000)]
|
|
public readonly uint SkillId;
|
|
[FieldOffset(0x0008)]
|
|
public readonly uint BuffId;
|
|
[FieldOffset(0x000C)]
|
|
public readonly uint TargetAgentId;
|
|
}
|
|
|
|
[StructLayout(LayoutKind.Sequential, Pack = 1, Size = 0x18)]
|
|
[GWCAEquivalent("Effect")]
|
|
public readonly struct Effect
|
|
{
|
|
public readonly uint SkillId;
|
|
public readonly uint AttributeLevel;
|
|
public readonly uint EffectId;
|
|
public readonly uint AgentId;
|
|
public readonly float Duration;
|
|
public readonly uint Timestamp;
|
|
}
|
|
|
|
[StructLayout(LayoutKind.Sequential, Pack = 1)]
|
|
public readonly struct DupeSkill
|
|
{
|
|
public readonly uint SkillId;
|
|
public readonly uint Count;
|
|
}
|