feat(runtime): share chat commands and run login sequence
This commit is contained in:
parent
5535d0adac
commit
41b15efd4d
57 changed files with 1739 additions and 345 deletions
14
src/AcDream.Runtime/Chat/SendChatCmd.cs
Normal file
14
src/AcDream.Runtime/Chat/SendChatCmd.cs
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
namespace AcDream.Runtime.Chat;
|
||||
|
||||
/// <summary>
|
||||
/// Command published by chat panels to send a message. The host resolves
|
||||
/// <see cref="Channel"/> + <see cref="TargetName"/> + <see cref="Text"/>
|
||||
/// into the right wire opcode (Talk, Tell, or ChatChannel) and echoes
|
||||
/// locally via <c>ChatLog.OnSelfSent</c>.
|
||||
///
|
||||
/// <para>
|
||||
/// <see cref="TargetName"/> is meaningful only for
|
||||
/// <see cref="ChatChannelKind.Tell"/>; ignored otherwise.
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public sealed record SendChatCmd(ChatChannelKind Channel, string? TargetName, string Text);
|
||||
Loading…
Add table
Add a link
Reference in a new issue