LeviLamina
Loading...
Searching...
No Matches
BlockLeashableDescription.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/NetworkedBlockComponentDescription.h"
8
9// auto generated forward declare list
10// clang-format off
12namespace cereal { struct ReflectionCtx; }
13// clang-format on
14
15struct BlockLeashableDescription : public ::NetworkedBlockComponentDescription<::BlockLeashableDescription> {
16public:
17 // member variables
18 // NOLINTBEGIN
19 ::ll::TypedStorage<4, 12, ::Vec3> mLeashKnotOffset;
20 // NOLINTEND
21
22public:
23 // virtual functions
24 // NOLINTBEGIN
25 virtual ~BlockLeashableDescription() /*override*/ = default;
26
27 virtual ::std::string const& getName() const /*override*/;
28
29 virtual void initializeComponent(::BlockComponentStorage& blockComponentStorage) const /*override*/;
30
31 virtual void initializeComponentFromCode(::BlockComponentStorage& blockComponentStorage) const /*override*/;
32 // NOLINTEND
33
34public:
35 // static functions
36 // NOLINTBEGIN
37 MCAPI static void bindType(::cereal::ReflectionCtx& ctx);
38 // NOLINTEND
39
40public:
41 // static variables
42 // NOLINTBEGIN
43 MCAPI static ::std::string const& NameID();
44 // NOLINTEND
45
46public:
47 // virtual function thunks
48 // NOLINTBEGIN
49 MCAPI ::std::string const& $getName() const;
50
51 MCAPI void $initializeComponent(::BlockComponentStorage& blockComponentStorage) const;
52
53 MCFOLD void $initializeComponentFromCode(::BlockComponentStorage& blockComponentStorage) const;
54
55
56 // NOLINTEND
57
58public:
59 // vftables
60 // NOLINTBEGIN
61 MCNAPI static void** $vftable();
62 // NOLINTEND
63};
Definition BlockComponentStorage.h:58
Definition NetworkedBlockComponentDescription.h:6
Definition BlockLeashableDescription.h:15
static MCAPI void ** $vftable()
Definition ReflectionCtx.h:11
Definition ctx.h:5