From 48968322c450164467bf610006d912bfe1506970 Mon Sep 17 00:00:00 2001 From: Haselnussbomber Date: Sun, 6 Apr 2025 23:30:45 +0200 Subject: [PATCH] Update ConditionFlag enum (#2234) --- .../ClientState/Conditions/ConditionFlag.cs | 26 ++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/Dalamud/Game/ClientState/Conditions/ConditionFlag.cs b/Dalamud/Game/ClientState/Conditions/ConditionFlag.cs index 5b7bd2145..b83d48bd6 100644 --- a/Dalamud/Game/ClientState/Conditions/ConditionFlag.cs +++ b/Dalamud/Game/ClientState/Conditions/ConditionFlag.cs @@ -5,6 +5,8 @@ namespace Dalamud.Game.ClientState.Conditions; /// /// These come from LogMessage (somewhere) and directly map to each state field managed by the client. As of 5.25, it maps to /// LogMessage row 7700 and onwards, which can be checked by looking at the Condition sheet and looking at what column 2 maps to. +/// +/// The first 24 conditions are the local players CharacterModes. /// public enum ConditionFlag { @@ -220,8 +222,14 @@ public enum ConditionFlag /// /// Unable to execute command while auto-run is active. /// + [Obsolete("To avoid confusion, renamed to UsingChocoboTaxi.")] AutorunActive = 49, + /// + /// Unable to execute command while auto-run is active. + /// + UsingChocoboTaxi = 49, + /// /// Unable to execute command while occupied. /// @@ -261,8 +269,14 @@ public enum ConditionFlag /// /// Unable to execute command at this time. /// + [Obsolete("Renamed to MountOrOrnamentTransition.")] Unknown57 = 57, + /// + /// Unable to execute command at this time. + /// + MountOrOrnamentTransition = 57, + /// /// Unable to execute command while watching a cutscene. /// @@ -430,7 +444,7 @@ public enum ConditionFlag /// [Obsolete("Use InDutyQueue")] BoundToDuty97 = 91, - + /// /// Unable to execute command while bound by duty. /// Specifically triggered when you are in a queue for a duty but not inside a duty. @@ -450,8 +464,14 @@ public enum ConditionFlag /// /// Unable to execute command while using a parasol. /// + [Obsolete("Renamed to UsingFashionAccessory.")] UsingParasol = 94, + /// + /// Unable to execute command while using a fashion accessory. + /// + UsingFashionAccessory = 94, + /// /// Unable to execute command while bound by duty. /// @@ -481,4 +501,8 @@ public enum ConditionFlag /// Unable to execute command while editing a portrait. /// EditingPortrait = 100, + + // Unknown101 = 101, + // Unknown102 = 102, + // Unknown103 = 103, }