aboutsummaryrefslogtreecommitdiff
path: root/azalea-protocol/src/packets/game/c_custom_chat_completions.rs
blob: 62afdd6a5f4dc3cc722b9d5cb9750d4252838eea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use azalea_buf::AzBuf;
use azalea_protocol_macros::ClientboundGamePacket;

#[derive(AzBuf, ClientboundGamePacket, Clone, Debug, PartialEq)]
pub struct ClientboundCustomChatCompletions {
    pub action: Action,
    pub entries: Vec<String>,
}

#[derive(AzBuf, Clone, Copy, Debug, PartialEq)]
pub enum Action {
    Add = 0,
    Remove = 1,
    Set = 2,
}