Skip to main content

steel_protocol/packets/game/
s_punch.rs

1//! Serverbound punch packet - sent when the player swings their main hand.
2
3use steel_macros::{ReadFrom, ServerPacket};
4
5/// Sent when the player punches. The packet carries no payload; the swing is
6/// always the main hand.
7#[derive(ReadFrom, ServerPacket, Clone, Debug)]
8pub struct SPunch {}