aboutsummaryrefslogtreecommitdiff
path: root/azalea-protocol/src/packets/game/s_custom_payload.rs
blob: b32f1d24907cf838cbc85eabada51a9a78820f76 (plain)
1
2
3
4
5
6
7
8
9
10
use azalea_buf::AzBuf;
use azalea_buf::UnsizedByteArray;
use azalea_core::resource_location::ResourceLocation;
use azalea_protocol_macros::ServerboundGamePacket;

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