mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-13 12:14:16 +01:00
feat: add GameObject.ToString() override
This commit is contained in:
parent
0ba2a573d9
commit
4b676686ef
1 changed files with 3 additions and 0 deletions
|
|
@ -162,5 +162,8 @@ namespace Dalamud.Game.ClientState.Objects.Types
|
|||
/// Gets the underlying structure.
|
||||
/// </summary>
|
||||
private protected FFXIVClientStructs.FFXIV.Client.Game.Object.GameObject* Struct => (FFXIVClientStructs.FFXIV.Client.Game.Object.GameObject*)this.Address;
|
||||
|
||||
/// <inheritdoc/>
|
||||
public override string ToString() => $"{this.ObjectId:X}({this.Name.TextValue} - {this.ObjectKind.ToString()}) at {this.Address:X}";
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue