LeviLamina
Loading...
Searching...
No Matches
LevelArguments.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/common/SubClientId.h"
7#include "mc/deps/core/utility/NonOwnerPointer.h"
8#include "mc/deps/game_refs/OwnerPtr.h"
9#include "mc/deps/game_refs/StackRefResult.h"
10#include "mc/deps/game_refs/WeakRef.h"
11#include "mc/platform/brstd/function_ref.h"
12#include "mc/world/item/registry/ItemRegistryRef.h"
13
14// auto generated forward declare list
15// clang-format off
17class BehaviorFactory;
19class EntityContext;
22class ILevel;
25class LevelData;
30class PacketSender;
32class PauseManager;
33class Scheduler;
36namespace VoxelShapes { class VoxelShapeRegistry; }
37namespace br::worldgen { class StructureSetRegistry; }
38// clang-format on
39
40struct LevelArguments {
41public:
42 // member variables
43 // NOLINTBEGIN
44 ::ll::TypedStorage<8, 24, ::Bedrock::NotNullNonOwnerPtr<::PacketSender>> mPacketSender;
45 ::ll::TypedStorage<
46 8,
47 16,
49 ::std::unique_ptr<::LevelSoundManager>(::Bedrock::NotNullNonOwnerPtr<::LevelEventCoordinator>)>>
50 mCreateLevelSoundManager;
51 ::ll::TypedStorage<8, 8, ::IMinecraftEventing&> mEventing;
52 ::ll::TypedStorage<8, 24, ::Bedrock::NotNullNonOwnerPtr<::StructureManager>> mStructureManager;
53 ::ll::TypedStorage<8, 8, ::Scheduler&> mCallbackContext;
54 ::ll::TypedStorage<8, 8, ::Bedrock::NotNullNonOwnerPtr<::IEntityRegistryOwner> const&> mEntityRegistryOwner;
55 ::ll::TypedStorage<8, 24, ::WeakRef<::EntityContext> const> mLevelEntity;
56 ::ll::TypedStorage<1, 1, bool> mClientSideChunkGenerationEnabled;
57 ::ll::TypedStorage<1, 1, bool> mBlockNetworkIdsAreHashes;
58 ::ll::TypedStorage<8, 24, ::Bedrock::NotNullNonOwnerPtr<::BlockTypeRegistry>> mBlockRegistry;
59 ::ll::TypedStorage<8, 16, ::ItemRegistryRef const> mItemRegistry;
60 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::LevelStorageManager>> mLevelStorageManager;
61 ::ll::TypedStorage<8, 16, ::brstd::function_ref<::std::unique_ptr<::LevelCrashDumpManager>()>>
62 mCreateLevelCrashDumpManager;
63 ::ll::
64 TypedStorage<8, 16, ::brstd::function_ref<::OwnerPtr<::EntitySystemsManager>(::StackRefResult<::PauseManager>)>>
65 mCreateEntitySystemsManager;
66 ::ll::
67 TypedStorage<8, 16, ::brstd::function_ref<::std::unique_ptr<::AutomationBehaviorTreeGroup>(::BehaviorFactory&)>>
68 mCreateAutomationTree;
69 ::ll::TypedStorage<
70 8,
71 16,
73 ::Bedrock::NotNullNonOwnerPtr<::ILevel>,
75 )>>
76 mCreateDimensionFactoryAndManager;
77 ::ll::TypedStorage<1, 1, ::SubClientId> mSubClientId;
78 ::ll::TypedStorage<8, 24, ::Bedrock::NonOwnerPointer<::LinkedAssetValidator>> mValidator;
79 ::ll::TypedStorage<8, 24, ::Bedrock::NotNullNonOwnerPtr<::LevelData>> mLevelData;
80 ::ll::TypedStorage<1, 1, bool> mIsClientSide;
81 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::ParticleProvider>> mParticles;
82 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::VoxelShapes::VoxelShapeRegistry>> mShapeRegistry;
83 // NOLINTEND
84
85public:
86 // prevent constructor by default
87 LevelArguments& operator=(LevelArguments const&);
88 LevelArguments(LevelArguments const&);
89 LevelArguments();
90
91public:
92 // member functions
93 // NOLINTBEGIN
94#ifdef LL_PLAT_C
95 MCAPI ~LevelArguments();
96#endif
97 // NOLINTEND
98
99public:
100 // destructor thunk
101 // NOLINTBEGIN
102#ifdef LL_PLAT_C
103 MCAPI void $dtor();
104#endif
105 // NOLINTEND
106};
Definition AutomationBehaviorTreeGroup.h:15
Definition BehaviorFactory.h:13
Definition BlockTypeRegistry.h:25
Definition EntityContext.h:15
Definition EntitySystemsManager.h:17
Definition IEntityRegistryOwner.h:14
Definition ILevel.h:220
Definition IMinecraftEventing.h:145
Definition LevelCrashDumpManager.h:9
Definition LevelData.h:55
Definition LevelEventCoordinator.h:21
Definition LevelSoundManager.h:31
Definition LevelStorageManager.h:26
Definition LinkedAssetValidator.h:8
Definition PacketSender.h:17
Definition ParticleProvider.h:25
Definition PauseManager.h:10
Definition Scheduler.h:14
Definition StackRefResult.h:7
Definition StructureManager.h:37
Definition VoxelShapeRegistry.h:14
Definition StructureSetRegistry.h:12
Definition function_ref.h:60
Definition DimensionFactoryAndManager.h:14