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

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