Update ConditionFlag enum (#2234)

This commit is contained in:
Haselnussbomber 2025-04-06 23:30:45 +02:00 committed by GitHub
parent 97b01d697b
commit 48968322c4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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.
/// </summary>
public enum ConditionFlag
{
@ -220,8 +222,14 @@ public enum ConditionFlag
/// <summary>
/// Unable to execute command while auto-run is active.
/// </summary>
[Obsolete("To avoid confusion, renamed to UsingChocoboTaxi.")]
AutorunActive = 49,
/// <summary>
/// Unable to execute command while auto-run is active.
/// </summary>
UsingChocoboTaxi = 49,
/// <summary>
/// Unable to execute command while occupied.
/// </summary>
@ -261,8 +269,14 @@ public enum ConditionFlag
/// <summary>
/// Unable to execute command at this time.
/// </summary>
[Obsolete("Renamed to MountOrOrnamentTransition.")]
Unknown57 = 57,
/// <summary>
/// Unable to execute command at this time.
/// </summary>
MountOrOrnamentTransition = 57,
/// <summary>
/// Unable to execute command while watching a cutscene.
/// </summary>
@ -430,7 +444,7 @@ public enum ConditionFlag
/// </summary>
[Obsolete("Use InDutyQueue")]
BoundToDuty97 = 91,
/// <summary>
/// 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
/// <summary>
/// Unable to execute command while using a parasol.
/// </summary>
[Obsolete("Renamed to UsingFashionAccessory.")]
UsingParasol = 94,
/// <summary>
/// Unable to execute command while using a fashion accessory.
/// </summary>
UsingFashionAccessory = 94,
/// <summary>
/// Unable to execute command while bound by duty.
/// </summary>
@ -481,4 +501,8 @@ public enum ConditionFlag
/// Unable to execute command while editing a portrait.
/// </summary>
EditingPortrait = 100,
// Unknown101 = 101,
// Unknown102 = 102,
// Unknown103 = 103,
}