aboutsummaryrefslogtreecommitdiff
path: root/azalea-protocol/src/packets/game/c_player_combat_kill.rs
diff options
context:
space:
mode:
Diffstat (limited to 'azalea-protocol/src/packets/game/c_player_combat_kill.rs')
-rwxr-xr-xazalea-protocol/src/packets/game/c_player_combat_kill.rs11
1 files changed, 11 insertions, 0 deletions
diff --git a/azalea-protocol/src/packets/game/c_player_combat_kill.rs b/azalea-protocol/src/packets/game/c_player_combat_kill.rs
new file mode 100755
index 00000000..fb7285b5
--- /dev/null
+++ b/azalea-protocol/src/packets/game/c_player_combat_kill.rs
@@ -0,0 +1,11 @@
+use azalea_buf::AzBuf;
+use azalea_chat::FormattedText;
+use azalea_protocol_macros::ClientboundGamePacket;
+
+/// Used to send a respawn screen.
+#[derive(Clone, Debug, AzBuf, ClientboundGamePacket)]
+pub struct ClientboundPlayerCombatKill {
+ #[var]
+ pub player_id: u32,
+ pub message: FormattedText,
+}