azalea_protocol/packets/game/
clientbound_custom_report_details_packet.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
use std::collections::HashMap;

use azalea_buf::McBuf;
use azalea_protocol_macros::ClientboundGamePacket;

#[derive(Clone, Debug, McBuf, ClientboundGamePacket)]
pub struct ClientboundCustomReportDetailsPacket {
    // azalea doesn't implement max lengths yet

    // max length = 32
    // key string is limited to 128 bytes
    // value string is limited to 4096 bytes
    pub details: HashMap<String, String>,
}