LeviLamina
Loading...
Searching...
No Matches
BlockRandomOffsetDescription.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/shared_types/versionless/FloatRange.h"
7#include "mc/world/level/block/components/NetworkedBlockComponentDescription.h"
8
9// auto generated forward declare list
10// clang-format off
12namespace cereal { struct ReflectionCtx; }
13// clang-format on
14
15struct BlockRandomOffsetDescription : public ::NetworkedBlockComponentDescription<::BlockRandomOffsetDescription> {
16public:
17 // BlockRandomOffsetDescription inner types declare
18 // clang-format off
19 struct RangeAndSteps;
20 // clang-format on
21
22 // BlockRandomOffsetDescription inner types define
24 public:
25 // member variables
26 // NOLINTBEGIN
27 ::ll::TypedStorage<4, 8, ::SharedTypes::FloatRange> mRange;
28 ::ll::TypedStorage<4, 4, uint> mSteps;
29 // NOLINTEND
30 };
31
32public:
33 // member variables
34 // NOLINTBEGIN
35 ::ll::TypedStorage<4, 12, ::BlockRandomOffsetDescription::RangeAndSteps> mRangeX;
36 ::ll::TypedStorage<4, 12, ::BlockRandomOffsetDescription::RangeAndSteps> mRangeY;
37 ::ll::TypedStorage<4, 12, ::BlockRandomOffsetDescription::RangeAndSteps> mRangeZ;
38 // NOLINTEND
39
40public:
41 // virtual functions
42 // NOLINTBEGIN
43 // vIndex: 0
44 virtual ~BlockRandomOffsetDescription() /*override*/ = default;
45
46 // vIndex: 1
47 virtual ::std::string const& getName() const /*override*/;
48
49 // vIndex: 2
50 virtual void initializeComponent(::BlockComponentStorage& blockComponentStorage) const /*override*/;
51
52 // vIndex: 4
53 virtual void initializeComponentFromCode(::BlockComponentStorage& blockComponentStorage) const /*override*/;
54 // NOLINTEND
55
56public:
57 // static functions
58 // NOLINTBEGIN
59 MCAPI static void bindType(::cereal::ReflectionCtx& ctx);
60 // NOLINTEND
61
62public:
63 // static variables
64 // NOLINTBEGIN
65 MCAPI static ::std::string const& NameID();
66 // NOLINTEND
67
68public:
69 // virtual function thunks
70 // NOLINTBEGIN
71 MCAPI ::std::string const& $getName() const;
72
73 MCAPI void $initializeComponent(::BlockComponentStorage& blockComponentStorage) const;
74
75 MCFOLD void $initializeComponentFromCode(::BlockComponentStorage& blockComponentStorage) const;
76 // NOLINTEND
77
78public:
79 // vftables
80 // NOLINTBEGIN
81 MCNAPI static void** $vftable();
82 // NOLINTEND
83};
Definition BlockComponentStorage.h:53
Definition NetworkedBlockComponentDescription.h:6
STL namespace.
Definition BlockRandomOffsetDescription.h:23
Definition BlockRandomOffsetDescription.h:15
static MCAPI void ** $vftable()
Definition ctx.h:5