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
@@ -182,6 +182,44 @@ Class PresenceTracker <a class="header-action link-secondary" title="View sourc
</h2>
<a id="EchoHub_Server_Services_PresenceTracker_ForceRemoveUser_" data-uid="EchoHub.Server.Services.PresenceTracker.ForceRemoveUser*"></a>
<h3 id="EchoHub_Server_Services_PresenceTracker_ForceRemoveUser_System_String_" data-uid="EchoHub.Server.Services.PresenceTracker.ForceRemoveUser(System.String)">
ForceRemoveUser(string)
<a class="header-action link-secondary" title="View source" href="https://github.com/HueByte/EchoHub/blob/master/src/EchoHub.Server/Services/PresenceTracker.cs"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Forcibly remove a user from all tracking. Returns their connection IDs and channels
so the caller can broadcast departures and force-disconnect connections.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public (List&lt;string&gt; ConnectionIds, List&lt;string&gt; Channels) ForceRemoveUser(string username)</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>
</dl>
<h4 class="section">Returns</h4>
<dl class="parameters">
<dt>(<span class="xref">List</span>&lt;<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a>&gt; <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.valuetuple-system.collections.generic.list-system.string-,system.collections.generic.list-system.string--.connectionids">ConnectionIds</a>, <span class="xref">List</span>&lt;<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a>&gt; <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.valuetuple-system.collections.generic.list-system.string-,system.collections.generic.list-system.string--.channels">Channels</a>)</dt>
<dd></dd>
</dl>
<a id="EchoHub_Server_Services_PresenceTracker_GetChannelsForUser_" data-uid="EchoHub.Server.Services.PresenceTracker.GetChannelsForUser*"></a>
<h3 id="EchoHub_Server_Services_PresenceTracker_GetChannelsForUser_System_String_" data-uid="EchoHub.Server.Services.PresenceTracker.GetChannelsForUser(System.String)">