LeviLamina
Loading...
Searching...
No Matches
ScriptPackConfigurationManager.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/file/PathBuffer.h"
7#include "mc/deps/core/utility/EnableNonOwnerReferences.h"
8#include "mc/scripting/ScriptPackConfiguration.h"
9#include "mc/server/commands/CommandsRegistryConfiguration.h"
10
11// auto generated forward declare list
12// clang-format off
13namespace cereal { struct ReflectionCtx; }
14// clang-format on
15
17public:
18 // member variables
19 // NOLINTBEGIN
20 ::ll::TypedStorage<8, 40, ::std::optional<::Core::PathBuffer<::std::string>> const> mConfigDirectory;
21 ::ll::TypedStorage<8, 64, ::std::unordered_map<::std::string, ::ScriptPackConfiguration>> mPackConfigurations;
22 ::ll::TypedStorage<8, 224, ::ScriptPackConfiguration> mDefaultPackConfiguration;
23 ::ll::TypedStorage<8, 104, ::std::optional<::CommandsRegistryConfiguration>> mCommandsRegistryConfiguration;
24 // NOLINTEND
25
26public:
27 // prevent constructor by default
30
31public:
32 // virtual functions
33 // NOLINTBEGIN
34 // vIndex: 0
35 virtual ~ScriptPackConfigurationManager() /*override*/;
36 // NOLINTEND
37
38public:
39 // member functions
40 // NOLINTBEGIN
42
44
45 MCNAPI explicit ScriptPackConfigurationManager(::std::optional<::Core::PathBuffer<::std::string>> configDirectory);
46
47 MCNAPI ::ScriptPackConfiguration const& getPackConfiguration(::std::string const& packIdentifier) const;
48
50 // NOLINTEND
51
52public:
53 // static variables
54 // NOLINTBEGIN
55 MCNAPI static ::std::string const& sDefaultConfigurationName();
56 // NOLINTEND
57
58public:
59 // constructor thunks
60 // NOLINTBEGIN
62
64
65 MCNAPI void* $ctor(::std::optional<::Core::PathBuffer<::std::string>> configDirectory);
66 // NOLINTEND
67
68public:
69 // destructor thunk
70 // NOLINTBEGIN
71 MCNAPI void $dtor();
72 // NOLINTEND
73
74public:
75 // vftables
76 // NOLINTBEGIN
77 MCNAPI static void** $vftable();
78 // NOLINTEND
79};
Definition EnableNonOwnerReferences.h:7
Definition PathBuffer.h:8
Definition ScriptPackConfigurationManager.h:16
MCAPI ScriptPackConfigurationManager(::ScriptPackConfigurationManager &&)
MCAPI void * $ctor(::std::optional<::Core::PathBuffer<::std::string > > configDirectory)
static MCAPI ::std::string const & sDefaultConfigurationName()
MCAPI void loadConfigs(::cereal::ReflectionCtx ctx)
MCAPI ScriptPackConfigurationManager(::std::optional<::Core::PathBuffer<::std::string > > configDirectory)
static MCAPI void ** $vftable()
MCAPI void * $ctor(::ScriptPackConfigurationManager &&)
MCAPI ScriptPackConfigurationManager(::ScriptPackConfigurationManager const &)
MCAPI void * $ctor(::ScriptPackConfigurationManager const &)
MCAPI::ScriptPackConfiguration const & getPackConfiguration(::std::string const &packIdentifier) const
Definition ReflectionCtx.h:11
Definition ctx.h:5