aboutsummaryrefslogtreecommitdiff
path: root/azalea-protocol/src/packets/game/c_respawn.rs
blob: 79bbfd1d11e3cd5c76c68dec5a4ad1c7d61e86a0 (plain)
1
2
3
4
5
6
7
8
9
10
use azalea_buf::AzBuf;
use azalea_protocol_macros::ClientboundGamePacket;

use crate::packets::common::CommonPlayerSpawnInfo;

#[derive(Clone, Debug, AzBuf, ClientboundGamePacket)]
pub struct ClientboundRespawn {
    pub common: CommonPlayerSpawnInfo,
    pub data_to_keep: u8,
}