From 29debac9e1da99e8559c057b858c65186fe69d60 Mon Sep 17 00:00:00 2001
From: MidoriKami <9083275+MidoriKami@users.noreply.github.com>
Date: Sun, 30 Jul 2023 18:26:50 -0700
Subject: [PATCH] Character.cs Obsoletes
---
.../ClientState/Objects/Types/Character.cs | 22 +++++++++----------
1 file changed, 11 insertions(+), 11 deletions(-)
diff --git a/Dalamud/Game/ClientState/Objects/Types/Character.cs b/Dalamud/Game/ClientState/Objects/Types/Character.cs
index cdd1515b0..ee8418362 100644
--- a/Dalamud/Game/ClientState/Objects/Types/Character.cs
+++ b/Dalamud/Game/ClientState/Objects/Types/Character.cs
@@ -26,52 +26,52 @@ public unsafe class Character : GameObject
///
/// Gets the current HP of this Chara.
///
- public uint CurrentHp => this.Struct->Health;
+ public uint CurrentHp => this.Struct->CharacterData.Health;
///
/// Gets the maximum HP of this Chara.
///
- public uint MaxHp => this.Struct->MaxHealth;
+ public uint MaxHp => this.Struct->CharacterData.MaxHealth;
///
/// Gets the current MP of this Chara.
///
- public uint CurrentMp => this.Struct->Mana;
+ public uint CurrentMp => this.Struct->CharacterData.Mana;
///
/// Gets the maximum MP of this Chara.
///
- public uint MaxMp => this.Struct->MaxMana;
+ public uint MaxMp => this.Struct->CharacterData.MaxMana;
///
/// Gets the current GP of this Chara.
///
- public uint CurrentGp => this.Struct->GatheringPoints;
+ public uint CurrentGp => this.Struct->CharacterData.GatheringPoints;
///
/// Gets the maximum GP of this Chara.
///
- public uint MaxGp => this.Struct->MaxGatheringPoints;
+ public uint MaxGp => this.Struct->CharacterData.MaxGatheringPoints;
///
/// Gets the current CP of this Chara.
///
- public uint CurrentCp => this.Struct->CraftingPoints;
+ public uint CurrentCp => this.Struct->CharacterData.CraftingPoints;
///
/// Gets the maximum CP of this Chara.
///
- public uint MaxCp => this.Struct->MaxCraftingPoints;
+ public uint MaxCp => this.Struct->CharacterData.MaxCraftingPoints;
///
/// Gets the ClassJob of this Chara.
///
- public ExcelResolver ClassJob => new(this.Struct->ClassJob);
+ public ExcelResolver ClassJob => new(this.Struct->CharacterData.ClassJob);
///
/// Gets the level of this Chara.
///
- public byte Level => this.Struct->Level;
+ public byte Level => this.Struct->CharacterData.Level;
///
/// Gets a byte array describing the visual appearance of this Chara.
@@ -97,7 +97,7 @@ public unsafe class Character : GameObject
///
/// Gets the current online status of the character.
///
- public ExcelResolver OnlineStatus => new(this.Struct->OnlineStatus);
+ public ExcelResolver OnlineStatus => new(this.Struct->CharacterData.OnlineStatus);
///
/// Gets the status flags.