chunkedge_protocol/packets/status/
ping_request_c2s.rs

1use chunkedge_binary::{Decode, Encode};
2
3use crate::{Packet, PacketState};
4
5#[derive(Copy, Clone, Debug, Encode, Decode, Packet)]
6#[packet(state = PacketState::Status)]
7pub struct PingRequestC2s {
8    /// May be any number, but vanilla clients will always use the timestamp in
9    /// milliseconds.
10    pub timestamp: u64,
11}