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