blob: 37c5af884627148aff183327c67df1fdcc0633dc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
pub mod clientbound_pong_response_packet;
pub mod clientbound_status_response_packet;
pub mod serverbound_ping_request_packet;
pub mod serverbound_status_request_packet;
use packet_macros::declare_state_packets;
declare_state_packets!(
StatusPacket,
Serverbound => {
0x00: serverbound_status_request_packet::ServerboundStatusRequestPacket,
0x01: serverbound_ping_request_packet::ServerboundPingRequestPacket,
},
Clientbound => {
0x00: clientbound_status_response_packet::ClientboundStatusResponsePacket,
0x01: clientbound_pong_response_packet::ClientboundPongResponsePacket,
}
);
|