LeviLamina
Loading...
Searching...
No Matches
Version.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5namespace Scripting {
6
7struct Version {
8public:
9 // member variables
10 // NOLINTBEGIN
15 // NOLINTEND
16
17public:
18 // prevent constructor by default
19 Version& operator=(Version const&);
20
21public:
22 // member functions
23 // NOLINTBEGIN
24 MCAPI Version();
25
26 MCAPI Version(::Scripting::Version const&);
27
28 MCAPI Version(ushort major_, ushort minor_, ushort patch_, ::std::string preRelease_);
29
30 MCAPI bool operator!=(::Scripting::Version const& rhs) const;
31
32 MCAPI bool operator<(::Scripting::Version const& rhs) const;
33
34 MCAPI ::Scripting::Version& operator=(::Scripting::Version&&);
35
36 MCAPI bool operator==(::Scripting::Version const& rhs) const;
37
38 MCAPI bool operator>=(::Scripting::Version const& rhs) const;
39
40 MCAPI bool satisfies(::Scripting::Version const& other, bool strict) const;
41
42 MCAPI ::std::string toString() const;
43
44 MCAPI ~Version();
45 // NOLINTEND
46
47public:
48 // constructor thunks
49 // NOLINTBEGIN
50 MCAPI void* $ctor();
51
52 MCAPI void* $ctor(::Scripting::Version const&);
53
54 MCAPI void* $ctor(ushort major_, ushort minor_, ushort patch_, ::std::string preRelease_);
55 // NOLINTEND
56
57public:
58 // destructor thunk
59 // NOLINTBEGIN
60 MCFOLD void $dtor();
61 // NOLINTEND
62};
63
64} // namespace Scripting
Definition Version.h:7
Definition Alias.h:14