mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-29 03:49:19 +01:00
feat: add draw distance to actor view
This commit is contained in:
parent
a58de19abc
commit
0800cc4e91
3 changed files with 21 additions and 4 deletions
|
|
@ -20,9 +20,9 @@ namespace Dalamud.Game.ClientState.Structs
|
|||
[FieldOffset(140)] public ObjectKind ObjectKind;
|
||||
[FieldOffset(141)] public byte SubKind;
|
||||
[FieldOffset(142)] public bool IsFriendly;
|
||||
[FieldOffset(144)] public byte YalmDistanceFromPlayer1; // Demo says one of these is x distance
|
||||
[FieldOffset(144)] public byte YalmDistanceFromPlayerX; // Demo says one of these is x distance
|
||||
[FieldOffset(145)] public byte PlayerTargetStatus; // This is some kind of enum
|
||||
[FieldOffset(146)] public byte YalmDistanceFromPlayer2; // and the other is z distance
|
||||
[FieldOffset(146)] public byte YalmDistanceFromPlayerY; // and the other is z distance
|
||||
[FieldOffset(160)] public Position3 Position;
|
||||
[FieldOffset(0x17F8)] public int TargetActorId;
|
||||
// This field can't be correctly aligned, so we have to cut it manually.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue