Botcraft
1.21.5
Loading...
Searching...
No Matches
ItemDamageFunction.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
5
namespace
ProtocolCraft
6
{
7
namespace
Components
8
{
9
class
ItemDamageFunction
:
public
NetworkType
10
{
11
SERIALIZED_FIELD
(Threshold,
float
);
12
SERIALIZED_FIELD
(Base,
float
);
13
SERIALIZED_FIELD
(Factor,
float
);
14
15
DECLARE_READ_WRITE_SERIALIZE
;
16
};
17
}
18
}
19
#endif
NetworkType.hpp
ProtocolCraft::Components::ItemDamageFunction
Definition
ItemDamageFunction.hpp:10
ProtocolCraft::Components::ItemDamageFunction::DECLARE_READ_WRITE_SERIALIZE
DECLARE_READ_WRITE_SERIALIZE
Definition
ItemDamageFunction.hpp:15
ProtocolCraft::Components::ItemDamageFunction::SERIALIZED_FIELD
SERIALIZED_FIELD(Base, float)
ProtocolCraft::Components::ItemDamageFunction::SERIALIZED_FIELD
SERIALIZED_FIELD(Factor, float)
ProtocolCraft::Components::ItemDamageFunction::SERIALIZED_FIELD
SERIALIZED_FIELD(Threshold, float)
ProtocolCraft::NetworkType
Definition
NetworkType.hpp:11
ProtocolCraft
Definition
ItemUtilities.hpp:8
protocolCraft
include
protocolCraft
Types
Components
Subtypes
ItemDamageFunction.hpp
Generated by
1.9.8