LeviLamina
Loading...
Searching...
No Matches
ScriptContainerRulesError.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 // ScriptContainerRulesError inner types define
19 enum class Reason : int {
20 OverWeightLimit = 0,
21 NotAllowedItem = 1,
22 BannedItem = 2,
23 NestedStorageItem = 3,
24 ZeroWeightItem = 4,
25 Invalid = 5,
26 };
27
28public:
29 // member variables
30 // NOLINTBEGIN
32 // NOLINTEND
33
34public:
35 // prevent constructor by default
39
40public:
41 // member functions
42 // NOLINTBEGIN
43 MCNAPI explicit ScriptContainerRulesError(::std::string const& errorMessage);
44
46 // NOLINTEND
47
48public:
49 // static functions
50 // NOLINTBEGIN
51 MCNAPI static ::Scripting::ErrorBinding bind();
52
53 MCNAPI static ::Scripting::EnumBinding bindReasonEnum();
54 // NOLINTEND
55
56public:
57 // constructor thunks
58 // NOLINTBEGIN
59 MCNAPI void* $ctor(::std::string const& errorMessage);
60 // NOLINTEND
61
62public:
63 // destructor thunk
64 // NOLINTBEGIN
65 MCNAPI void $dtor();
66 // NOLINTEND
67};
68
69} // namespace ScriptModuleMinecraft
Definition ScriptContainerRulesError.h:16
static MCAPI ::Scripting::ErrorBinding bind()
MCAPI ScriptContainerRulesError(::std::string const &errorMessage)
MCAPI void * $ctor(::std::string const &errorMessage)
static MCAPI ::Scripting::EnumBinding bindReasonEnum()
Definition BaseError.h:12
Definition Alias.h:14