Skip to content
LeviMC
Home
Projects
Docs
6
LeviLamina
Mod loader for Minecraft Bedrock Edition
LegacyScriptEngine
Runs LLSE script plugins on LeviLamina
lip
General package installer
LeviLauncher
Bedrock launcher for Windows and Android
Be.D.D.
Scripted client input for mod tests
bedboo
Bedrock bots with a mineflayer-compatible API
All repositories on GitHub
Mods
Blog
Community
About
English
English
简体中文
繁體中文
Auto
Light
Dark
Auto
Light
Dark
LeviLamina
User Guides
Developer Guides
API Guides
API Reference
Maintainer Guides
Resources
LeviLamina on GitHub
LeviMC
Home
Projects
Docs
6
LeviLamina
Mod loader for Minecraft Bedrock Edition
LegacyScriptEngine
Runs LLSE script plugins on LeviLamina
lip
General package installer
LeviLauncher
Bedrock launcher for Windows and Android
Be.D.D.
Scripted client input for mod tests
bedboo
Bedrock bots with a mineflayer-compatible API
All repositories on GitHub
Mods
Blog
Community
About
API Reference
On this page
LeviLamina
User Guides
Developer Guides
API Guides
API Reference
Maintainer Guides
Search
Ctrl
K
Loading...
Searching...
No Matches
IntegerSequenceCodec.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
namespace
astc_codec {
6
7
class
IntegerSequenceCodec {
8
public
:
9
// IntegerSequenceCodec inner types define
10
enum class
EncodingMode :
int
{
11
KTritEncoding = 0,
12
KQuintEncoding = 1,
13
KBitEncoding = 2,
14
};
15
16
public
:
17
// member variables
18
// NOLINTBEGIN
19
::ll::UntypedStorage<4, 4>
mUnk8a234d;
20
::ll::UntypedStorage<4, 4>
mUnk1d06f7;
21
// NOLINTEND
22
23
public
:
24
// prevent constructor by default
25
IntegerSequenceCodec& operator=(IntegerSequenceCodec
const
&);
26
IntegerSequenceCodec(IntegerSequenceCodec
const
&);
27
IntegerSequenceCodec();
28
29
public
:
30
// member functions
31
// NOLINTBEGIN
32
#ifdef LL_PLAT_C
33
MCNAPI
explicit
IntegerSequenceCodec(
int
range);
34
#endif
35
// NOLINTEND
36
37
public
:
38
// static functions
39
// NOLINTBEGIN
40
#ifdef LL_PLAT_C
41
MCNAPI
static
int
GetBitCount(
int
num_vals,
int
trits,
int
quints,
int
bits);
42
43
MCNAPI
static
int
GetBitCountForRange(
int
num_vals,
int
range);
44
45
MCNAPI
static
void
GetCountsForRange(
int
range,
int
* trits,
int
* quints,
int
* bits);
46
#endif
47
// NOLINTEND
48
49
public
:
50
// constructor thunks
51
// NOLINTBEGIN
52
#ifdef LL_PLAT_C
53
MCNAPI
void
* $ctor(
int
range);
54
#endif
55
// NOLINTEND
56
};
57
58
}
// namespace astc_codec
ll::UntypedStorage
Definition
Alias.h:14
src
mc
external
render_dragon
externals
astc_codec
decoder
IntegerSequenceCodec.h
Generated on
for LeviLamina by
1.16.1