azalea_protocol/packets/game/
c_custom_chat_completions.rs

1use azalea_buf::AzBuf;
2use azalea_protocol_macros::ClientboundGamePacket;
3
4#[derive(Clone, Debug, AzBuf, ClientboundGamePacket)]
5pub struct ClientboundCustomChatCompletions {
6    pub action: Action,
7    pub entries: Vec<String>,
8}
9
10#[derive(AzBuf, Clone, Copy, Debug)]
11pub enum Action {
12    Add = 0,
13    Remove = 1,
14    Set = 2,
15}