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