Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
BlockSelectionBoxDescription.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/world/level/block/components/BlockComponentDescription.h"
8
9// auto generated forward declare list
10// clang-format off
12class CompoundTag;
13namespace cereal { struct ReflectionCtx; }
14// clang-format on
15
17public:
18 // member variables
19 // NOLINTBEGIN
20 ::ll::TypedStorage<1, 1, bool> mEnabled;
21 ::ll::TypedStorage<4, 12, ::Vec3> mOrigin;
22 ::ll::TypedStorage<4, 12, ::Vec3> mSize;
23 // NOLINTEND
24
25public:
26 // virtual functions
27 // NOLINTBEGIN
28 virtual ::std::string const& getName() const /*override*/;
29
30 virtual void initializeComponent(::BlockComponentStorage& blockComponentStorage) const /*override*/;
31
32 virtual void initializeComponentFromCode(::BlockComponentStorage& blockComponentStorage) const /*override*/;
33
34 virtual bool isNetworkComponent() const /*override*/;
35
36 virtual ::std::unique_ptr<::CompoundTag> buildNetworkTag(::cereal::ReflectionCtx const& ctx) const /*override*/;
37
38 virtual void initializeFromNetwork(::CompoundTag const& tag, ::cereal::ReflectionCtx const& ctx) /*override*/;
39 // NOLINTEND
40
41public:
42 // static functions
43 // NOLINTBEGIN
44 MCNAPI static void bindType(::cereal::ReflectionCtx& ctx);
45 // NOLINTEND
46
47public:
48 // static variables
49 // NOLINTBEGIN
50 MCNAPI static ::std::string const& NameID();
51 // NOLINTEND
52
53public:
54 // virtual function thunks
55 // NOLINTBEGIN
56 MCNAPI ::std::string const& $getName() const;
57
58 MCNAPI void $initializeComponent(::BlockComponentStorage& blockComponentStorage) const;
59
60 MCNAPI void $initializeComponentFromCode(::BlockComponentStorage& blockComponentStorage) const;
61
62 MCNAPI bool $isNetworkComponent() const;
63
64 MCNAPI ::std::unique_ptr<::CompoundTag> $buildNetworkTag(::cereal::ReflectionCtx const& ctx) const;
65
67
68
69 // NOLINTEND
70
71public:
72 // vftables
73 // NOLINTBEGIN
74 MCNAPI static void** $vftable();
75 // NOLINTEND
76};
Definition BlockComponentStorage.h:69
Definition CompoundTag.h:18
Definition BlockComponentDescription.h:20
Definition BlockSelectionBoxDescription.h:16
static MCAPI void ** $vftable()
MCAPI::std::string const & $getName() const
MCAPI bool $isNetworkComponent() const
MCAPI ::std::unique_ptr<::CompoundTag > $buildNetworkTag(::cereal::ReflectionCtx const &ctx) const
MCAPI void $initializeComponent(::BlockComponentStorage &blockComponentStorage) const
MCAPI void $initializeComponentFromCode(::BlockComponentStorage &blockComponentStorage) const
MCAPI void $initializeFromNetwork(::CompoundTag const &tag, ::cereal::ReflectionCtx const &ctx)
static MCAPI ::std::string const & NameID()
static MCAPI void bindType(::cereal::ReflectionCtx &ctx)
Definition ReflectionCtx.h:11
Definition ctx.h:5