aboutsummaryrefslogtreecommitdiff
path: root/azalea-protocol/src/packets/game/s_cookie_response.rs
blob: 5159d72ecc9e075c44d2b7d26e511e83fd554a65 (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, ServerboundGamePacket)]
pub struct ServerboundCookieResponse {
    pub key: ResourceLocation,
    pub payload: Option<Vec<u8>>,
}