mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-13 12:14:16 +01:00
More descriptive event again
This commit is contained in:
parent
fecaa5d504
commit
efb01aa70b
1 changed files with 3 additions and 3 deletions
|
|
@ -54,7 +54,7 @@ namespace Dalamud.Game.Gui.FlyText
|
||||||
/// <param name="yOffset">The vertical offset to place the flytext at. 0 is default. Negative values result
|
/// <param name="yOffset">The vertical offset to place the flytext at. 0 is default. Negative values result
|
||||||
/// in text appearing higher on the screen. This does not change where the element begins to fade.</param>
|
/// in text appearing higher on the screen. This does not change where the element begins to fade.</param>
|
||||||
/// <param name="handled">Whether this flytext has been handled. If a subscriber sets this to true, the FlyText will not appear.</param>
|
/// <param name="handled">Whether this flytext has been handled. If a subscriber sets this to true, the FlyText will not appear.</param>
|
||||||
public delegate void OnFlyTextDelegate(
|
public delegate void OnFlyTextCreatedDelegate(
|
||||||
ref FlyTextKind kind,
|
ref FlyTextKind kind,
|
||||||
ref int val1,
|
ref int val1,
|
||||||
ref int val2,
|
ref int val2,
|
||||||
|
|
@ -97,7 +97,7 @@ namespace Dalamud.Game.Gui.FlyText
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// The FlyText event that can be subscribed to.
|
/// The FlyText event that can be subscribed to.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public event OnFlyTextDelegate? FlyText;
|
public event OnFlyTextCreatedDelegate? FlyTextCreated;
|
||||||
|
|
||||||
private Dalamud Dalamud { get; }
|
private Dalamud Dalamud { get; }
|
||||||
|
|
||||||
|
|
@ -219,7 +219,7 @@ namespace Dalamud.Game.Gui.FlyText
|
||||||
$"text1({text1.ToInt64():X}, \"{tmpText1}\") text2({text2.ToInt64():X}, \"{tmpText2}\") " +
|
$"text1({text1.ToInt64():X}, \"{tmpText1}\") text2({text2.ToInt64():X}, \"{tmpText2}\") " +
|
||||||
$"color({color:X}) icon({icon}) yOffset({yOffset})");
|
$"color({color:X}) icon({icon}) yOffset({yOffset})");
|
||||||
Log.Verbose("[FlyText] Calling flytext events!");
|
Log.Verbose("[FlyText] Calling flytext events!");
|
||||||
this.FlyText?.Invoke(
|
this.FlyTextCreated?.Invoke(
|
||||||
ref tmpKind,
|
ref tmpKind,
|
||||||
ref tmpVal1,
|
ref tmpVal1,
|
||||||
ref tmpVal2,
|
ref tmpVal2,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue