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&);
35
36public:
37 // member functions
38 // NOLINTBEGIN
40
41 MCNAPI ScriptBookError(::std::string_view name, ::ScriptModuleMinecraft::ScriptBookError::Reason reason);
42
44 // NOLINTEND
45
46public:
47 // static functions
48 // NOLINTBEGIN
49 MCNAPI static ::Scripting::ErrorBinding bind();
50
51 MCNAPI static ::Scripting::EnumBinding bindReasonEnum();
52 // NOLINTEND
53
54public:
55 // constructor thunks
56 // NOLINTBEGIN
58
59 MCNAPI void* $ctor(::std::string_view name, ::ScriptModuleMinecraft::ScriptBookError::Reason reason);
60 // NOLINTEND
61
62public:
63 // destructor thunk
64 // NOLINTBEGIN
65 MCNAPI void $dtor();
66 // NOLINTEND
67};
68
69} // 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()
MCAPI ScriptBookError(::ScriptModuleMinecraft::ScriptBookError const &)
MCAPI void * $ctor(::ScriptModuleMinecraft::ScriptBookError const &)
static MCAPI ::Scripting::EnumBinding bindReasonEnum()
Definition BaseError.h:12
Definition Alias.h:14