From 87c34e1c3355e2b950f3c6f4ae44dcdfb775bbca Mon Sep 17 00:00:00 2001 From: mat Date: Sat, 1 Feb 2025 20:35:57 +0000 Subject: add failing test_set_health_before_login test --- azalea-client/src/raw_connection.rs | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'azalea-client/src/raw_connection.rs') diff --git a/azalea-client/src/raw_connection.rs b/azalea-client/src/raw_connection.rs index 2091c14e..50f41049 100644 --- a/azalea-client/src/raw_connection.rs +++ b/azalea-client/src/raw_connection.rs @@ -18,26 +18,26 @@ use tracing::error; /// yourself. It will do the compression and encryption for you though. #[derive(Component)] pub struct RawConnection { - reader: RawConnectionReader, - writer: RawConnectionWriter, + pub reader: RawConnectionReader, + pub writer: RawConnectionWriter, /// Packets sent to this will be sent to the server. /// A task that reads packets from the server. The client is disconnected /// when this task ends. - read_packets_task: tokio::task::JoinHandle<()>, + pub read_packets_task: tokio::task::JoinHandle<()>, /// A task that writes packets from the server. - write_packets_task: tokio::task::JoinHandle<()>, + pub write_packets_task: tokio::task::JoinHandle<()>, - connection_protocol: ConnectionProtocol, + pub connection_protocol: ConnectionProtocol, } #[derive(Clone)] -struct RawConnectionReader { +pub struct RawConnectionReader { pub incoming_packet_queue: Arc>>>, pub run_schedule_sender: mpsc::UnboundedSender<()>, } #[derive(Clone)] -struct RawConnectionWriter { +pub struct RawConnectionWriter { pub outgoing_packets_sender: mpsc::UnboundedSender>, } -- cgit v1.2.3