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 // member functions
26 // NOLINTBEGIN
27 MCAPI MinEngineVersion();
28
29 MCAPI explicit MinEngineVersion(::SemVersion const& version);
30
31 MCAPI ::std::string asString() const;
32
33 MCAPI ::Json::Value createJsonValue() const;
34
35 MCFOLD ::CurrentCmdVersion getCommandVersion() const;
36
37 MCAPI ::MolangVersion getMolangVersion() const;
38
39#ifdef LL_PLAT_C
40 MCAPI ::SemVersion getSemVersion() const;
41#endif
42
43 MCFOLD bool isValid() const;
44
45 MCAPI bool operator==(::MinEngineVersion const& rhs) const;
46 // NOLINTEND
47
48public:
49 // static functions
50 // NOLINTBEGIN
51 MCAPI static ::MinEngineVersion fromString(::std::string const& string);
52 // NOLINTEND
53
54public:
55 // constructor thunks
56 // NOLINTBEGIN
57 MCAPI void* $ctor();
58
59 MCAPI void* $ctor(::SemVersion const& version);
60 // NOLINTEND
61};
Definition Value.h:16
Definition SemVersion.h:15