mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2025-10-14 21:22:49 +00:00
Show links embedded in chat
Allows clicking if supported by terminal, or at least copy and paste to web browser. Suggestion by brkmrr9 in #207
This commit is contained in:
parent
9cd983c50d
commit
1180c06b1f
6 changed files with 59 additions and 28 deletions
|
|
@ -34,7 +34,9 @@ namespace MinecraftClient.Protocol
|
|||
/// <summary>
|
||||
/// This method is called when the protocol handler receives a chat message
|
||||
/// </summary>
|
||||
void OnTextReceived(string text);
|
||||
/// <param name="text">Text received from the server</param>
|
||||
/// <param name="links">Links embedded in text (for click events)</param>
|
||||
void OnTextReceived(string text, IEnumerable<string> links);
|
||||
|
||||
/// <summary>
|
||||
/// This method is called when a new player joins the game
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue