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 MCNAPI Version();
25
27
28 MCNAPI Version(ushort major_, ushort minor_, ushort patch_, ::std::string preRelease_);
29
30 MCNAPI bool operator<(::Scripting::Version const& rhs) const;
31
32 MCNAPI ::Scripting::Version& operator=(::Scripting::Version&&);
33
34 MCNAPI bool operator==(::Scripting::Version const& rhs) const;
35
36 MCNAPI bool operator>(::Scripting::Version const& rhs) const;
37
38 MCNAPI bool operator>=(::Scripting::Version const& rhs) const;
39
40 MCNAPI bool satisfies(::Scripting::Version const& other, bool strict) const;
41
42 MCNAPI ::std::string toString() const;
43
44 MCNAPI ~Version();
45 // NOLINTEND
46
47public:
48 // constructor thunks
49 // NOLINTBEGIN
50 MCNAPI void* $ctor();
51
52 MCNAPI void* $ctor(::Scripting::Version const&);
53
54 MCNAPI void* $ctor(ushort major_, ushort minor_, ushort patch_, ::std::string preRelease_);
55 // NOLINTEND
56
57public:
58 // destructor thunk
59 // NOLINTBEGIN
60 MCNAPI void $dtor();
61 // NOLINTEND
62};
63
64} // namespace Scripting
Definition Version.h:7
MCAPI Version(ushort major_, ushort minor_, ushort patch_, ::std::string preRelease_)
MCAPI bool operator<(::Scripting::Version const &rhs) const
MCAPI bool satisfies(::Scripting::Version const &other, bool strict) const
MCAPI Version(::Scripting::Version const &)
MCAPI void * $ctor(::Scripting::Version const &)
MCAPI void * $ctor(ushort major_, ushort minor_, ushort patch_, ::std::string preRelease_)
MCAPI::std::string toString() const
MCAPI void * $ctor()
MCAPI void $dtor()
MCAPI bool operator>(::Scripting::Version const &rhs) const
MCAPI bool operator>=(::Scripting::Version const &rhs) const
MCAPI bool operator==(::Scripting::Version const &rhs) const
MCAPI::Scripting::Version & operator=(::Scripting::Version &&)
Definition Alias.h:14