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

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