LeviLamina
Loading...
Searching...
No Matches
FogDefinitionRegistry.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/string/HashedString.h"
7#include "mc/deps/core/utility/EnableNonOwnerReferences.h"
8#include "mc/deps/core/utility/NonOwnerPointer.h"
9#include "mc/deps/game_refs/OwnerPtr.h"
10#include "mc/deps/game_refs/WeakRef.h"
11
12// auto generated forward declare list
13// clang-format off
17struct FogDefinition;
18namespace Json { class Value; }
19// clang-format on
20
22public:
23 // member variables
24 // NOLINTBEGIN
25 ::ll::TypedStorage<8, 16, ::WeakRef<::FogDefinition const>> mDefaultFogDefinition;
26 ::ll::TypedStorage<8, 64, ::std::unordered_map<::HashedString, ::OwnerPtr<::FogDefinition const>>>
27 mFogDefinitionMap;
28 ::ll::TypedStorage<8, 64, ::std::unordered_map<::HashedString, ::OwnerPtr<::FogDefinition const>>>
29 mBackCompatFogDefinitionMap;
30 ::ll::TypedStorage<8, 64, ::std::unordered_map<::HashedString, ::OwnerPtr<::FogDefinition const>>>
31 mMergedFogDefinitionMap;
32 // NOLINTEND
33
34public:
35 // virtual functions
36 // NOLINTBEGIN
37 virtual ~FogDefinitionRegistry() /*override*/ = default;
38 // NOLINTEND
39
40public:
41 // member functions
42 // NOLINTBEGIN
43 MCAPI FogDefinitionRegistry();
44
45 MCAPI void load(::ResourcePackManager& rpm, ::Bedrock::NonOwnerPointer<::LinkedAssetValidator> validator);
46
47 MCAPI ::WeakRef<::FogDefinition const>
48 registerBackCompatFogDefinition(::OwnerPtr<::FogDefinition const> definition);
49
50 MCAPI ::WeakRef<::FogDefinition const> registerFogDefinition(::OwnerPtr<::FogDefinition const> definition);
51
52 MCAPI void registerFogFromJson(
53 ::std::string const& rawJson,
54 ::MinEngineVersion const& minEngineVersion,
55 bool isBaseGamePack,
56 ::Bedrock::NonOwnerPointer<::LinkedAssetValidator> validator
57 );
58
59 MCAPI ::WeakRef<::FogDefinition const> registerMergedFogDefinition(
60 ::std::vector<::WeakRef<::FogDefinition const>> fogReferences,
61 ::std::string const& biome
62 );
63 // NOLINTEND
64
65public:
66 // static functions
67 // NOLINTBEGIN
68 MCAPI static ::std::optional<::std::string> parseFogDefinitionIdentifier(::Json::Value const& root);
69 // NOLINTEND
70
71public:
72 // constructor thunks
73 // NOLINTBEGIN
74 MCAPI void* $ctor();
75 // NOLINTEND
76
77public:
78 // vftables
79 // NOLINTBEGIN
80 MCNAPI static void** $vftable();
81 // NOLINTEND
82};
Definition EnableNonOwnerReferences.h:7
Definition FogDefinitionRegistry.h:5
static MCAPI void ** $vftable()
Definition Value.h:16
Definition LinkedAssetValidator.h:8
Definition MinEngineVersion.h:10
Definition ResourcePackManager.h:30
Definition FogDefinition.h:5