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

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