LeviLamina
Loading...
Searching...
No Matches
CommandVersion.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated inclusion list
6
#include "mc/server/commands/CurrentCmdVersion.h"
7
8
// auto generated forward declare list
9
// clang-format off
10
class
SemVersion
;
11
// clang-format on
12
13
class
CommandVersion {
14
public
:
15
// member variables
16
// NOLINTBEGIN
17
int
mFrom;
18
int
mTo;
19
// NOLINTEND
20
21
public
:
22
CommandVersion(
int
from = 0,
int
to = 0x7FFFFFFF) : mFrom(from), mTo(to) {}
23
24
public
:
25
// member functions
26
// NOLINTBEGIN
27
#ifdef LL_PLAT_C
28
MCAPI
bool
isCompatible(
int
version)
const
;
29
#endif
30
// NOLINTEND
31
32
public
:
33
// static functions
34
// NOLINTBEGIN
35
MCAPI static ::CurrentCmdVersion
const
getVersionMapping(
::SemVersion
const
& engineVersion);
36
// NOLINTEND
37
};
SemVersion
Definition
SemVersion.h:15
src
mc
server
commands
CommandVersion.h
Generated on
for LeviLamina by
1.16.1