aboutsummaryrefslogtreecommitdiff
path: root/azalea-protocol/src/packets/login/c_custom_query.rs
blob: 9c7ee50aca9b4a7bc3009fd212f9cb9e1ed6b16c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
use std::hash::Hash;

use azalea_buf::{AzBuf, UnsizedByteArray};
use azalea_core::identifier::Identifier;
use azalea_protocol_macros::ClientboundLoginPacket;

#[derive(Hash, Clone, Debug, AzBuf, PartialEq, ClientboundLoginPacket)]
pub struct ClientboundCustomQuery {
    #[var]
    pub transaction_id: u32,
    pub identifier: Identifier,
    pub data: UnsizedByteArray,
}