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
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& operator=(GameVersion const&);
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 bool operator>=(::GameVersion const& other) const;
48
49 MCAPI ~GameVersion();
50 // NOLINTEND
51
52public:
53 // static functions
54 // NOLINTBEGIN
55 MCAPI static ::GameVersion current();
56 // NOLINTEND
57
58public:
59 // constructor thunks
60 // NOLINTBEGIN
61 MCAPI void* $ctor(::GameVersion const&);
62
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 GameVersion.h:10
Definition ListTag.h:12