mirror of
https://github.com/goatcorp/Dalamud.git
synced 2026-01-03 14:23:40 +01:00
Move property to GameObject and call the virtual function instead
This commit is contained in:
parent
0264b1b7d7
commit
de91215003
2 changed files with 5 additions and 5 deletions
|
|
@ -99,11 +99,6 @@ 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>
|
||||
|
|
|
|||
|
|
@ -134,6 +134,11 @@ public unsafe partial class GameObject
|
|||
/// </summary>
|
||||
public byte YalmDistanceZ => this.Struct->YalmDistanceFromPlayerZ;
|
||||
|
||||
/// <summary>
|
||||
/// Gets a value indicating whether the object is dead or alive.
|
||||
/// </summary>
|
||||
public bool IsDead => this.Struct->IsDead();
|
||||
|
||||
/// <summary>
|
||||
/// Gets the position of this <see cref="GameObject" />.
|
||||
/// </summary>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue