aboutsummaryrefslogtreecommitdiff
path: root/azalea-protocol/src/packets/configuration/serverbound_resource_pack_packet.rs
diff options
context:
space:
mode:
Diffstat (limited to 'azalea-protocol/src/packets/configuration/serverbound_resource_pack_packet.rs')
-rw-r--r--azalea-protocol/src/packets/configuration/serverbound_resource_pack_packet.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/azalea-protocol/src/packets/configuration/serverbound_resource_pack_packet.rs b/azalea-protocol/src/packets/configuration/serverbound_resource_pack_packet.rs
index 11149115..6f35525e 100644
--- a/azalea-protocol/src/packets/configuration/serverbound_resource_pack_packet.rs
+++ b/azalea-protocol/src/packets/configuration/serverbound_resource_pack_packet.rs
@@ -1,8 +1,10 @@
use azalea_buf::McBuf;
use azalea_protocol_macros::ServerboundConfigurationPacket;
+use uuid::Uuid;
#[derive(Clone, Debug, McBuf, ServerboundConfigurationPacket)]
pub struct ServerboundResourcePackPacket {
+ pub id: Uuid,
pub action: Action,
}
@@ -12,4 +14,7 @@ pub enum Action {
Declined = 1,
FailedDownload = 2,
Accepted = 3,
+ InvalidUrl = 4,
+ FailedReload = 5,
+ Discarded = 6,
}