aboutsummaryrefslogtreecommitdiff
path: root/azalea-protocol/src/packets/game/c_debug_sample.rs
blob: 0f2a9af4c5a08fb9532d16a05ea8ba5c04076afb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
use azalea_buf::AzBuf;
use azalea_protocol_macros::ClientboundGamePacket;

#[derive(AzBuf, ClientboundGamePacket, Clone, Debug, PartialEq)]
pub struct ClientboundDebugSample {
    pub sample: Vec<u64>,
    pub debug_sample_type: RemoteDebugSampleType,
}

#[derive(AzBuf, Clone, Copy, Debug, PartialEq)]
pub enum RemoteDebugSampleType {
    TickTime,
}