Botcraft 1.21.7
Loading...
Searching...
No Matches
BrigadierProperty.hpp
Go to the documentation of this file.
1#pragma once
2
3#if PROTOCOL_VERSION > 344 /* > 1.12.2 */
4#include <memory>
5
7#if PROTOCOL_VERSION < 759 /* < 1.19 */
9#endif
10
11namespace ProtocolCraft
12{
13#if PROTOCOL_VERSION > 758 /* > 1.18.2 */
15 {
16 None = -1,
17 Bool,
18 Float,
19 Double,
20 Integer,
21 Long,
22 String,
23 Entity,
27 Vec3,
28 Vec2,
33 Color,
34#if PROTOCOL_VERSION > 770 /* > 1.21.5 */
36#endif
38#if PROTOCOL_VERSION > 764 /* > 1.20.2 */
39 Style,
40#endif
41 Message,
43 NbtTag,
44 NbtPath,
49 Angle,
53 Swizzle,
54 Team,
56#if PROTOCOL_VERSION > 765 /* > 1.20.4 */
58#endif
60#if PROTOCOL_VERSION < 761 /* < 1.19.3 */
61 MobEffect,
62#endif
67#if PROTOCOL_VERSION < 761 /* < 1.19.3 */
68 ItemEnchantment,
69 EntitySummon,
70#endif
72#if PROTOCOL_VERSION > 760 /* > 1.19.2 */
74#endif
75 Time,
77#if PROTOCOL_VERSION > 760 /* > 1.19.2 */
79#endif
81#if PROTOCOL_VERSION > 760 /* > 1.19.2 */
83#endif
84#if PROTOCOL_VERSION > 769 /* > 1.21.4 */
86#endif
89#if PROTOCOL_VERSION > 761 /* > 1.19.3 */
91#endif
92#if PROTOCOL_VERSION > 765 /* > 1.20.4 */
96#endif
97#if PROTOCOL_VERSION > 770 /* > 1.21.5 */
98 Dialog,
99#endif
100 Uuid,
102 };
103#endif
104
106 {
107 public:
108 virtual ~BrigadierProperty() override;
109
110#if PROTOCOL_VERSION < 759 /* < 1.19 */
111 static std::shared_ptr<BrigadierProperty> CreateProperties(const Identifier& parser_identifier);
112#else
113 static std::shared_ptr<BrigadierProperty> CreateProperties(const BrigadierPropertyType parser_id);
114#endif
115 };
116}
117#endif
static std::shared_ptr< BrigadierProperty > CreateProperties(const BrigadierPropertyType parser_id)