LeviLamina
Loading...
Searching...
No Matches
ScriptBookError.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
10namespace Scripting { struct EnumBinding; }
11namespace Scripting { struct ErrorBinding; }
12// clang-format on
13
14namespace ScriptModuleMinecraft {
15
17public:
18 // ScriptBookError inner types define
19 enum class Reason : uchar {
20 ExceedsMaxPageLength = 0,
21 ExceedsMaxPages = 1,
22 ExceedsTitleLength = 2,
23 };
24
25public:
26 // member variables
27 // NOLINTBEGIN
29 // NOLINTEND
30
31public:
32 // prevent constructor by default
33 ScriptBookError& operator=(ScriptBookError const&);
36
37public:
38 // member functions
39 // NOLINTBEGIN
40 MCNAPI ScriptBookError(::std::string_view name, ::ScriptModuleMinecraft::ScriptBookError::Reason reason);
41
43 // NOLINTEND
44
45public:
46 // static functions
47 // NOLINTBEGIN
48 MCNAPI static ::Scripting::ErrorBinding bind();
49
50 MCNAPI static ::Scripting::EnumBinding bindReasonEnum();
51 // NOLINTEND
52
53public:
54 // constructor thunks
55 // NOLINTBEGIN
56 MCNAPI void* $ctor(::std::string_view name, ::ScriptModuleMinecraft::ScriptBookError::Reason reason);
57 // NOLINTEND
58
59public:
60 // destructor thunk
61 // NOLINTBEGIN
62 MCNAPI void $dtor();
63 // NOLINTEND
64};
65
66} // namespace ScriptModuleMinecraft
Definition ScriptBookError.h:16
MCAPI ScriptBookError(::std::string_view name, ::ScriptModuleMinecraft::ScriptBookError::Reason reason)
MCAPI void * $ctor(::std::string_view name, ::ScriptModuleMinecraft::ScriptBookError::Reason reason)
static MCAPI ::Scripting::ErrorBinding bind()
static MCAPI ::Scripting::EnumBinding bindReasonEnum()
Definition BaseError.h:12
Definition Alias.h:14