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
15namespace cereal { struct ReflectionCtx; }
16// clang-format on
17
18struct BlockFlammableDescription : public ::BlockComponentDescription {
19public:
20 // member variables
21 // NOLINTBEGIN
22 ::ll::TypedStorage<1, 1, ::LavaFlammable> mLavaFlammable;
23 ::ll::TypedStorage<4, 4, int> mCatchChanceModifier;
24 ::ll::TypedStorage<4, 4, int> mDestroyChanceModifier;
25 // NOLINTEND
26
27public:
28 // prevent constructor by default
29 BlockFlammableDescription();
30
31public:
32 // virtual functions
33 // NOLINTBEGIN
34 virtual ::std::string const& getName() const /*override*/;
35
36 virtual void initializeComponentFromCode(::BlockComponentStorage& blockComponentStorage) const /*override*/;
37
38 virtual void initializeComponent(::BlockComponentStorage& blockComponentStorage) const /*override*/;
39 // NOLINTEND
40
41public:
42 // member functions
43 // NOLINTBEGIN
44 MCAPI BlockFlammableDescription(
45 ::FlameOdds catchChanceModifier,
46 ::BurnOdds destroyChanceModifier,
47 ::LavaFlammable lavaFlammable
48 );
49 // NOLINTEND
50
51public:
52 // static functions
53 // NOLINTBEGIN
54 MCAPI static void bindType(::cereal::ReflectionCtx& ctx);
55
56 MCAPI static void registerVersionUpgrades(::CerealSchemaUpgradeSet& schemaUpgrades);
57 // NOLINTEND
58
59public:
60 // static variables
61 // NOLINTBEGIN
62 MCAPI static ::std::string const& NameID();
63 // NOLINTEND
64
65public:
66 // constructor thunks
67 // NOLINTBEGIN
68 MCAPI void* $ctor(::FlameOdds catchChanceModifier, ::BurnOdds destroyChanceModifier, ::LavaFlammable lavaFlammable);
69 // NOLINTEND
70
71public:
72 // virtual function thunks
73 // NOLINTBEGIN
74 MCAPI ::std::string const& $getName() const;
75
76 MCFOLD void $initializeComponentFromCode(::BlockComponentStorage& blockComponentStorage) const;
77
78 MCFOLD void $initializeComponent(::BlockComponentStorage& blockComponentStorage) const;
79
80
81 // NOLINTEND
82
83public:
84 // vftables
85 // NOLINTBEGIN
86 MCNAPI static void** $vftable();
87 // NOLINTEND
88};
Definition BlockComponentStorage.h:63
Definition CerealSchemaUpgradeSet.h:10
Definition BlockComponentDescription.h:20
static MCAPI void ** $vftable()
Definition ReflectionCtx.h:11
Definition ctx.h:5