chunkedge_protocol/packets/configuration/ping_s2c.rs
1use chunkedge_binary::{Decode, Encode};
2
3use crate::{Packet, PacketState};
4
5#[derive(Copy, Clone, Debug, Encode, Decode, Packet)]
6#[packet(state = PacketState::Configuration)]
7/// The client should respond with a
8/// [`PongC2s`](crate::packets::configuration::PongC2s) packet with the same id.
9pub struct PingS2c(pub i32);