mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-12 18:27:23 +01:00
IChatGui Add Readonly RegisteredLinkHandlers (#1487)
This commit is contained in:
parent
822e26ef93
commit
0f349bb3dd
2 changed files with 14 additions and 1 deletions
|
|
@ -79,6 +79,9 @@ internal sealed class ChatGui : IDisposable, IServiceType, IChatGui
|
||||||
/// <inheritdoc/>
|
/// <inheritdoc/>
|
||||||
public byte LastLinkedItemFlags { get; private set; }
|
public byte LastLinkedItemFlags { get; private set; }
|
||||||
|
|
||||||
|
/// <inheritdoc/>
|
||||||
|
public IReadOnlyDictionary<(string PluginName, uint CommandId), Action<uint, SeString>> RegisteredLinkHandlers => this.dalamudLinkHandlers;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Dispose of managed and unmanaged resources.
|
/// Dispose of managed and unmanaged resources.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|
@ -453,6 +456,9 @@ internal class ChatGuiPluginScoped : IDisposable, IServiceType, IChatGui
|
||||||
/// <inheritdoc/>
|
/// <inheritdoc/>
|
||||||
public byte LastLinkedItemFlags => this.chatGuiService.LastLinkedItemFlags;
|
public byte LastLinkedItemFlags => this.chatGuiService.LastLinkedItemFlags;
|
||||||
|
|
||||||
|
/// <inheritdoc/>
|
||||||
|
public IReadOnlyDictionary<(string PluginName, uint CommandId), Action<uint, SeString>> RegisteredLinkHandlers => this.chatGuiService.RegisteredLinkHandlers;
|
||||||
|
|
||||||
/// <inheritdoc/>
|
/// <inheritdoc/>
|
||||||
public void Dispose()
|
public void Dispose()
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,6 @@
|
||||||
using Dalamud.Game.Gui;
|
using System.Collections.Generic;
|
||||||
|
|
||||||
|
using Dalamud.Game.Gui;
|
||||||
using Dalamud.Game.Text;
|
using Dalamud.Game.Text;
|
||||||
using Dalamud.Game.Text.SeStringHandling;
|
using Dalamud.Game.Text.SeStringHandling;
|
||||||
|
|
||||||
|
|
@ -76,6 +78,11 @@ public interface IChatGui
|
||||||
/// Gets the flags of the last linked item.
|
/// Gets the flags of the last linked item.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public byte LastLinkedItemFlags { get; }
|
public byte LastLinkedItemFlags { get; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Gets the dictionary of Dalamud Link Handlers.
|
||||||
|
/// </summary>
|
||||||
|
public IReadOnlyDictionary<(string PluginName, uint CommandId), Action<uint, SeString>> RegisteredLinkHandlers { get; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Queue a chat message. Dalamud will send queued messages on the next framework event.
|
/// Queue a chat message. Dalamud will send queued messages on the next framework event.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue