mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-12 18:27:23 +01:00
feat(Character): add OnlineStatus excel resolver
This commit is contained in:
parent
7a0f514bc9
commit
41a62d7cd1
1 changed files with 7 additions and 1 deletions
|
|
@ -4,6 +4,7 @@ using Dalamud.Game.ClientState.Objects.Enums;
|
|||
using Dalamud.Game.ClientState.Resolvers;
|
||||
using Dalamud.Game.Text.SeStringHandling;
|
||||
using Dalamud.Memory;
|
||||
using Lumina.Excel.GeneratedSheets;
|
||||
|
||||
namespace Dalamud.Game.ClientState.Objects.Types
|
||||
{
|
||||
|
|
@ -65,7 +66,7 @@ namespace Dalamud.Game.ClientState.Objects.Types
|
|||
/// <summary>
|
||||
/// Gets the ClassJob of this Chara.
|
||||
/// </summary>
|
||||
public ExcelResolver<Lumina.Excel.GeneratedSheets.ClassJob> ClassJob => new(this.Struct->ClassJob);
|
||||
public ExcelResolver<ClassJob> ClassJob => new(this.Struct->ClassJob);
|
||||
|
||||
/// <summary>
|
||||
/// Gets the level of this Chara.
|
||||
|
|
@ -93,6 +94,11 @@ namespace Dalamud.Game.ClientState.Objects.Types
|
|||
/// </summary>
|
||||
public uint NameId => this.Struct->NameID;
|
||||
|
||||
/// <summary>
|
||||
/// Gets the current online status of the character.
|
||||
/// </summary>
|
||||
public ExcelResolver<OnlineStatus> OnlineStatus => new(this.Struct->Icon);
|
||||
|
||||
/// <summary>
|
||||
/// Gets the status flags.
|
||||
/// </summary>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue