diff options
| author | mat <github@matdoes.dev> | 2022-10-29 14:14:47 -0500 |
|---|---|---|
| committer | mat <github@matdoes.dev> | 2022-10-29 14:14:47 -0500 |
| commit | 7c71bdf79a851d9646fe60f00dd70429aa09263b (patch) | |
| tree | fc6875888cfd4958c8e9fe6f9e758eacbeace68a /azalea-protocol/src/packets | |
| parent | 65d8fdcb6c13e8802a79fa2df570a57978b3c430 (diff) | |
| download | azalea-drasl-7c71bdf79a851d9646fe60f00dd70429aa09263b.tar.xz | |
add doc comments to combat packets
Diffstat (limited to 'azalea-protocol/src/packets')
3 files changed, 3 insertions, 0 deletions
diff --git a/azalea-protocol/src/packets/game/clientbound_player_combat_end_packet.rs b/azalea-protocol/src/packets/game/clientbound_player_combat_end_packet.rs index 0276d379..67d29e93 100644 --- a/azalea-protocol/src/packets/game/clientbound_player_combat_end_packet.rs +++ b/azalea-protocol/src/packets/game/clientbound_player_combat_end_packet.rs @@ -1,6 +1,7 @@ use azalea_buf::McBuf; use azalea_protocol_macros::ClientboundGamePacket; +/// Unused in vanilla. #[derive(Clone, Debug, McBuf, ClientboundGamePacket)] pub struct ClientboundPlayerCombatEndPacket { #[var] diff --git a/azalea-protocol/src/packets/game/clientbound_player_combat_enter_packet.rs b/azalea-protocol/src/packets/game/clientbound_player_combat_enter_packet.rs index 8e7ef8a2..42ee1838 100644 --- a/azalea-protocol/src/packets/game/clientbound_player_combat_enter_packet.rs +++ b/azalea-protocol/src/packets/game/clientbound_player_combat_enter_packet.rs @@ -1,5 +1,6 @@ use azalea_buf::McBuf; use azalea_protocol_macros::ClientboundGamePacket; +/// Unused in vanilla. #[derive(Clone, Debug, McBuf, ClientboundGamePacket)] pub struct ClientboundPlayerCombatEnterPacket {} diff --git a/azalea-protocol/src/packets/game/clientbound_player_combat_kill_packet.rs b/azalea-protocol/src/packets/game/clientbound_player_combat_kill_packet.rs index 0492d16a..f1294f2e 100644 --- a/azalea-protocol/src/packets/game/clientbound_player_combat_kill_packet.rs +++ b/azalea-protocol/src/packets/game/clientbound_player_combat_kill_packet.rs @@ -2,6 +2,7 @@ use azalea_buf::McBuf; use azalea_chat::component::Component; use azalea_protocol_macros::ClientboundGamePacket; +/// Used to send a respawn screen. #[derive(Clone, Debug, McBuf, ClientboundGamePacket)] pub struct ClientboundPlayerCombatKillPacket { #[var] |
