aboutsummaryrefslogtreecommitdiff
path: root/azalea-protocol/src/packets/game/c_custom_payload.rs
blob: e76967a6df818c0fa6bf4497aa5a97812212782c (plain)
1
2
3
4
5
6
7
8
9
use azalea_buf::{AzBuf, UnsizedByteArray};
use azalea_core::identifier::Identifier;
use azalea_protocol_macros::ClientboundGamePacket;

#[derive(Clone, Debug, AzBuf, PartialEq, ClientboundGamePacket)]
pub struct ClientboundCustomPayload {
    pub identifier: Identifier,
    pub data: UnsizedByteArray,
}