LeviLamina
Loading...
Searching...
No Matches
BreathableDefinition.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/util/json_util/JsonSchemaObjectNode.h"
7#include "mc/world/level/block/BlockDescriptor.h"
8
9// auto generated forward declare list
10// clang-format off
12class EntityContext;
13namespace JsonUtil { class EmptyClass; }
14// clang-format on
15
16class BreathableDefinition {
17public:
18 // member variables
19 // NOLINTBEGIN
20 ::ll::TypedStorage<4, 4, int> mTotalSupply;
21 ::ll::TypedStorage<4, 4, int> mSuffocateTime;
22 ::ll::TypedStorage<4, 4, float> mInhaleTime;
23 ::ll::TypedStorage<1, 1, bool> mBreathesAir;
24 ::ll::TypedStorage<1, 1, bool> mBreathesWater;
25 ::ll::TypedStorage<1, 1, bool> mBreathesLava;
26 ::ll::TypedStorage<1, 1, bool> mBreathesSolids;
27 ::ll::TypedStorage<1, 1, bool> mGeneratesBubbles;
28 ::ll::TypedStorage<8, 24, ::std::vector<::BlockDescriptor>> mBreathableBlocks;
29 ::ll::TypedStorage<8, 24, ::std::vector<::BlockDescriptor>> mNonBreathableBlocks;
30 // NOLINTEND
31
32public:
33 // member functions
34 // NOLINTBEGIN
35 MCAPI BreathableDefinition();
36
37 MCAPI void addBreathableBlockDescriptor(::BlockDescriptor const& blockDescriptor);
38
39 MCAPI void addNonBreathableBlockDescriptor(::BlockDescriptor const& blockDescriptor);
40
41 MCAPI void initialize(::EntityContext& entity, ::BreathableComponent& component) const;
42
43 MCAPI ~BreathableDefinition();
44 // NOLINTEND
45
46public:
47 // static functions
48 // NOLINTBEGIN
49 MCAPI static void buildSchema(
51 );
52 // NOLINTEND
53
54public:
55 // constructor thunks
56 // NOLINTBEGIN
57 MCAPI void* $ctor();
58 // NOLINTEND
59
60public:
61 // destructor thunk
62 // NOLINTBEGIN
63 MCFOLD void $dtor();
64 // NOLINTEND
65};
Definition BlockDescriptor.h:21
Definition BreathableComponent.h:15
Definition EntityContext.h:17
Definition EmptyClass.h:7
Definition JsonSchemaObjectNode.h:8