aboutsummaryrefslogtreecommitdiff
path: root/azalea-protocol/src/packets/game/c_respawn.rs
blob: 27eafa4f5115c45b285e46cfe5ab5283efc44cc5 (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(AzBuf, ClientboundGamePacket, Clone, Debug, PartialEq)]
pub struct ClientboundRespawn {
    pub common: CommonPlayerSpawnInfo,
    pub data_to_keep: u8,
}