LeviLamina
Loading...
Searching...
No Matches
ScriptMinecraftServerBindingModuleFactory.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/game_refs/WeakRef.h"
7#include "mc/deps/scripting/binding_factory/GenericModuleBindingFactory.h"
8
9// auto generated forward declare list
10// clang-format off
11class ServerLevel;
12namespace ScriptModuleMinecraft { class IComponentFactory; }
13namespace ScriptModuleMinecraft { class IScriptItemCustomComponentRegistry; }
14namespace ScriptModuleMinecraft { class ScriptBlockCustomComponentsRegistry; }
15namespace Scripting { class ModuleBindingBuilder; }
16namespace Scripting { struct ContextConfig; }
17namespace Scripting { struct ModuleBinding; }
18namespace Scripting { struct ModuleDependency; }
19namespace Scripting { struct ModuleDescriptor; }
20namespace Scripting { struct Version; }
21namespace mce { class UUID; }
22// clang-format on
23
25public:
26 // member variables
27 // NOLINTBEGIN
32 // NOLINTEND
33
34public:
35 // prevent constructor by default
39
40public:
41 // virtual functions
42 // NOLINTBEGIN
43 // vIndex: 0
44 virtual ~ScriptMinecraftServerBindingModuleFactory() /*override*/ = default;
45 // NOLINTEND
46
47public:
48 // member functions
49 // NOLINTBEGIN
51 ::ServerLevel* level,
54 bool importRestricted
55 );
56
57 MCNAPI void _addVersions();
58
59 MCNAPI ::Scripting::ModuleBinding _generateBindings(
61 ::std::optional<::Scripting::ContextConfig> const& contextConfig,
62 bool allowUntagged,
63 ::std::vector<::std::string> const& additionalTags
64 );
65 // NOLINTEND
66
67public:
68 // static functions
69 // NOLINTBEGIN
70 MCNAPI static ::std::unordered_map<::std::string, ::std::unique_ptr<::ScriptModuleMinecraft::IComponentFactory>>&
72
73 MCNAPI static ::Scripting::ModuleDependency makeModuleDependencyFor(::Scripting::Version version);
74
75 MCNAPI static ::Scripting::ModuleDescriptor makeModuleDescriptorFor(::Scripting::Version version);
76 // NOLINTEND
77
78public:
79 // static variables
80 // NOLINTBEGIN
81 MCNAPI static char const*& ModuleName();
82
83 MCNAPI static ::mce::UUID const& ModuleUUID();
84 // NOLINTEND
85
86public:
87 // constructor thunks
88 // NOLINTBEGIN
89 MCNAPI void* $ctor(
90 ::ServerLevel* level,
93 bool importRestricted
94 );
95 // NOLINTEND
96
97public:
98 // vftables
99 // NOLINTBEGIN
100 MCNAPI static void** $vftable();
101 // NOLINTEND
102};
Definition ScriptMinecraftServerBindingModuleFactory.h:24
MCAPI::Scripting::ModuleBinding _generateBindings(::Scripting::ModuleBindingBuilder &moduleBuilder, ::std::optional<::Scripting::ContextConfig > const &contextConfig, bool allowUntagged, ::std::vector<::std::string > const &additionalTags)
static MCAPI char const *& ModuleName()
static MCAPI ::Scripting::ModuleDependency makeModuleDependencyFor(::Scripting::Version version)
MCAPI ScriptMinecraftServerBindingModuleFactory(::ServerLevel *level, ::WeakRef<::ScriptModuleMinecraft::IScriptItemCustomComponentRegistry const > itemCustomComponentRegistry, ::WeakRef<::ScriptModuleMinecraft::ScriptBlockCustomComponentsRegistry const > blockCustomComponentRegistry, bool importRestricted)
static MCAPI ::mce::UUID const & ModuleUUID()
static MCAPI ::Scripting::ModuleDescriptor makeModuleDescriptorFor(::Scripting::Version version)
static MCAPI ::std::unordered_map<::std::string, ::std::unique_ptr<::ScriptModuleMinecraft::IComponentFactory > > & getActorComponentFactories()
MCAPI void * $ctor(::ServerLevel *level, ::WeakRef<::ScriptModuleMinecraft::IScriptItemCustomComponentRegistry const > itemCustomComponentRegistry, ::WeakRef<::ScriptModuleMinecraft::ScriptBlockCustomComponentsRegistry const > blockCustomComponentRegistry, bool importRestricted)
Definition GenericModuleBindingFactory.h:20
Definition ModuleBindingBuilder.h:29
Definition ServerLevel.h:62
Definition WeakRef.h:8
Definition Version.h:7
Definition Alias.h:14