Botcraft 26.3
Loading...
Searching...
No Matches
TrackedWaypoint.hpp
Go to the documentation of this file.
1#if PROTOCOL_VERSION > 770 /* > 1.21.5 */
2#pragma once
3
4#include <memory>
5
8
11
12namespace ProtocolCraft
13{
15 {
16 None = -1,
17 Empty,
18 Vec3i,
19 Chunk,
20 Azimuth,
22 };
23
24 class TrackedWaypointData;
25
37}
38#endif
static std::shared_ptr< TrackedWaypointData > CreateTrackedWaypointData(const TrackedWaypointDataType type)
SERIALIZED_FIELD(Identifier, Either< UUID, std::string >)
SERIALIZED_FIELD(Icon, WaypointIcon)
SERIALIZED_DYNAMIC_FIELD(TrackedWaypoint, Type, Data, TrackedWaypointData, TrackedWaypoint::CreateTrackedWaypointData, Internal::DiffType< TrackedWaypointDataType, VarInt >)
Just a simple type wrapper that will store with T1 and serialize as T2 (can be used for Enum/VarInt f...
Definition Templates.hpp:72