mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2025-11-07 17:36:07 +00:00
Add submodule MinecraftProtocolLibrary
This commit is contained in:
parent
87026e1bfb
commit
3f1de66af3
62 changed files with 1093 additions and 450 deletions
27
MinecraftClient/Protocol/TitlePacket.cs
Normal file
27
MinecraftClient/Protocol/TitlePacket.cs
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace MinecraftClient.Protocol
|
||||
{
|
||||
public record TitlePacket
|
||||
{
|
||||
public int Action { init; get; }
|
||||
|
||||
public string TitleText { init; get; } = string.Empty;
|
||||
|
||||
public string SubtitleText { init; get; } = string.Empty;
|
||||
|
||||
public string ActionbarText { init; get; } = string.Empty;
|
||||
|
||||
public int Stay { init; get; }
|
||||
|
||||
public int FadeIn { init; get; }
|
||||
|
||||
public int FadeOut { init; get; }
|
||||
|
||||
public string JsonText { init; get; } = string.Empty;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue