LeviLamina
Loading...
Searching...
No Matches
ScriptPluginResult.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/resource/PackIdVersion.h"
7#include "mc/deps/script_core/script_engine/scripting/ModuleDescriptor.h"
8
10public:
11 // ScriptPluginResult inner types declare
12 // clang-format off
13 struct Error;
14 struct Info;
15 struct Verbose;
16 struct Warning;
17 // clang-format on
18
19 // ScriptPluginResult inner types define
20 struct Error {
21 public:
22 // member variables
23 // NOLINTBEGIN
24 ::ll::TypedStorage<8, 32, ::std::string> message;
25 // NOLINTEND
26
27 public:
28 // member functions
29 // NOLINTBEGIN
30 MCAPI ~Error();
31 // NOLINTEND
32
33 public:
34 // destructor thunk
35 // NOLINTBEGIN
36 MCFOLD void $dtor();
37 // NOLINTEND
38 };
39
40 struct Info {
41 public:
42 // member variables
43 // NOLINTBEGIN
44 ::ll::TypedStorage<8, 32, ::std::string> message;
45 // NOLINTEND
46
47 public:
48 // member functions
49 // NOLINTBEGIN
50 MCAPI ~Info();
51 // NOLINTEND
52
53 public:
54 // destructor thunk
55 // NOLINTBEGIN
56 MCFOLD void $dtor();
57 // NOLINTEND
58 };
59
60 struct Verbose {
61 public:
62 // member variables
63 // NOLINTBEGIN
64 ::ll::TypedStorage<8, 32, ::std::string> message;
65 // NOLINTEND
66 };
67
68 struct Warning {
69 public:
70 // member variables
71 // NOLINTBEGIN
72 ::ll::TypedStorage<8, 32, ::std::string> message;
73 // NOLINTEND
74 };
75
76public:
77 // member variables
78 // NOLINTBEGIN
79 ::ll::TypedStorage<8, 48, ::PackIdVersion const> mPackId;
80 ::ll::TypedStorage<8, 96, ::Scripting::ModuleDescriptor const> mDescriptor;
81 ::ll::TypedStorage<8, 24, ::std::vector<::ScriptPluginResult::Error>> mErrors;
82 ::ll::TypedStorage<8, 24, ::std::vector<::ScriptPluginResult::Warning>> mWarnings;
83 ::ll::TypedStorage<8, 24, ::std::vector<::ScriptPluginResult::Info>> mInfos;
84 ::ll::TypedStorage<8, 24, ::std::vector<::ScriptPluginResult::Verbose>> mVerboses;
85 ::ll::TypedStorage<8, 8, ::std::chrono::microseconds> mRunDuration;
86 // NOLINTEND
87
88public:
89 // member functions
90 // NOLINTBEGIN
91 MCAPI void logError(::std::string const& error);
92
93 MCAPI void logInfo(::std::string const& info);
94
95#ifdef LL_PLAT_C
96 MCAPI ~ScriptPluginResult();
97#endif
98 // NOLINTEND
99
100public:
101 // destructor thunk
102 // NOLINTBEGIN
103#ifdef LL_PLAT_C
104 MCAPI void $dtor();
105#endif
106 // NOLINTEND
107};
Definition ScriptPluginResult.h:9
Definition ScriptPluginResult.h:20
Definition ScriptPluginResult.h:40
Definition ScriptPluginResult.h:60
Definition ScriptPluginResult.h:68