azalea_protocol/packets/game/s_client_command.rs
1use azalea_buf::AzBuf;
2use azalea_protocol_macros::ServerboundGamePacket;
3
4#[derive(Clone, Debug, AzBuf, ServerboundGamePacket)]
5pub struct ServerboundClientCommand {
6 pub action: Action,
7}
8
9#[derive(AzBuf, Clone, Copy, Debug)]
10pub enum Action {
11 PerformRespawn = 0,
12 RequestStats = 1,
13}