LeviLamina
Loading...
Searching...
No Matches
PropertyOutOfBoundsError.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 ErrorBinding; }
11// clang-format on
12
13namespace Scripting {
14
15struct PropertyOutOfBoundsError : public ::Scripting::BaseError {
16public:
17 // member variables
18 // NOLINTBEGIN
19 ::ll::TypedStorage<8, 8, double> value;
20 ::ll::TypedStorage<8, 16, ::std::optional<double>> minValue;
21 ::ll::TypedStorage<8, 16, ::std::optional<double>> maxValue;
22 // NOLINTEND
23
24public:
25 // prevent constructor by default
26 PropertyOutOfBoundsError();
27
28public:
29 // member functions
30 // NOLINTBEGIN
31 MCAPI PropertyOutOfBoundsError(
32 ::std::string const& propertyName,
33 ::std::optional<double> minValue_,
34 ::std::optional<double> maxValue_
35 );
36
37 MCAPI PropertyOutOfBoundsError(
38 ::std::string const& propertyName,
39 double value_,
40 ::std::optional<double> minValue_,
41 ::std::optional<double> maxValue_
42 );
43 // NOLINTEND
44
45public:
46 // static functions
47 // NOLINTBEGIN
48 MCAPI static ::Scripting::ErrorBinding bind();
49 // NOLINTEND
50
51public:
52 // constructor thunks
53 // NOLINTBEGIN
54 MCAPI void*
55 $ctor(::std::string const& propertyName, ::std::optional<double> minValue_, ::std::optional<double> maxValue_);
56
57 MCAPI void* $ctor(
58 ::std::string const& propertyName,
59 double value_,
60 ::std::optional<double> minValue_,
61 ::std::optional<double> maxValue_
62 );
63 // NOLINTEND
64};
65
66} // namespace Scripting
Definition BaseError.h:12
Definition ErrorBinding.h:16