mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2025-10-14 21:22:49 +00:00
Fix message marker mixed with actual message body
Should fix regex not working for autorespond and other chatbots that relied on matching message
This commit is contained in:
parent
4c33c5fc27
commit
8da8f6044f
3 changed files with 39 additions and 32 deletions
|
|
@ -4,15 +4,19 @@ namespace MinecraftClient.Protocol.Message
|
|||
{
|
||||
public class ChatMessage
|
||||
{
|
||||
// in 1.19 and above, isSignedChat = true
|
||||
/// <summary>
|
||||
/// In 1.19 and above, isSignedChat = true
|
||||
/// </summary>
|
||||
public bool isSignedChat;
|
||||
|
||||
public string content;
|
||||
|
||||
public bool isJson, isSenderJson;
|
||||
|
||||
// 0: chat (chat box), 1: system message (chat box), 2: game info (above hotbar), 3: say command,
|
||||
// 4: msg command, 5: team msg command, 6: emote command, 7: tellraw command
|
||||
/// <summary>
|
||||
/// 0: chat (chat box), 1: system message (chat box), 2: game info (above hotbar), 3: say command,
|
||||
/// 4: msg command, 5: team msg command, 6: emote command, 7: tellraw command
|
||||
/// </summary>
|
||||
public int chatTypeId;
|
||||
|
||||
public Guid senderUUID;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue