mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-15 05:04:15 +01:00
Add IsDead boolean property to Dalamud.Game.ClientState.Objects.Types.Character
This commit is contained in:
parent
a49e9eb5c5
commit
0264b1b7d7
1 changed files with 5 additions and 0 deletions
|
|
@ -99,6 +99,11 @@ public unsafe class Character : GameObject
|
|||
/// </summary>
|
||||
public ExcelResolver<OnlineStatus> OnlineStatus => new(this.Struct->OnlineStatus);
|
||||
|
||||
/// <summary>
|
||||
/// Gets a value indicating whether the character is dead or alive.
|
||||
/// </summary>
|
||||
public bool IsDead => this.Struct->EventState == 2;
|
||||
|
||||
/// <summary>
|
||||
/// Gets the status flags.
|
||||
/// </summary>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue