diff options
Diffstat (limited to 'azalea-protocol/src/packets/game/serverbound_resource_pack_packet.rs')
| -rwxr-xr-x | azalea-protocol/src/packets/game/serverbound_resource_pack_packet.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/azalea-protocol/src/packets/game/serverbound_resource_pack_packet.rs b/azalea-protocol/src/packets/game/serverbound_resource_pack_packet.rs index 104f8f73..f285707b 100755 --- a/azalea-protocol/src/packets/game/serverbound_resource_pack_packet.rs +++ b/azalea-protocol/src/packets/game/serverbound_resource_pack_packet.rs @@ -1,8 +1,10 @@ use azalea_buf::McBuf; use azalea_protocol_macros::ServerboundGamePacket; +use uuid::Uuid; #[derive(Clone, Debug, McBuf, ServerboundGamePacket)] 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, } |
