This commit is contained in:
HueByte
2026-02-19 21:50:22 +00:00
parent 3b79c0eb6d
commit 4c105b6c68
72 changed files with 15202 additions and 336 deletions
@@ -193,6 +193,80 @@ Class IrcBroadcaster <a class="header-action link-secondary" title="View source
</h2>
<a id="EchoHub_Server_Irc_IrcBroadcaster_ForceDisconnectUserAsync_" data-uid="EchoHub.Server.Irc.IrcBroadcaster.ForceDisconnectUserAsync*"></a>
<h3 id="EchoHub_Server_Irc_IrcBroadcaster_ForceDisconnectUserAsync_System_Collections_Generic_List_System_String__System_String_" data-uid="EchoHub.Server.Irc.IrcBroadcaster.ForceDisconnectUserAsync(System.Collections.Generic.List{System.String},System.String)">
ForceDisconnectUserAsync(List&lt;string&gt;, string)
<a class="header-action link-secondary" title="View source" href="https://github.com/HueByte/EchoHub/blob/master/src/EchoHub.Server.Irc/IrcBroadcaster.cs"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task ForceDisconnectUserAsync(List&lt;string&gt; connectionIds, string reason)</code></pre>
</div>
<h4 class="section">Parameters</h4>
<dl class="parameters">
<dt><code>connectionIds</code> <span class="xref">List</span>&lt;<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a>&gt;</dt>
<dd></dd>
<dt><code>reason</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
<dd></dd>
</dl>
<h4 class="section">Returns</h4>
<dl class="parameters">
<dt><span class="xref">Task</span></dt>
<dd></dd>
</dl>
<a id="EchoHub_Server_Irc_IrcBroadcaster_SendChannelNukedAsync_" data-uid="EchoHub.Server.Irc.IrcBroadcaster.SendChannelNukedAsync*"></a>
<h3 id="EchoHub_Server_Irc_IrcBroadcaster_SendChannelNukedAsync_System_String_" data-uid="EchoHub.Server.Irc.IrcBroadcaster.SendChannelNukedAsync(System.String)">
SendChannelNukedAsync(string)
<a class="header-action link-secondary" title="View source" href="https://github.com/HueByte/EchoHub/blob/master/src/EchoHub.Server.Irc/IrcBroadcaster.cs"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task SendChannelNukedAsync(string channelName)</code></pre>
</div>
<h4 class="section">Parameters</h4>
<dl class="parameters">
<dt><code>channelName</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
<dd></dd>
</dl>
<h4 class="section">Returns</h4>
<dl class="parameters">
<dt><span class="xref">Task</span></dt>
<dd></dd>
</dl>
<a id="EchoHub_Server_Irc_IrcBroadcaster_SendChannelUpdatedAsync_" data-uid="EchoHub.Server.Irc.IrcBroadcaster.SendChannelUpdatedAsync*"></a>
<h3 id="EchoHub_Server_Irc_IrcBroadcaster_SendChannelUpdatedAsync_EchoHub_Core_DTOs_ChannelDto_System_String_" data-uid="EchoHub.Server.Irc.IrcBroadcaster.SendChannelUpdatedAsync(EchoHub.Core.DTOs.ChannelDto,System.String)">
@@ -269,6 +343,44 @@ Class IrcBroadcaster <a class="header-action link-secondary" title="View source
<a id="EchoHub_Server_Irc_IrcBroadcaster_SendMessageDeletedAsync_" data-uid="EchoHub.Server.Irc.IrcBroadcaster.SendMessageDeletedAsync*"></a>
<h3 id="EchoHub_Server_Irc_IrcBroadcaster_SendMessageDeletedAsync_System_String_System_Guid_" data-uid="EchoHub.Server.Irc.IrcBroadcaster.SendMessageDeletedAsync(System.String,System.Guid)">
SendMessageDeletedAsync(string, Guid)
<a class="header-action link-secondary" title="View source" href="https://github.com/HueByte/EchoHub/blob/master/src/EchoHub.Server.Irc/IrcBroadcaster.cs"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task SendMessageDeletedAsync(string channelName, Guid messageId)</code></pre>
</div>
<h4 class="section">Parameters</h4>
<dl class="parameters">
<dt><code>channelName</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
<dd></dd>
<dt><code>messageId</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.guid">Guid</a></dt>
<dd></dd>
</dl>
<h4 class="section">Returns</h4>
<dl class="parameters">
<dt><span class="xref">Task</span></dt>
<dd></dd>
</dl>
<a id="EchoHub_Server_Irc_IrcBroadcaster_SendMessageToChannelAsync_" data-uid="EchoHub.Server.Irc.IrcBroadcaster.SendMessageToChannelAsync*"></a>
<h3 id="EchoHub_Server_Irc_IrcBroadcaster_SendMessageToChannelAsync_System_String_EchoHub_Core_DTOs_MessageDto_" data-uid="EchoHub.Server.Irc.IrcBroadcaster.SendMessageToChannelAsync(System.String,EchoHub.Core.DTOs.MessageDto)">
@@ -307,6 +419,44 @@ Class IrcBroadcaster <a class="header-action link-secondary" title="View source
<a id="EchoHub_Server_Irc_IrcBroadcaster_SendUserBannedAsync_" data-uid="EchoHub.Server.Irc.IrcBroadcaster.SendUserBannedAsync*"></a>
<h3 id="EchoHub_Server_Irc_IrcBroadcaster_SendUserBannedAsync_System_String_System_String_" data-uid="EchoHub.Server.Irc.IrcBroadcaster.SendUserBannedAsync(System.String,System.String)">
SendUserBannedAsync(string, string?)
<a class="header-action link-secondary" title="View source" href="https://github.com/HueByte/EchoHub/blob/master/src/EchoHub.Server.Irc/IrcBroadcaster.cs"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task SendUserBannedAsync(string username, string? reason)</code></pre>
</div>
<h4 class="section">Parameters</h4>
<dl class="parameters">
<dt><code>username</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
<dd></dd>
<dt><code>reason</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
<dd></dd>
</dl>
<h4 class="section">Returns</h4>
<dl class="parameters">
<dt><span class="xref">Task</span></dt>
<dd></dd>
</dl>
<a id="EchoHub_Server_Irc_IrcBroadcaster_SendUserJoinedAsync_" data-uid="EchoHub.Server.Irc.IrcBroadcaster.SendUserJoinedAsync*"></a>
<h3 id="EchoHub_Server_Irc_IrcBroadcaster_SendUserJoinedAsync_System_String_System_String_System_String_" data-uid="EchoHub.Server.Irc.IrcBroadcaster.SendUserJoinedAsync(System.String,System.String,System.String)">
@@ -347,6 +497,46 @@ Class IrcBroadcaster <a class="header-action link-secondary" title="View source
<a id="EchoHub_Server_Irc_IrcBroadcaster_SendUserKickedAsync_" data-uid="EchoHub.Server.Irc.IrcBroadcaster.SendUserKickedAsync*"></a>
<h3 id="EchoHub_Server_Irc_IrcBroadcaster_SendUserKickedAsync_System_String_System_String_System_String_" data-uid="EchoHub.Server.Irc.IrcBroadcaster.SendUserKickedAsync(System.String,System.String,System.String)">
SendUserKickedAsync(string, string, string?)
<a class="header-action link-secondary" title="View source" href="https://github.com/HueByte/EchoHub/blob/master/src/EchoHub.Server.Irc/IrcBroadcaster.cs"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task SendUserKickedAsync(string channelName, string username, string? reason)</code></pre>
</div>
<h4 class="section">Parameters</h4>
<dl class="parameters">
<dt><code>channelName</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
<dd></dd>
<dt><code>username</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
<dd></dd>
<dt><code>reason</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
<dd></dd>
</dl>
<h4 class="section">Returns</h4>
<dl class="parameters">
<dt><span class="xref">Task</span></dt>
<dd></dd>
</dl>
<a id="EchoHub_Server_Irc_IrcBroadcaster_SendUserLeftAsync_" data-uid="EchoHub.Server.Irc.IrcBroadcaster.SendUserLeftAsync*"></a>
<h3 id="EchoHub_Server_Irc_IrcBroadcaster_SendUserLeftAsync_System_String_System_String_" data-uid="EchoHub.Server.Irc.IrcBroadcaster.SendUserLeftAsync(System.String,System.String)">
@@ -297,6 +297,37 @@ Class IrcGatewayService <a class="header-action link-secondary" title="View sou
<a id="EchoHub_Server_Irc_IrcGatewayService_GetAllConnections_" data-uid="EchoHub.Server.Irc.IrcGatewayService.GetAllConnections*"></a>
<h3 id="EchoHub_Server_Irc_IrcGatewayService_GetAllConnections" data-uid="EchoHub.Server.Irc.IrcGatewayService.GetAllConnections">
GetAllConnections()
<a class="header-action link-secondary" title="View source" href="https://github.com/HueByte/EchoHub/blob/master/src/EchoHub.Server.Irc/IrcGatewayService.cs"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public IEnumerable&lt;IrcClientConnection&gt; GetAllConnections()</code></pre>
</div>
<h4 class="section">Returns</h4>
<dl class="parameters">
<dt><span class="xref">IEnumerable</span>&lt;<a class="xref" href="EchoHub.Server.Irc.IrcClientConnection.html">IrcClientConnection</a>&gt;</dt>
<dd></dd>
</dl>
<a id="EchoHub_Server_Irc_IrcGatewayService_GetConnectionsInChannel_" data-uid="EchoHub.Server.Irc.IrcGatewayService.GetConnectionsInChannel*"></a>
<h3 id="EchoHub_Server_Irc_IrcGatewayService_GetConnectionsInChannel_System_String_" data-uid="EchoHub.Server.Irc.IrcGatewayService.GetConnectionsInChannel(System.String)">
@@ -152,6 +152,44 @@ Class IrcMessageFormatter <a class="header-action link-secondary" title="View s
</h2>
<a id="EchoHub_Server_Irc_IrcMessageFormatter_ColorTagsToAnsi_" data-uid="EchoHub.Server.Irc.IrcMessageFormatter.ColorTagsToAnsi*"></a>
<h3 id="EchoHub_Server_Irc_IrcMessageFormatter_ColorTagsToAnsi_System_String_" data-uid="EchoHub.Server.Irc.IrcMessageFormatter.ColorTagsToAnsi(System.String)">
ColorTagsToAnsi(string)
<a class="header-action link-secondary" title="View source" href="https://github.com/HueByte/EchoHub/blob/master/src/EchoHub.Server.Irc/IrcMessageFormatter.cs"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Convert printable color tags ({F:RRGGBB}, {B:RRGGBB}, {X}) to ANSI escape codes for IRC clients.
Also passes through content that already uses ANSI codes unchanged.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public static string ColorTagsToAnsi(string text)</code></pre>
</div>
<h4 class="section">Parameters</h4>
<dl class="parameters">
<dt><code>text</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
<dd></dd>
</dl>
<h4 class="section">Returns</h4>
<dl class="parameters">
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
<dd></dd>
</dl>
<a id="EchoHub_Server_Irc_IrcMessageFormatter_FormatMessage_" data-uid="EchoHub.Server.Irc.IrcMessageFormatter.FormatMessage*"></a>
<h3 id="EchoHub_Server_Irc_IrcMessageFormatter_FormatMessage_EchoHub_Core_DTOs_MessageDto_" data-uid="EchoHub.Server.Irc.IrcMessageFormatter.FormatMessage(EchoHub.Core.DTOs.MessageDto)">