LeviLamina
Loading...
Searching...
No Matches
BlockFrictionDescription.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/level/block/components/BlockComponentDescription.h"
7
8// auto generated forward declare list
9// clang-format off
11class CompoundTag;
12namespace cereal { struct ReflectionCtx; }
13// clang-format on
14
16public:
17 // member variables
18 // NOLINTBEGIN
19 ::ll::TypedStorage<4, 4, float> mFriction;
20 // NOLINTEND
21
22public:
23 // virtual functions
24 // NOLINTBEGIN
25 // vIndex: 1
26 virtual ::std::string const& getName() const /*override*/;
27
28 // vIndex: 2
29 virtual void initializeComponent(::BlockComponentStorage& blockComponentStorage) const /*override*/;
30
31 // vIndex: 7
32 virtual bool isNetworkComponent() const /*override*/;
33
34 // vIndex: 8
35 virtual ::std::unique_ptr<::CompoundTag> buildNetworkTag(::cereal::ReflectionCtx const& ctx) const /*override*/;
36
37 // vIndex: 9
38 virtual void initializeFromNetwork(::CompoundTag const& tag, ::cereal::ReflectionCtx const& ctx) /*override*/;
39
40 // vIndex: 0
41 virtual ~BlockFrictionDescription() /*override*/ = default;
42 // NOLINTEND
43
44public:
45 // static variables
46 // NOLINTBEGIN
47 MCAPI static ::std::string const& NameID();
48 // NOLINTEND
49
50public:
51 // virtual function thunks
52 // NOLINTBEGIN
53 MCAPI ::std::string const& $getName() const;
54
55 MCAPI void $initializeComponent(::BlockComponentStorage& blockComponentStorage) const;
56
57 MCFOLD bool $isNetworkComponent() const;
58
59 MCAPI ::std::unique_ptr<::CompoundTag> $buildNetworkTag(::cereal::ReflectionCtx const& ctx) const;
60
61 MCAPI void $initializeFromNetwork(::CompoundTag const& tag, ::cereal::ReflectionCtx const& ctx);
62 // NOLINTEND
63
64public:
65 // vftables
66 // NOLINTBEGIN
67 MCNAPI static void** $vftable();
68 // NOLINTEND
69};
Definition BlockComponentStorage.h:53
Definition CompoundTag.h:13
Definition BlockComponentDescription.h:20
Definition BlockFrictionDescription.h:15
static MCAPI void ** $vftable()
Definition ReflectionCtx.h:11
Definition ctx.h:5