aboutsummaryrefslogtreecommitdiff
path: root/azalea-protocol/src/packets/login/s_custom_query.rs
blob: 39ecdceff5a578beb5a38fbe10b4d2f1d39db87e (plain)
1
2
3
4
5
6
7
8
9
use azalea_buf::{AzBuf, UnsizedByteArray};
use azalea_protocol_macros::ServerboundLoginPacket;

#[derive(Clone, Debug, AzBuf, ServerboundLoginPacket)]
pub struct ServerboundCustomQuery {
    #[var]
    pub transaction_id: u32,
    pub data: Option<UnsizedByteArray>,
}