1
2
Fork 0
mirror of https://github.com/mat-1/azalea.git synced 2025-08-02 06:16:04 +00:00
azalea/azalea-protocol/src/packets/game/c_custom_chat_completions.rs

15 lines
331 B
Rust

use azalea_buf::AzBuf;
use azalea_protocol_macros::ClientboundGamePacket;
#[derive(Clone, Debug, AzBuf, ClientboundGamePacket)]
pub struct ClientboundCustomChatCompletions {
pub action: Action,
pub entries: Vec<String>,
}
#[derive(AzBuf, Clone, Copy, Debug)]
pub enum Action {
Add = 0,
Remove = 1,
Set = 2,
}