LeviLamina
Loading...
Searching...
No Matches
ScriptCommandError.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/scripting/runtime/BaseError.h"
7
8// auto generated forward declare list
9// clang-format off
10struct MCRESULT;
11namespace Scripting { struct ErrorBinding; }
12// clang-format on
13
14namespace ScriptModuleMinecraft {
15
16struct ScriptCommandError : public ::Scripting::BaseError {
17public:
18 // ScriptCommandError inner types define
19 enum class ErrorType : int {
20 Parsing = 0,
21 Executing = 1,
22 };
23
24public:
25 // prevent constructor by default
26 ScriptCommandError();
27
28public:
29 // member functions
30 // NOLINTBEGIN
31 MCAPI ScriptCommandError(::std::string message, ::ScriptModuleMinecraft::ScriptCommandError::ErrorType type);
32
33 MCAPI ScriptCommandError(::std::string messages, ::MCRESULT const& result);
34 // NOLINTEND
35
36public:
37 // static functions
38 // NOLINTBEGIN
39 MCAPI static ::Scripting::ErrorBinding bind();
40 // NOLINTEND
41
42public:
43 // constructor thunks
44 // NOLINTBEGIN
45 MCAPI void* $ctor(::std::string message, ::ScriptModuleMinecraft::ScriptCommandError::ErrorType type);
46
47 MCAPI void* $ctor(::std::string messages, ::MCRESULT const& result);
48 // NOLINTEND
49};
50
51} // namespace ScriptModuleMinecraft
Definition MCRESULT.h:8
Definition BaseError.h:12
Definition ErrorBinding.h:16