LeviLamina
Loading...
Searching...
No Matches
BlockCullingGroup.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/molang/MolangVersion.h"
10
11// auto generated forward declare list
12// clang-format off
16struct BlockCullingData;
17namespace PuvLoadData { struct LoadResultWithTiming; }
18namespace cereal { struct ReflectionCtx; }
19// clang-format on
20
22public:
23 // member variables
24 // NOLINTBEGIN
25 ::ll::TypedStorage<8, 16, ::std::map<::HashedString, ::BlockCullingData>> mBlockCullingDataMap;
26 ::ll::TypedStorage<8, 8, ::IMinecraftEventing&> mEventing;
27 // NOLINTEND
28
29public:
30 // prevent constructor by default
31 BlockCullingGroup& operator=(BlockCullingGroup const&);
32 BlockCullingGroup(BlockCullingGroup const&);
33 BlockCullingGroup();
34
35public:
36 // virtual functions
37 // NOLINTBEGIN
38 virtual ~BlockCullingGroup() /*override*/ = default;
39 // NOLINTEND
40
41public:
42 // member functions
43 // NOLINTBEGIN
44 MCAPI explicit BlockCullingGroup(::IMinecraftEventing& eventing);
45
46 MCAPI ::PuvLoadData::LoadResultWithTiming _parseBlockCullingData(
47 ::std::string_view fileWithExtension,
48 ::std::string const& fileData,
49 ::MolangVersion molangVersion,
50 bool isBaseGamePack,
51 ::cereal::ReflectionCtx const& ctx
52 );
53
54 MCAPI void loadBlockCullingDataAsync(
55 ::ResourcePackManager& resourcePackManager,
56 ::Bedrock::NotNullNonOwnerPtr<::ResourceLoadManager> resourceLoadManager,
57 ::cereal::ReflectionCtx const& ctx
58 );
59 // NOLINTEND
60
61public:
62 // static functions
63 // NOLINTBEGIN
64 MCAPI static ::std::optional<::BlockCullingData> parseBlockCullingData(
65 ::std::string_view fileWithExtension,
66 ::std::string const& fileData,
67 ::MolangVersion molangVersion,
68 bool isBaseGamePack,
69 ::cereal::ReflectionCtx const& ctx
70 );
71 // NOLINTEND
72
73public:
74 // constructor thunks
75 // NOLINTBEGIN
76 MCAPI void* $ctor(::IMinecraftEventing& eventing);
77 // NOLINTEND
78
79public:
80 // vftables
81 // NOLINTBEGIN
82 MCNAPI static void** $vftable();
83 // NOLINTEND
84};
Definition EnableNonOwnerReferences.h:7
Definition BlockCullingGroup.h:5
static MCAPI void ** $vftable()
Definition IMinecraftEventing.h:138
Definition ResourceLoadManager.h:19
Definition ResourcePackManager.h:35
Definition BlockCullingData.h:5
Definition LoadResultWithTiming.h:7
Definition ReflectionCtx.h:11