LeviLamina
Loading...
Searching...
No Matches
IModuleBindingFactory.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated forward declare list
6// clang-format off
7namespace Scripting { struct ContextConfig; }
8namespace Scripting { struct ModuleBinding; }
9namespace Scripting { struct ModuleDescriptor; }
10namespace Scripting { struct UUID; }
11namespace Scripting { struct Version; }
12// clang-format on
13
14namespace Scripting {
15
17public:
18 // virtual functions
19 // NOLINTBEGIN
20 // vIndex: 0
21 virtual ~IModuleBindingFactory() = default;
22
23 // vIndex: 1
24 virtual ::std::string getName() const = 0;
25
26 // vIndex: 2
27 virtual ::Scripting::UUID getUUID() const = 0;
28
29 // vIndex: 3
30 virtual bool hasAlias(::std::string const&) const = 0;
31
32 // vIndex: 4
33 virtual ::std::vector<::Scripting::Version> getSupportedVersions() const = 0;
34
35 // vIndex: 5
36 virtual ::std::vector<::Scripting::ModuleDescriptor> getDependencies(::Scripting::Version) const = 0;
37
38 // vIndex: 6
39 virtual ::std::optional<::Scripting::ModuleBinding>
40 createModuleBinding(::Scripting::Version, ::std::optional<::Scripting::ContextConfig> const&) = 0;
41 // NOLINTEND
42
43public:
44 // destructor thunk
45 // NOLINTBEGIN
46
47 // NOLINTEND
48
49public:
50 // virtual function thunks
51 // NOLINTBEGIN
52
53 // NOLINTEND
54
55public:
56 // vftables
57 // NOLINTBEGIN
58 MCAPI static void** $vftable();
59 // NOLINTEND
60};
61
62} // namespace Scripting
Definition IModuleBindingFactory.h:16
Definition Version.h:7