LeviLamina
Loading...
Searching...
No Matches
ScriptPluginPackSource.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/scripting/IScriptPluginSource.h"
7
8// auto generated forward declare list
9// clang-format off
10class PackManifest;
11namespace Core { class Path; }
12// clang-format on
13
14class ScriptPluginPackSource : public ::IScriptPluginSource {
15public:
16 // member variables
17 // NOLINTBEGIN
20 // NOLINTEND
21
22public:
23 // prevent constructor by default
24 ScriptPluginPackSource& operator=(ScriptPluginPackSource const&);
25 ScriptPluginPackSource(ScriptPluginPackSource const&);
26 ScriptPluginPackSource();
27
28public:
29 // virtual functions
30 // NOLINTBEGIN
31 virtual ::PackManifest const& getManifest() /*override*/;
32
33 virtual ::std::vector<::std::string> enumerateScripts(::std::string const& extension) /*override*/;
34
35 virtual ::std::optional<::std::string> loadScript(::std::string const& path) /*override*/;
36
37 virtual ::std::string removeRootFromPath(::std::string const& path) /*override*/;
38
39 virtual ~ScriptPluginPackSource() /*override*/ = default;
40 // NOLINTEND
41
42public:
43 // member functions
44 // NOLINTBEGIN
45 MCNAPI ::Core::Path _removeRootFromPath(::Core::Path const& pathIn);
46 // NOLINTEND
47
48public:
49 // virtual function thunks
50 // NOLINTBEGIN
51 MCNAPI ::PackManifest const& $getManifest();
52
53 MCNAPI ::std::vector<::std::string> $enumerateScripts(::std::string const& extension);
54
55 MCNAPI ::std::optional<::std::string> $loadScript(::std::string const& path);
56
57 MCNAPI ::std::string $removeRootFromPath(::std::string const& path);
58
59
60 // NOLINTEND
61
62public:
63 // vftables
64 // NOLINTBEGIN
65 MCNAPI static void** $vftable();
66 // NOLINTEND
67};
Definition Path.h:10
Definition IScriptPluginSource.h:10
Definition PackManifest.h:37
static MCAPI void ** $vftable()
MCAPI ::std::optional<::std::string > $loadScript(::std::string const &path)
MCAPI ::std::vector<::std::string > $enumerateScripts(::std::string const &extension)
MCAPI::std::string $removeRootFromPath(::std::string const &path)
MCAPI::Core::Path _removeRootFromPath(::Core::Path const &pathIn)
MCAPI::PackManifest const & $getManifest()
Definition Alias.h:14