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

Merge branch 'main' into options

This commit is contained in:
mat 2022-10-20 21:18:54 -05:00
commit c41c87deba

View file

@ -22,9 +22,9 @@ pub enum Action {
#[derive(Clone, Debug, McBuf)]
pub struct PlayerProperty {
name: String,
value: String,
signature: Option<String>,
pub name: String,
pub value: String,
pub signature: Option<String>,
}
#[derive(Clone, Debug, McBuf)]
@ -42,26 +42,26 @@ pub struct AddPlayer {
#[derive(Clone, Debug, McBuf)]
pub struct UpdateGameMode {
uuid: Uuid,
pub uuid: Uuid,
#[var]
gamemode: u32,
pub gamemode: u32,
}
#[derive(Clone, Debug, McBuf)]
pub struct UpdateLatency {
uuid: Uuid,
pub uuid: Uuid,
#[var]
ping: i32,
pub ping: i32,
}
#[derive(Clone, Debug, McBuf)]
pub struct UpdateDisplayName {
uuid: Uuid,
display_name: Option<Component>,
pub uuid: Uuid,
pub display_name: Option<Component>,
}
#[derive(Clone, Debug, McBuf)]
pub struct RemovePlayer {
uuid: Uuid,
pub uuid: Uuid,
}
impl McBufReadable for Action {