LeviLamina
Loading...
Searching...
No Matches
PositionSource.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/math/Vec3.h"
7#include "mc/deps/shared_types/legacy/actor/ActorLocation.h"
8#include "mc/legacy/ActorUniqueID.h"
9
10// auto generated forward declare list
11// clang-format off
12class BlockSource;
13class CompoundTag;
14// clang-format on
15
16namespace GameEvents {
17
19public:
20 // PositionSource inner types define
21 using ActorWithAttachPos = ::std::pair<::ActorUniqueID, ::SharedTypes::Legacy::ActorLocation>;
22
23public:
24 // member variables
25 // NOLINTBEGIN
26 ::ll::
27 TypedStorage<8, 24, ::std::variant<::std::pair<::ActorUniqueID, ::SharedTypes::Legacy::ActorLocation>, ::Vec3>>
28 mVariant;
29 // NOLINTEND
30
31public:
32 // member functions
33 // NOLINTBEGIN
34 MCAPI void serializeTo(::CompoundTag& tag) const;
35 // NOLINTEND
36
37public:
38 // static functions
39 // NOLINTBEGIN
40#ifdef LL_PLAT_C
41 MCAPI static ::std::optional<::Vec3>
42 extractPosition(::CompoundTag const& data, char const* tagName, ::BlockSource const& region);
43#endif
44 // NOLINTEND
45};
46
47} // namespace GameEvents
Definition BlockSource.h:71
Definition CompoundTag.h:18
Definition PositionSource.h:18
Definition Vec3.h:10