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
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
27
28public:
29 // member functions
30 // NOLINTBEGIN
31 MCNAPI ScriptCommandError(::std::string message, ::ScriptModuleMinecraft::ScriptCommandError::ErrorType type);
32
33 MCNAPI ScriptCommandError(::std::string messages, ::MCRESULT const& result);
34
36 // NOLINTEND
37
38public:
39 // static functions
40 // NOLINTBEGIN
41 MCNAPI static ::Scripting::ErrorBinding bind();
42 // NOLINTEND
43
44public:
45 // constructor thunks
46 // NOLINTBEGIN
47 MCNAPI void* $ctor(::std::string message, ::ScriptModuleMinecraft::ScriptCommandError::ErrorType type);
48
49 MCNAPI void* $ctor(::std::string messages, ::MCRESULT const& result);
50 // NOLINTEND
51
52public:
53 // destructor thunk
54 // NOLINTBEGIN
55 MCNAPI void $dtor();
56 // NOLINTEND
57};
58
59} // namespace ScriptModuleMinecraft
Definition MCRESULT.h:8
Definition ScriptCommandError.h:16
MCAPI void * $ctor(::std::string messages, ::MCRESULT const &result)
MCAPI ScriptCommandError(::std::string message, ::ScriptModuleMinecraft::ScriptCommandError::ErrorType type)
MCAPI void * $ctor(::std::string message, ::ScriptModuleMinecraft::ScriptCommandError::ErrorType type)
static MCAPI ::Scripting::ErrorBinding bind()
MCAPI ScriptCommandError(::std::string messages, ::MCRESULT const &result)
Definition BaseError.h:12