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