refactor(net): converge live session state reset
This commit is contained in:
parent
78a9223b65
commit
4f31a5085f
35 changed files with 1460 additions and 83 deletions
|
|
@ -116,6 +116,17 @@ public sealed class ChatVM
|
|||
/// </summary>
|
||||
public void Clear() => _log.Clear();
|
||||
|
||||
/// <summary>
|
||||
/// Forget per-session reply/retell destinations while retaining the shared
|
||||
/// transcript. Old character names must not become command targets after a
|
||||
/// reconnect.
|
||||
/// </summary>
|
||||
public void ResetSessionTargets()
|
||||
{
|
||||
LastIncomingTellSender = null;
|
||||
LastOutgoingTellTarget = null;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Print the current framerate into chat. Used by
|
||||
/// <c>/framerate</c> / <c>@framerate</c>. Falls back to a
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue