azalea_protocol/packets/game/
c_custom_report_details.rs

1use std::collections::HashMap;
2
3use azalea_buf::AzBuf;
4use azalea_protocol_macros::ClientboundGamePacket;
5
6#[derive(Clone, Debug, AzBuf, ClientboundGamePacket)]
7pub struct ClientboundCustomReportDetails {
8    // azalea doesn't implement max lengths yet
9
10    // max length = 32
11    // key string is limited to 128 bytes
12    // value string is limited to 4096 bytes
13    pub details: HashMap<String, String>,
14}