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
// static functions
26
// NOLINTBEGIN
27
MCAPI static ::CurrentCmdVersion
const
getVersionMapping(
::SemVersion
const
& engineVersion);
28
// NOLINTEND
29
30
public
:
31
// static variables
32
// NOLINTBEGIN
33
MCAPI
static
int
const
& CurrentVersion();
34
// NOLINTEND
35
};
CommandVersion
Definition
CommandVersion.h:13
SemVersion
Definition
SemVersion.h:15
src
mc
server
commands
CommandVersion.h
Generated on Sat Apr 26 2025 05:55:56 for LeviLamina by
1.12.0