aboutsummaryrefslogtreecommitdiff
path: root/azalea-protocol/src/packets/game/clientbound_chat_packet.rs
diff options
context:
space:
mode:
authormat <github@matdoes.dev>2022-05-26 13:45:48 -0500
committermat <github@matdoes.dev>2022-05-26 13:45:48 -0500
commit1e145a82b80fb0402e8a64624454d9bfee77bc72 (patch)
treeffb016cd6369bf0fbbf3545408f6278d47509a86 /azalea-protocol/src/packets/game/clientbound_chat_packet.rs
parent3fbbb61c30f0833dd1e07802419ee91ef6cad8e3 (diff)
downloadazalea-drasl-1e145a82b80fb0402e8a64624454d9bfee77bc72.tar.xz
1.19
Diffstat (limited to 'azalea-protocol/src/packets/game/clientbound_chat_packet.rs')
-rw-r--r--azalea-protocol/src/packets/game/clientbound_chat_packet.rs17
1 files changed, 0 insertions, 17 deletions
diff --git a/azalea-protocol/src/packets/game/clientbound_chat_packet.rs b/azalea-protocol/src/packets/game/clientbound_chat_packet.rs
deleted file mode 100644
index 77c5370c..00000000
--- a/azalea-protocol/src/packets/game/clientbound_chat_packet.rs
+++ /dev/null
@@ -1,17 +0,0 @@
-use azalea_chat::component::Component;
-use packet_macros::{GamePacket, McBuf};
-use uuid::Uuid;
-
-#[derive(Clone, Debug, McBuf, GamePacket)]
-pub struct ClientboundChatPacket {
- pub message: Component,
- pub type_: ChatType,
- pub sender: Uuid,
-}
-
-#[derive(Clone, Debug, Copy, McBuf)]
-pub enum ChatType {
- Chat = 0,
- System = 1,
- GameInfo = 2,
-}