LeviLamina
Loading...
Searching...
No Matches
BlockFlammableDescription.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/level/block/BurnOdds.h"
7#include "mc/world/level/block/FlameOdds.h"
8#include "mc/world/level/block/LavaFlammable.h"
9#include "mc/world/level/block/components/BlockComponentDescription.h"
10
11// auto generated forward declare list
12// clang-format off
14namespace cereal { struct ReflectionCtx; }
15// clang-format on
16
17struct BlockFlammableDescription : public ::BlockComponentDescription {
18public:
19 // member variables
20 // NOLINTBEGIN
21 ::ll::TypedStorage<1, 1, ::LavaFlammable> mLavaFlammable;
22 ::ll::TypedStorage<4, 4, int> mCatchChanceModifier;
23 ::ll::TypedStorage<4, 4, int> mDestroyChanceModifier;
24 // NOLINTEND
25
26public:
27 // prevent constructor by default
28 BlockFlammableDescription();
29
30public:
31 // virtual functions
32 // NOLINTBEGIN
33 virtual ::std::string const& getName() const /*override*/;
34
35 virtual void initializeComponentFromCode(::BlockComponentStorage& blockComponentStorage) const /*override*/;
36
37 virtual void initializeComponent(::BlockComponentStorage& blockComponentStorage) const /*override*/;
38
39 virtual ~BlockFlammableDescription() /*override*/;
40 // NOLINTEND
41
42public:
43 // member functions
44 // NOLINTBEGIN
45 MCAPI BlockFlammableDescription(
46 ::FlameOdds catchChanceModifier,
47 ::BurnOdds destroyChanceModifier,
48 ::LavaFlammable lavaFlammable
49 );
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 // constructor thunks
66 // NOLINTBEGIN
67 MCAPI void* $ctor(::FlameOdds catchChanceModifier, ::BurnOdds destroyChanceModifier, ::LavaFlammable lavaFlammable);
68 // NOLINTEND
69
70public:
71 // destructor thunk
72 // NOLINTBEGIN
73 MCFOLD void $dtor();
74 // NOLINTEND
75
76public:
77 // virtual function thunks
78 // NOLINTBEGIN
79 MCAPI ::std::string const& $getName() const;
80
81 MCFOLD void $initializeComponentFromCode(::BlockComponentStorage& blockComponentStorage) const;
82
83 MCFOLD void $initializeComponent(::BlockComponentStorage& blockComponentStorage) const;
84
85
86 // NOLINTEND
87
88public:
89 // vftables
90 // NOLINTBEGIN
91 MCNAPI static void** $vftable();
92 // NOLINTEND
93};
Definition BlockComponentStorage.h:58
Definition BlockComponentDescription.h:20
static MCAPI void ** $vftable()
Definition ReflectionCtx.h:11
Definition ctx.h:5