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

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