diff options
Diffstat (limited to 'azalea-protocol/src/packets/game/c_custom_payload.rs')
| -rwxr-xr-x | azalea-protocol/src/packets/game/c_custom_payload.rs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/azalea-protocol/src/packets/game/c_custom_payload.rs b/azalea-protocol/src/packets/game/c_custom_payload.rs new file mode 100755 index 00000000..0610d63e --- /dev/null +++ b/azalea-protocol/src/packets/game/c_custom_payload.rs @@ -0,0 +1,10 @@ +use azalea_buf::AzBuf; +use azalea_buf::UnsizedByteArray; +use azalea_core::resource_location::ResourceLocation; +use azalea_protocol_macros::ClientboundGamePacket; + +#[derive(Clone, Debug, AzBuf, ClientboundGamePacket)] +pub struct ClientboundCustomPayload { + pub identifier: ResourceLocation, + pub data: UnsizedByteArray, +} |
