azalea_protocol/packets/game/
c_custom_payload.rs

1use azalea_buf::{AzBuf, UnsizedByteArray};
2use azalea_registry::identifier::Identifier;
3use azalea_protocol_macros::ClientboundGamePacket;
4
5#[derive(AzBuf, ClientboundGamePacket, Clone, Debug, PartialEq)]
6pub struct ClientboundCustomPayload {
7    pub identifier: Identifier,
8    pub data: UnsizedByteArray,
9}