LeviLamina
Loading...
Searching...
No Matches
FogManager.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/utility/EnableNonOwnerReferences.h"
7#include "mc/deps/core/utility/NonOwnerPointer.h"
8#include "mc/deps/game_refs/WeakRef.h"
9
10// auto generated forward declare list
11// clang-format off
13struct FogDefinition;
14// clang-format on
15
17public:
18 // FogManager inner types declare
19 // clang-format off
20 struct Layer;
21 // clang-format on
22
23 // FogManager inner types define
24 enum class LayerType : int {
25 DataDefault = 0,
26 Biome = 1,
27 Volume = 2,
28 ServerDirected = 3,
29 };
30
31 struct Layer {
32 public:
33 // member variables
34 // NOLINTBEGIN
35 ::ll::TypedStorage<4, 4, ::FogManager::LayerType> mType;
36 ::ll::TypedStorage<8, 24, ::std::vector<::WeakRef<::FogDefinition const>>> mDefinitions;
37 ::ll::TypedStorage<4, 4, int> mPriority;
38 // NOLINTEND
39 };
40
41public:
42 // member variables
43 // NOLINTBEGIN
44 ::ll::TypedStorage<8, 24, ::std::vector<::FogManager::Layer>> mFogLayers;
45 ::ll::TypedStorage<8, 8, ::std::reference_wrapper<::FogDefinition const>> mEngineDefault;
46 // NOLINTEND
47
48public:
49 // virtual functions
50 // NOLINTBEGIN
51 virtual ~FogManager() /*override*/ = default;
52 // NOLINTEND
53
54public:
55 // member functions
56 // NOLINTBEGIN
57 MCAPI void _pushLayer(::FogManager::LayerType type, ::std::vector<::WeakRef<::FogDefinition const>> definitions);
58
59 MCAPI void pushFogDefinitionAverageLayer(
60 ::FogManager::LayerType type,
61 ::std::vector<::WeakRef<::FogDefinition const>> definitions
62 );
63
64 MCAPI void pushFogDefinitionLayer(::FogManager::LayerType type, ::WeakRef<::FogDefinition const> const& definition);
65
66 MCAPI void updateServerDirectedLayers(
67 ::std::vector<::std::string> const& fogStack,
68 ::Bedrock::NotNullNonOwnerPtr<::FogDefinitionRegistry const> fogRegistry
69 );
70 // NOLINTEND
71
72public:
73 // vftables
74 // NOLINTBEGIN
75 MCNAPI static void** $vftable();
76 // NOLINTEND
77};
Definition EnableNonOwnerReferences.h:7
Definition FogDefinitionRegistry.h:5
Definition FogManager.h:5
static MCAPI void ** $vftable()
Definition FogDefinition.h:5
Definition FogManager.h:15