refactor: rename fly text kind members

This commit is contained in:
Aireil 2023-09-18 03:55:43 +02:00 committed by GitHub
parent 3a0eaaa583
commit 4989e2b69b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,57 +1,58 @@
namespace Dalamud.Game.Gui.FlyText; namespace Dalamud.Game.Gui.FlyText;
/// <summary> /// <summary>
/// Enum of FlyTextKind values. Members suffixed with /// Enum of FlyTextKind values.
/// a number seem to be a duplicate, or perform duplicate behavior.
/// </summary> /// </summary>
public enum FlyTextKind : int public enum FlyTextKind : int
{ {
/// <summary> /// <summary>
/// Val1 in serif font, Text2 in sans-serif as subtitle. /// Val1 in serif font, Text2 in sans-serif as subtitle.
/// Used for autos and incoming DoTs.
/// </summary> /// </summary>
AutoAttack = 0, AutoAttackOrDot = 0,
/// <summary> /// <summary>
/// Val1 in serif font, Text2 in sans-serif as subtitle. /// Val1 in serif font, Text2 in sans-serif as subtitle.
/// Does a bounce effect on appearance. /// Does a bounce effect on appearance.
/// </summary> /// </summary>
DirectHit = 1, AutoAttackOrDotDh = 1,
/// <summary> /// <summary>
/// Val1 in larger serif font with exclamation, with Text2 in sans-serif as subtitle. /// Val1 in larger serif font with exclamation, with Text2 in sans-serif as subtitle.
/// Does a bigger bounce effect on appearance. /// Does a bigger bounce effect on appearance.
/// </summary> /// </summary>
CriticalHit = 2, AutoAttackOrDotCrit = 2,
/// <summary> /// <summary>
/// Val1 in even larger serif font with 2 exclamations, Text2 in /// Val1 in even larger serif font with 2 exclamations, Text2 in sans-serif as subtitle.
/// sans-serif as subtitle. Does a large bounce effect on appearance. /// Does a large bounce effect on appearance. Does not scroll up or down the screen.
/// Does not scroll up or down the screen.
/// </summary> /// </summary>
CriticalDirectHit = 3, AutoAttackOrDotCritDh = 3,
/// <summary> /// <summary>
/// AutoAttack with sans-serif Text1 to the left of the Val1. /// Val1 in serif font, Text2 in sans-serif as subtitle with sans-serif Text1 to the left of the Val1.
/// </summary> /// </summary>
NamedAttack = 4, Damage = 4,
/// <summary> /// <summary>
/// DirectHit with sans-serif Text1 to the left of the Val1. /// Val1 in serif font, Text2 in sans-serif as subtitle with sans-serif Text1 to the left of the Val1.
/// Does a bounce effect on appearance.
/// </summary> /// </summary>
NamedDirectHit = 5, DamageDh = 5,
/// <summary> /// <summary>
/// CriticalHit with sans-serif Text1 to the left of the Val1. /// Val1 in larger serif font with exclamation, with Text2 in sans-serif as subtitle with sans-serif Text1 to the left of the Val1.
/// Does a bigger bounce effect on appearance.
/// </summary> /// </summary>
NamedCriticalHit = 6, DamageCrit = 6,
/// <summary> /// <summary>
/// CriticalDirectHit with sans-serif Text1 to the left of the Val1. /// Val1 in even larger serif font with 2 exclamations, Text2 in sans-serif as subtitle with sans-serif Text1 to the left of the Val1.
/// Does a large bounce effect on appearance. Does not scroll up or down the screen.
/// </summary> /// </summary>
NamedCriticalDirectHit = 7, DamageCritDh = 7,
/// <summary> /// <summary>
/// The text changes to DODGE under certain circumstances.
/// All caps, serif MISS. /// All caps, serif MISS.
/// </summary> /// </summary>
Miss = 8, Miss = 8,
@ -74,12 +75,12 @@ public enum FlyTextKind : int
/// <summary> /// <summary>
/// Icon next to sans-serif Text1. /// Icon next to sans-serif Text1.
/// </summary> /// </summary>
NamedIcon = 12, Buff = 12,
/// <summary> /// <summary>
/// Icon next to sans-serif Text1 (2). /// Icon next to sans-serif Text1.
/// </summary> /// </summary>
NamedIcon2 = 13, Debuff = 13,
/// <summary> /// <summary>
/// Serif Val1 with all caps condensed font EXP with Text2 in sans-serif as subtitle. /// Serif Val1 with all caps condensed font EXP with Text2 in sans-serif as subtitle.
@ -94,42 +95,44 @@ public enum FlyTextKind : int
/// <summary> /// <summary>
/// Sans-serif Text1 next to serif Val1 with all caps condensed font MP with Text2 in sans-serif as subtitle. /// Sans-serif Text1 next to serif Val1 with all caps condensed font MP with Text2 in sans-serif as subtitle.
/// </summary> /// </summary>
NamedMp = 16, MpDrain = 16,
/// <summary> /// <summary>
/// Currently not used by the game.
/// Sans-serif Text1 next to serif Val1 with all caps condensed font TP with Text2 in sans-serif as subtitle. /// Sans-serif Text1 next to serif Val1 with all caps condensed font TP with Text2 in sans-serif as subtitle.
/// </summary> /// </summary>
NamedTp = 17, NamedTp = 17,
/// <summary> /// <summary>
/// AutoAttack with sans-serif Text1 to the left of the Val1 (2). /// Val1 in serif font, Text2 in sans-serif as subtitle with sans-serif Text1 to the left of the Val1.
/// </summary> /// </summary>
NamedAttack2 = 18, Healing = 18,
/// <summary> /// <summary>
/// Sans-serif Text1 next to serif Val1 with all caps condensed font MP with Text2 in sans-serif as subtitle (2). /// Sans-serif Text1 next to serif Val1 with all caps condensed font MP with Text2 in sans-serif as subtitle.
/// </summary> /// </summary>
NamedMp2 = 19, MpRegen = 19,
/// <summary> /// <summary>
/// Sans-serif Text1 next to serif Val1 with all caps condensed font TP with Text2 in sans-serif as subtitle (2). /// Currently not used by the game.
/// Sans-serif Text1 next to serif Val1 with all caps condensed font TP with Text2 in sans-serif as subtitle.
/// </summary> /// </summary>
NamedTp2 = 20, NamedTp2 = 20,
/// <summary> /// <summary>
/// Sans-serif Text1 next to serif Val1 with all caps condensed font EP with Text2 in sans-serif as subtitle. /// Sans-serif Text1 next to serif Val1 with all caps condensed font EP with Text2 in sans-serif as subtitle.
/// </summary> /// </summary>
NamedEp = 21, EpRegen = 21,
/// <summary> /// <summary>
/// Sans-serif Text1 next to serif Val1 with all caps condensed font CP with Text2 in sans-serif as subtitle. /// Sans-serif Text1 next to serif Val1 with all caps condensed font CP with Text2 in sans-serif as subtitle.
/// </summary> /// </summary>
NamedCp = 22, CpRegen = 22,
/// <summary> /// <summary>
/// Sans-serif Text1 next to serif Val1 with all caps condensed font GP with Text2 in sans-serif as subtitle. /// Sans-serif Text1 next to serif Val1 with all caps condensed font GP with Text2 in sans-serif as subtitle.
/// </summary> /// </summary>
NamedGp = 23, GpRegen = 23,
/// <summary> /// <summary>
/// Displays nothing. /// Displays nothing.
@ -149,57 +152,59 @@ public enum FlyTextKind : int
Interrupted = 26, Interrupted = 26,
/// <summary> /// <summary>
/// AutoAttack with no Text2. /// Val1 in serif font.
/// </summary> /// </summary>
AutoAttackNoText = 27, CraftingProgress = 27,
/// <summary> /// <summary>
/// AutoAttack with no Text2 (2). /// Val1 in serif font.
/// </summary> /// </summary>
AutoAttackNoText2 = 28, CraftingQuality = 28,
/// <summary> /// <summary>
/// Val1 in larger serif font with exclamation, with Text2 in sans-serif as subtitle. Does a bigger bounce effect on appearance (2). /// Val1 in larger serif font with exclamation, with Text2 in sans-serif as subtitle. Does a bigger bounce effect on appearance.
/// </summary> /// </summary>
CriticalHit2 = 29, CraftingQualityCrit = 29,
/// <summary> /// <summary>
/// AutoAttack with no Text2 (3). /// Currently not used by the game.
/// Val1 in serif font.
/// </summary> /// </summary>
AutoAttackNoText3 = 30, AutoAttackNoText3 = 30,
/// <summary> /// <summary>
/// CriticalHit with sans-serif Text1 to the left of the Val1 (2). /// CriticalHit with sans-serif Text1 to the left of the Val1 (2).
/// </summary> /// </summary>
NamedCriticalHit2 = 31, HealingCrit = 31,
/// <summary> /// <summary>
/// Same as NamedCriticalHit with a green (cannot change) MP in condensed font to the right of Val1. /// Currently not used by the game.
/// Same as DamageCrit with a MP in condensed font to the right of Val1.
/// Does a jiggle effect to the right on appearance. /// Does a jiggle effect to the right on appearance.
/// </summary> /// </summary>
NamedCriticalHitWithMp = 32, NamedCriticalHitWithMp = 32,
/// <summary> /// <summary>
/// Same as NamedCriticalHit with a yellow (cannot change) TP in condensed font to the right of Val1. /// Currently not used by the game.
/// Same as DamageCrit with a TP in condensed font to the right of Val1.
/// Does a jiggle effect to the right on appearance. /// Does a jiggle effect to the right on appearance.
/// </summary> /// </summary>
NamedCriticalHitWithTp = 33, NamedCriticalHitWithTp = 33,
/// <summary> /// <summary>
/// Same as NamedIcon with sans-serif "has no effect!" to the right. /// Icon next to sans-serif Text1 with sans-serif "has no effect!" to the right.
/// </summary> /// </summary>
NamedIconHasNoEffect = 34, DebuffNoEffect = 34,
/// <summary> /// <summary>
/// Same as NamedIcon but Text1 is slightly faded. Used for buff expiration. /// Icon next to sans-serif slightly faded Text1.
/// </summary> /// </summary>
NamedIconFaded = 35, BuffFading = 35,
/// <summary> /// <summary>
/// Same as NamedIcon but Text1 is slightly faded (2). /// Icon next to sans-serif slightly faded Text1.
/// Used for buff expiration.
/// </summary> /// </summary>
NamedIconFaded2 = 36, DebuffFading = 36,
/// <summary> /// <summary>
/// Text1 in sans-serif font. /// Text1 in sans-serif font.
@ -207,9 +212,9 @@ public enum FlyTextKind : int
Named = 37, Named = 37,
/// <summary> /// <summary>
/// Same as NamedIcon with sans-serif "(fully resisted)" to the right. /// Icon next to sans-serif Text1 with sans-serif "(fully resisted)" to the right.
/// </summary> /// </summary>
NamedIconFullyResisted = 38, DebuffResisted = 38,
/// <summary> /// <summary>
/// All caps serif 'INCAPACITATED!'. /// All caps serif 'INCAPACITATED!'.
@ -219,32 +224,34 @@ public enum FlyTextKind : int
/// <summary> /// <summary>
/// Text1 with sans-serif "(fully resisted)" to the right. /// Text1 with sans-serif "(fully resisted)" to the right.
/// </summary> /// </summary>
NamedFullyResisted = 40, FullyResisted = 40,
/// <summary> /// <summary>
/// Text1 with sans-serif "has no effect!" to the right. /// Text1 with sans-serif "has no effect!" to the right.
/// </summary> /// </summary>
NamedHasNoEffect = 41, HasNoEffect = 41,
/// <summary> /// <summary>
/// AutoAttack with sans-serif Text1 to the left of the Val1 (3). /// Val1 in serif font, Text2 in sans-serif as subtitle with sans-serif Text1 to the left of the Val1.
/// </summary> /// </summary>
NamedAttack3 = 42, HpDrain = 42,
/// <summary> /// <summary>
/// Sans-serif Text1 next to serif Val1 with all caps condensed font MP with Text2 in sans-serif as subtitle (3). /// Currently not used by the game.
/// Sans-serif Text1 next to serif Val1 with all caps condensed font MP with Text2 in sans-serif as subtitle.
/// </summary> /// </summary>
NamedMp3 = 43, NamedMp3 = 43,
/// <summary> /// <summary>
/// Sans-serif Text1 next to serif Val1 with all caps condensed font TP with Text2 in sans-serif as subtitle (3). /// Currently not used by the game.
/// Sans-serif Text1 next to serif Val1 with all caps condensed font TP with Text2 in sans-serif as subtitle.
/// </summary> /// </summary>
NamedTp3 = 44, NamedTp3 = 44,
/// <summary> /// <summary>
/// Same as NamedIcon with serif "INVULNERABLE!" beneath the Text1. /// Icon next to sans-serif Text1 with serif "INVULNERABLE!" beneath the Text1.
/// </summary> /// </summary>
NamedIconInvulnerable = 45, DebuffInvulnerable = 45,
/// <summary> /// <summary>
/// All caps serif RESIST. /// All caps serif RESIST.
@ -252,20 +259,20 @@ public enum FlyTextKind : int
Resist = 46, Resist = 46,
/// <summary> /// <summary>
/// Same as NamedIcon but places the given icon in the item icon outline. /// Icon with an item icon outline next to sans-serif Text1.
/// </summary> /// </summary>
NamedIconWithItemOutline = 47, LootedItem = 47,
/// <summary> /// <summary>
/// AutoAttack with no Text2 (4). /// Val1 in serif font.
/// </summary> /// </summary>
AutoAttackNoText4 = 48, Collectability = 48,
/// <summary> /// <summary>
/// Val1 in larger serif font with exclamation, with Text2 in sans-serif as subtitle (3). /// Val1 in larger serif font with exclamation, with Text2 in sans-serif as subtitle.
/// Does a bigger bounce effect on appearance. /// Does a bigger bounce effect on appearance.
/// </summary> /// </summary>
CriticalHit3 = 49, CollectabilityCrit = 49,
/// <summary> /// <summary>
/// All caps serif REFLECT. /// All caps serif REFLECT.
@ -278,20 +285,21 @@ public enum FlyTextKind : int
Reflected = 51, Reflected = 51,
/// <summary> /// <summary>
/// Val1 in serif font, Text2 in sans-serif as subtitle (2). /// Val1 in serif font, Text2 in sans-serif as subtitle.
/// Does a bounce effect on appearance. /// Does a bounce effect on appearance.
/// </summary> /// </summary>
DirectHit2 = 52, CraftingQualityDh = 52,
/// <summary> /// <summary>
/// Val1 in larger serif font with exclamation, with Text2 in sans-serif as subtitle (4). /// Currently not used by the game.
/// Val1 in larger serif font with exclamation, with Text2 in sans-serif as subtitle.
/// Does a bigger bounce effect on appearance. /// Does a bigger bounce effect on appearance.
/// </summary> /// </summary>
CriticalHit4 = 53, CriticalHit4 = 53,
/// <summary> /// <summary>
/// Val1 in even larger serif font with 2 exclamations, Text2 in sans-serif as subtitle (2). /// Val1 in even larger serif font with 2 exclamations, Text2 in sans-serif as subtitle.
/// Does a large bounce effect on appearance. Does not scroll up or down the screen. /// Does a large bounce effect on appearance. Does not scroll up or down the screen.
/// </summary> /// </summary>
CriticalDirectHit2 = 54, CraftingQualityCritDh = 54,
} }