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 GameVersion(::GameVersion const&);
38
39 MCAPI explicit GameVersion(::ListTag const& tag);
40
41 MCAPI GameVersion(uint major, uint minor, uint patch, uint revision, uint isBeta);
42
43 MCAPI bool operator<(::GameVersion const& other) const;
44
45 MCAPI ::GameVersion& operator=(::GameVersion&&);
46
47 MCAPI ::GameVersion& operator=(::GameVersion const&);
48
49 MCAPI bool operator>=(::GameVersion const& other) const;
50
51 MCAPI ::std::unique_ptr<::ListTag> serialize() const;
52
53 MCAPI ~GameVersion();
54 // NOLINTEND
55
56public:
57 // static functions
58 // NOLINTBEGIN
59 MCAPI static ::GameVersion current();
60 // NOLINTEND
61
62public:
63 // static variables
64 // NOLINTBEGIN
65 MCAPI static ::GameVersion const& Zero();
66 // NOLINTEND
67
68public:
69 // constructor thunks
70 // NOLINTBEGIN
71 MCAPI void* $ctor(::GameVersion const&);
72
73 MCAPI void* $ctor(::ListTag const& tag);
74
75 MCAPI void* $ctor(uint major, uint minor, uint patch, uint revision, uint isBeta);
76 // NOLINTEND
77
78public:
79 // destructor thunk
80 // NOLINTBEGIN
81 MCFOLD void $dtor();
82 // NOLINTEND
83};
Definition ListTag.h:20