diff options
Diffstat (limited to 'azalea-protocol/src/packets/game/clientbound_server_links_packet.rs')
| -rw-r--r-- | azalea-protocol/src/packets/game/clientbound_server_links_packet.rs | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/azalea-protocol/src/packets/game/clientbound_server_links_packet.rs b/azalea-protocol/src/packets/game/clientbound_server_links_packet.rs deleted file mode 100644 index 4b24a519..00000000 --- a/azalea-protocol/src/packets/game/clientbound_server_links_packet.rs +++ /dev/null @@ -1,34 +0,0 @@ -use azalea_buf::McBuf; -use azalea_chat::FormattedText; -use azalea_protocol_macros::ClientboundGamePacket; - -#[derive(Clone, Debug, McBuf, ClientboundGamePacket)] -pub struct ClientboundServerLinksPacket { - pub links: Vec<ServerLinkEntry>, -} - -#[derive(Clone, Debug, McBuf)] -pub struct ServerLinkEntry { - pub kind: ServerLinkKind, - pub link: String, -} - -#[derive(Clone, Debug, McBuf)] -pub enum ServerLinkKind { - Known(KnownLinkKind), - Component(FormattedText), -} - -#[derive(Clone, Copy, Debug, McBuf)] -pub enum KnownLinkKind { - BugReport, - CommunityGuidelines, - Support, - Status, - Feedback, - Community, - Website, - Forums, - News, - Announcements, -} |
