diff options
| author | mat <github@matdoes.dev> | 2022-04-24 16:18:51 -0500 |
|---|---|---|
| committer | mat <github@matdoes.dev> | 2022-04-24 16:18:51 -0500 |
| commit | b7641ff308aab7840d2a2253ae50f8ee496b2a97 (patch) | |
| tree | f33eb83f119da5aae08f56a5c7543db15594b01d /azalea-protocol/src/packets/game/clientbound_disconnect_packet.rs | |
| parent | 97d392f4e5721d8aa8940f253918965ff0b40348 (diff) | |
| download | azalea-drasl-b7641ff308aab7840d2a2253ae50f8ee496b2a97.tar.xz | |
1.18.2 support
Diffstat (limited to 'azalea-protocol/src/packets/game/clientbound_disconnect_packet.rs')
| -rw-r--r-- | azalea-protocol/src/packets/game/clientbound_disconnect_packet.rs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/azalea-protocol/src/packets/game/clientbound_disconnect_packet.rs b/azalea-protocol/src/packets/game/clientbound_disconnect_packet.rs new file mode 100644 index 00000000..74f5f72e --- /dev/null +++ b/azalea-protocol/src/packets/game/clientbound_disconnect_packet.rs @@ -0,0 +1,9 @@ +use azalea_chat::component::Component; +use azalea_core::resource_location::ResourceLocation; +use packet_macros::GamePacket; +use serde::Deserialize; + +#[derive(Clone, Debug, GamePacket)] +pub struct ClientboundDisconnectPacket { + pub reason: Component, +} |
