mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-30 04:13:40 +01:00
feat: CompanyTag field on PlayerCharacter
This commit is contained in:
parent
5f1ce6bfab
commit
b5b9e6d8e1
3 changed files with 16 additions and 3 deletions
|
|
@ -21,8 +21,12 @@ namespace Dalamud.Game.ClientState.Structs
|
|||
[FieldOffset(141)] public byte SubKind;
|
||||
[FieldOffset(142)] public bool IsFriendly;
|
||||
[FieldOffset(160)] public Position3 Position;
|
||||
[FieldOffset(6276)] public byte CurrentWorld;
|
||||
[FieldOffset(6278)] public byte HomeWorld;
|
||||
|
||||
// This field can't be correctly aligned, so we have to cut it manually.
|
||||
[FieldOffset(0x17d0)] [MarshalAs(UnmanagedType.ByValArray, SizeConst = 7)] public byte[] CompanyTag;
|
||||
|
||||
[FieldOffset(0x1884)] public byte CurrentWorld;
|
||||
[FieldOffset(0x1886)] public byte HomeWorld;
|
||||
[FieldOffset(6328)] public int CurrentHp;
|
||||
[FieldOffset(6332)] public int MaxHp;
|
||||
[FieldOffset(6336)] public int CurrentMp;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue