use crate::{Bounded, Decode, Encode, FixedBitSet, Packet, VarInt};
#[derive(Clone, Debug, Encode, Decode, Packet)]
pub struct CommandExecutionC2s<'a> {
pub command: Bounded<&'a str, 256>,
pub timestamp: u64,
pub salt: u64,
pub argument_signatures: Vec<CommandArgumentSignature<'a>>,
pub message_count: VarInt,
pub acknowledgement: FixedBitSet<20, 3>,
}
#[derive(Copy, Clone, Debug, Encode, Decode)]
pub struct CommandArgumentSignature<'a> {
pub argument_name: Bounded<&'a str, 16>,
pub signature: &'a [u8; 256],
}