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/shared_types/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 virtual ~BlockRandomOffsetDescription() /*override*/ = default;
44
45 virtual ::std::string const& getName() const /*override*/;
46
47 virtual void initializeComponent(::BlockComponentStorage& blockComponentStorage) const /*override*/;
48
49 virtual void initializeComponentFromCode(::BlockComponentStorage& blockComponentStorage) const /*override*/;
50 // NOLINTEND
51
52public:
53 // static functions
54 // NOLINTBEGIN
55 MCAPI static void bindType(::cereal::ReflectionCtx& ctx);
56 // NOLINTEND
57
58public:
59 // static variables
60 // NOLINTBEGIN
61 MCAPI static ::std::string const& NameID();
62 // NOLINTEND
63
64public:
65 // virtual function thunks
66 // NOLINTBEGIN
67 MCAPI ::std::string const& $getName() const;
68
69 MCAPI void $initializeComponent(::BlockComponentStorage& blockComponentStorage) const;
70
71 MCFOLD void $initializeComponentFromCode(::BlockComponentStorage& blockComponentStorage) const;
72
73
74 // NOLINTEND
75
76public:
77 // vftables
78 // NOLINTBEGIN
79 MCNAPI static void** $vftable();
80 // NOLINTEND
81};
Definition BlockComponentStorage.h:58
Definition NetworkedBlockComponentDescription.h:6
STL namespace.
Definition BlockRandomOffsetDescription.h:23
Definition BlockRandomOffsetDescription.h:15
static MCAPI void ** $vftable()
Definition ReflectionCtx.h:11
Definition ctx.h:5