Botcraft 26.2
Loading...
Searching...
No Matches
PossibleEffect.hpp
Go to the documentation of this file.
1#if PROTOCOL_VERSION > 765 /* > 1.20.4 */ && PROTOCOL_VERSION < 768 /* < 1.21.2 */
2#pragma once
5
6namespace ProtocolCraft
7{
8 namespace Components
9 {
10 class PossibleEffect : public NetworkType
11 {
12 SERIALIZED_FIELD(Effect, MobEffectInstance);
13 SERIALIZED_FIELD(Probability, float);
14
16 };
17 }
18}
19#endif
#define DECLARE_READ_WRITE_SERIALIZE
Define auto serializable utilities and declare ReadImpl, WriteImpl and SerializeImpl virtual function...
#define SERIALIZED_FIELD(Name,...)