LeviLamina
Loading...
Searching...
No Matches
GameVersion.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated forward declare list
6// clang-format off
7class ListTag;
8// clang-format on
9
10class GameVersion {
11public:
12 // GameVersion inner types define
13 enum class Octet : uint {
14 Major = 0,
15 Minor = 1,
16 Patch = 2,
17 Revision = 3,
18 Beta = 4,
19 NumOctets = 5,
20 Invalid = 5,
21 };
22
23public:
24 // member variables
25 // NOLINTBEGIN
26 ::ll::TypedStorage<4, 20, uint[5]> mDigit;
27 ::ll::TypedStorage<8, 32, ::std::string> mString;
28 // NOLINTEND
29
30public:
31 // prevent constructor by default
32 GameVersion();
33
34public:
35 // member functions
36 // NOLINTBEGIN
37 MCAPI explicit GameVersion(::ListTag const& tag);
38
39 MCAPI GameVersion(uint major, uint minor, uint patch, uint revision, uint isBeta);
40
41#ifdef LL_PLAT_C
42 MCAPI bool operator!=(::GameVersion const& other) const;
43#endif
44
45 MCAPI bool operator<(::GameVersion const& other) const;
46
47 MCAPI bool operator>=(::GameVersion const& other) const;
48
49 MCAPI ::std::unique_ptr<::ListTag> serialize() const;
50
51 MCAPI ~GameVersion();
52 // NOLINTEND
53
54public:
55 // static variables
56 // NOLINTBEGIN
57 MCAPI static ::GameVersion const& Zero();
58 // NOLINTEND
59
60public:
61 // constructor thunks
62 // NOLINTBEGIN
63 MCAPI void* $ctor(::ListTag const& tag);
64
65 MCAPI void* $ctor(uint major, uint minor, uint patch, uint revision, uint isBeta);
66 // NOLINTEND
67
68public:
69 // destructor thunk
70 // NOLINTBEGIN
71 MCFOLD void $dtor();
72 // NOLINTEND
73};
Definition ListTag.h:19