Botcraft
1.21.4
Loading...
Searching...
No Matches
SoundEvent.hpp
Go to the documentation of this file.
1
#if PROTOCOL_VERSION > 760
/* > 1.19.2 */
2
#pragma once
3
4
5
#include "
protocolCraft/NetworkType.hpp
"
6
7
namespace
ProtocolCraft
8
{
9
class
SoundEvent
:
public
NetworkType
10
{
11
SERIALIZED_FIELD
(Location,
Identifier
);
12
SERIALIZED_FIELD
(Range, std::optional<float>);
13
14
DECLARE_READ_WRITE_SERIALIZE
;
15
};
16
}
// ProtocolCraft
17
#endif
NetworkType.hpp
ProtocolCraft::Identifier
Definition
Identifier.hpp:8
ProtocolCraft::NetworkType
Definition
NetworkType.hpp:11
ProtocolCraft::SoundEvent
Definition
SoundEvent.hpp:10
ProtocolCraft::SoundEvent::SERIALIZED_FIELD
SERIALIZED_FIELD(Range, std::optional< float >)
ProtocolCraft::SoundEvent::SERIALIZED_FIELD
SERIALIZED_FIELD(Location, Identifier)
ProtocolCraft::SoundEvent::DECLARE_READ_WRITE_SERIALIZE
DECLARE_READ_WRITE_SERIALIZE
Definition
SoundEvent.hpp:14
ProtocolCraft
Definition
ItemUtilities.hpp:8
protocolCraft
include
protocolCraft
Types
Sound
SoundEvent.hpp
Generated by
1.9.8