Botcraft
1.21.5
Loading...
Searching...
No Matches
DamageReduction.hpp
Go to the documentation of this file.
1
#if PROTOCOL_VERSION > 769
/* > 1.21.4 */
2
#pragma once
3
#include "
protocolCraft/NetworkType.hpp
"
4
#include "
protocolCraft/Types/HolderSet.hpp
"
5
6
namespace
ProtocolCraft
7
{
8
namespace
Components
9
{
10
class
DamageReduction
:
public
NetworkType
11
{
12
SERIALIZED_FIELD
(HorizontalBlockingAngle,
float
);
13
SERIALIZED_FIELD
(Type, std::optional<HolderSet>);
14
SERIALIZED_FIELD
(Base,
float
);
15
SERIALIZED_FIELD
(Factor,
float
);
16
17
DECLARE_READ_WRITE_SERIALIZE
;
18
};
19
}
20
}
21
#endif
HolderSet.hpp
NetworkType.hpp
ProtocolCraft::Components::DamageReduction
Definition
DamageReduction.hpp:11
ProtocolCraft::Components::DamageReduction::SERIALIZED_FIELD
SERIALIZED_FIELD(Factor, float)
ProtocolCraft::Components::DamageReduction::DECLARE_READ_WRITE_SERIALIZE
DECLARE_READ_WRITE_SERIALIZE
Definition
DamageReduction.hpp:17
ProtocolCraft::Components::DamageReduction::SERIALIZED_FIELD
SERIALIZED_FIELD(Base, float)
ProtocolCraft::Components::DamageReduction::SERIALIZED_FIELD
SERIALIZED_FIELD(Type, std::optional< HolderSet >)
ProtocolCraft::Components::DamageReduction::SERIALIZED_FIELD
SERIALIZED_FIELD(HorizontalBlockingAngle, float)
ProtocolCraft::NetworkType
Definition
NetworkType.hpp:11
ProtocolCraft
Definition
ItemUtilities.hpp:8
protocolCraft
include
protocolCraft
Types
Components
Subtypes
DamageReduction.hpp
Generated by
1.9.8