LeviLamina
Loading...
Searching...
No Matches
MinEngineVersion.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/sem_ver/SemVersion.h"
7#include "mc/molang/MolangVersion.h"
8#include "mc/server/commands/CurrentCmdVersion.h"
9
10// auto generated forward declare list
11// clang-format off
12namespace Json { class Value; }
13// clang-format on
14
15class MinEngineVersion {
16public:
17 // member variables
18 // NOLINTBEGIN
19 ::ll::TypedStorage<8, 24, ::SemVersion> mSemVersion;
20 ::ll::TypedStorage<4, 4, ::CurrentCmdVersion> mCommandVersion;
21 ::ll::TypedStorage<2, 2, ::MolangVersion> mMolangVersion;
22 // NOLINTEND
23
24public:
25 // prevent constructor by default
26 MinEngineVersion();
27
28public:
29 // member functions
30 // NOLINTBEGIN
31 MCAPI explicit MinEngineVersion(::SemVersion const& version);
32
33 MCAPI ::Json::Value createJsonValue() const;
34
35#ifdef LL_PLAT_C
36 MCAPI ::SemVersion getSemVersion() const;
37#endif
38
39 MCAPI bool operator==(::MinEngineVersion const& rhs) const;
40 // NOLINTEND
41
42public:
43 // static functions
44 // NOLINTBEGIN
45 MCAPI static ::MinEngineVersion fromString(::std::string const& string);
46 // NOLINTEND
47
48public:
49 // constructor thunks
50 // NOLINTBEGIN
51 MCAPI void* $ctor(::SemVersion const& version);
52 // NOLINTEND
53};
Definition Value.h:16
Definition SemVersion.h:15