aboutsummaryrefslogtreecommitdiff
path: root/azalea-client/src/plugins/connection.rs
diff options
context:
space:
mode:
authormat <git@matdoes.dev>2025-09-29 02:01:50 +0700
committermat <git@matdoes.dev>2025-09-29 02:01:50 +0700
commita80d8d1b242430c4a251876fa67bfd26af7a0de9 (patch)
treee683100c2f68fed0729dbaa12e7ef189189350be /azalea-client/src/plugins/connection.rs
parent2c8b7c5c2c9297273abfba8f7743f1bc25f166b1 (diff)
downloadazalea-drasl-a80d8d1b242430c4a251876fa67bfd26af7a0de9.tar.xz
rename SendPacketEvent to SendGamePacketEvent and PingEvent to GamePingEvent
Diffstat (limited to 'azalea-client/src/plugins/connection.rs')
-rw-r--r--azalea-client/src/plugins/connection.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/azalea-client/src/plugins/connection.rs b/azalea-client/src/plugins/connection.rs
index 54966703..5d9cde18 100644
--- a/azalea-client/src/plugins/connection.rs
+++ b/azalea-client/src/plugins/connection.rs
@@ -171,7 +171,7 @@ pub struct RawConnection {
/// handlers or at all times during tests.
///
/// You shouldn't rely on this. Instead, use the events for sending packets
- /// like [`SendPacketEvent`](crate::packet::game::SendPacketEvent) /
+ /// like [`SendGamePacketEvent`](crate::packet::game::SendGamePacketEvent) /
/// [`SendConfigPacketEvent`](crate::packet::config::SendConfigPacketEvent)
/// / [`SendLoginPacketEvent`](crate::packet::login::SendLoginPacketEvent).
///
@@ -227,10 +227,10 @@ impl RawConnection {
/// Write a packet to the server without emitting any events.
///
- /// This is called by the handlers for [`SendPacketEvent`],
+ /// This is called by the handlers for [`SendGamePacketEvent`],
/// [`SendConfigPacketEvent`], and [`SendLoginPacketEvent`].
///
- /// [`SendPacketEvent`]: crate::packet::game::SendPacketEvent
+ /// [`SendGamePacketEvent`]: crate::packet::game::SendGamePacketEvent
/// [`SendConfigPacketEvent`]: crate::packet::config::SendConfigPacketEvent
/// [`SendLoginPacketEvent`]: crate::packet::login::SendLoginPacketEvent
pub fn write<P: ProtocolPacket + Debug>(