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

#[derive(Clone, Debug, AzBuf, PartialEq, ServerboundGamePacket)]
pub struct ServerboundCookieResponse {
    pub key: ResourceLocation,
    pub payload: Option<Vec<u8>>,
}