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

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