mirror of
https://github.com/gwdevhub/Daybreak.git
synced 2026-07-24 12:06:34 +00:00
25 lines
603 B
C#
25 lines
603 B
C#
using System.Extensions;
|
|
using System.Runtime.InteropServices;
|
|
|
|
namespace Daybreak.API.Interop.GuildWars;
|
|
|
|
[StructLayout(LayoutKind.Explicit, Pack = 1)]
|
|
public readonly struct PreGameContext
|
|
{
|
|
[FieldOffset(0x0000)]
|
|
public readonly uint FrameId;
|
|
|
|
[FieldOffset(0x0124)]
|
|
public readonly uint ChosenCharacterIndex;
|
|
|
|
[FieldOffset(0x0148)]
|
|
public readonly GuildWarsArray<LoginCharacterContext> LoginCharacters;
|
|
}
|
|
|
|
[StructLayout(LayoutKind.Explicit, Pack = 1)]
|
|
public readonly struct LoginCharacterContext
|
|
{
|
|
[FieldOffset(0x0004)]
|
|
public readonly Array20Char CharacterName;
|
|
}
|