aboutsummaryrefslogtreecommitdiff
path: root/azalea-protocol/src/packets/game/s_cookie_response.rs
blob: 0653d7c96472a5c410e534c1cdb2cd37b4de9d0e (plain)
1
2
3
4
5
6
7
8
9
use azalea_buf::AzBuf;
use azalea_registry::identifier::Identifier;
use azalea_protocol_macros::ServerboundGamePacket;

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