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>
49 lines
1.0 KiB
C#
49 lines
1.0 KiB
C#
using System.Runtime.InteropServices;
|
|
|
|
namespace Daybreak.API.Interop.GuildWars;
|
|
|
|
[Flags]
|
|
public enum PlayerContextFlags : uint
|
|
{
|
|
None = 0,
|
|
PvP = 0x800
|
|
}
|
|
|
|
[StructLayout(LayoutKind.Explicit, Pack = 1, Size = 0x50)]
|
|
[GWCAEquivalent("PlayerContext")]
|
|
public readonly unsafe struct PlayerContext
|
|
{
|
|
[FieldOffset(0x0000)]
|
|
public readonly int AgentId;
|
|
|
|
[FieldOffset(0x0014)]
|
|
public readonly PlayerContextFlags Flags;
|
|
|
|
[FieldOffset(0x0018)]
|
|
public readonly uint PrimaryProfession;
|
|
|
|
[FieldOffset(0x001C)]
|
|
public readonly uint SecondaryProfession;
|
|
|
|
[FieldOffset(0x0024)]
|
|
public readonly char* NameEncoded;
|
|
|
|
[FieldOffset(0x0028)]
|
|
public readonly char* Name;
|
|
|
|
[FieldOffset(0x002C)]
|
|
public readonly uint PartyLeaderPlayerNumber;
|
|
|
|
[FieldOffset(0x0030)]
|
|
public readonly uint ActiveTitleTier;
|
|
|
|
[FieldOffset(0x0034)]
|
|
public readonly uint ReforgedOrDhuumsFlags;
|
|
|
|
[FieldOffset(0x0038)]
|
|
public readonly uint PlayerNumber;
|
|
|
|
[FieldOffset(0x003C)]
|
|
public readonly uint PartySize;
|
|
}
|