aboutsummaryrefslogtreecommitdiff
path: root/azalea-protocol/src/packets/game/c_custom_report_details.rs
blob: 8ac45a57a341f7e3e5c0781d2173f6da05eabdf5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use std::collections::HashMap;

use azalea_buf::AzBuf;
use azalea_protocol_macros::ClientboundGamePacket;

#[derive(AzBuf, ClientboundGamePacket, Clone, Debug, PartialEq)]
pub struct ClientboundCustomReportDetails {
    // 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>,
}