LeviLamina
Loading...
Searching...
No Matches
BuoyancyComponent.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated forward declare list
6// clang-format off
9class SemVersion;
11// clang-format on
12
14public:
15 // member variables
16 // NOLINTBEGIN
17 ::ll::TypedStorage<4, 4, float> mBaseBuoyancy;
18 ::ll::TypedStorage<4, 4, float> mDragDownOnRemoval;
19 ::ll::TypedStorage<4, 4, float> mBigWaveProbability;
20 ::ll::TypedStorage<4, 4, float> mBigWaveSpeedMultiplier;
21 ::ll::TypedStorage<1, 1, bool> mSimulateWaves;
22 ::ll::TypedStorage<1, 1, bool> mApplyGravity;
23 ::ll::TypedStorage<8, 8, double> mTimer;
24 ::ll::TypedStorage<8, 24, ::std::vector<::BlockDescriptor>> mLiquidBlocks;
25 // NOLINTEND
26
27public:
28 // prevent constructor by default
30
31public:
32 // member functions
33 // NOLINTBEGIN
34 MCAPI bool canFloat(::StateVectorComponent const& stateVectorComponent, ::IConstBlockSource const& region) const;
35
36 MCAPI void loadData(::std::string const& data, ::SemVersion const& engineVersion);
37
38 MCAPI bool
39 needToResurface(::StateVectorComponent const& stateVectorComponent, ::IConstBlockSource const& region) const;
40
41 MCAPI ::BuoyancyComponent& operator=(::BuoyancyComponent const&);
42 // NOLINTEND
43};
Definition BlockDescriptor.h:19
Definition BuoyancyComponent.h:13
Definition IConstBlockSource.h:24
Definition SemVersion.h:15
Definition StateVectorComponent.h:10