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
15public:
16 // member variables
17 // NOLINTBEGIN
20 // NOLINTEND
21
22public:
23 // prevent constructor by default
27
28public:
29 // virtual functions
30 // NOLINTBEGIN
31 // vIndex: 1
32 virtual ::PackManifest const& getManifest() /*override*/;
33
34 // vIndex: 2
35 virtual ::std::vector<::std::string> enumerateScripts(::std::string const& extension) /*override*/;
36
37 // vIndex: 3
38 virtual ::std::optional<::std::string> loadScript(::std::string const& path) /*override*/;
39
40 // vIndex: 4
41 virtual ::std::string removeRootFromPath(::std::string const& path) /*override*/;
42
43 // vIndex: 0
44 virtual ~ScriptPluginPackSource() /*override*/ = default;
45 // NOLINTEND
46
47public:
48 // member functions
49 // NOLINTBEGIN
50 MCNAPI ::Core::Path _removeRootFromPath(::Core::Path const& pathIn);
51 // NOLINTEND
52
53public:
54 // virtual function thunks
55 // NOLINTBEGIN
56 MCNAPI ::PackManifest const& $getManifest();
57
58 MCNAPI ::std::vector<::std::string> $enumerateScripts(::std::string const& extension);
59
60 MCNAPI ::std::optional<::std::string> $loadScript(::std::string const& path);
61
62 MCNAPI ::std::string $removeRootFromPath(::std::string const& path);
63 // NOLINTEND
64
65public:
66 // vftables
67 // NOLINTBEGIN
68 MCNAPI static void** $vftable();
69 // NOLINTEND
70};
Definition Path.h:17
Definition IScriptPluginSource.h:10
Definition PackManifest.h:31
Definition Path.h:16
Definition ScriptPluginPackSource.h:14
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