LeviLamina
Loading...
Searching...
No Matches
ChunkKey.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated inclusion list
6
#include "mc/world/level/ChunkPos.h"
7
#include "mc/world/level/dimension/DimensionType.h"
8
9
// auto generated forward declare list
10
// clang-format off
11
class
LevelChunk
;
12
// clang-format on
13
14
class
ChunkKey {
15
public
:
16
// member variables
17
// NOLINTBEGIN
18
::ll::TypedStorage<8, 8, ::ChunkPos const> pos;
19
::ll::TypedStorage<4, 4, ::DimensionType const> id;
20
// NOLINTEND
21
22
public
:
23
// prevent constructor by default
24
ChunkKey();
25
26
public
:
27
// member functions
28
// NOLINTBEGIN
29
MCAPI
explicit
ChunkKey(::std::string
const
& key);
30
31
MCAPI
explicit
ChunkKey(
::LevelChunk
const
& lc);
32
33
MCAPI ChunkKey(
::ChunkPos
const
& pos,
::DimensionType
id
);
34
35
MCAPI ::std::string_view asSpan()
const
;
36
37
MCAPI uint64 hashCode()
const
;
38
// NOLINTEND
39
40
public
:
41
// constructor thunks
42
// NOLINTBEGIN
43
MCAPI
void
* $ctor(::std::string
const
& key);
44
45
MCAPI
void
* $ctor(
::LevelChunk
const
& lc);
46
47
MCAPI
void
* $ctor(
::ChunkPos
const
& pos,
::DimensionType
id
);
48
// NOLINTEND
49
};
ChunkPos
Definition
ChunkPos.h:11
LevelChunk
Definition
LevelChunk.h:87
DimensionType
Definition
DimensionType.h:5
src
mc
world
level
chunk
ChunkKey.h
Generated on
for LeviLamina by
1.16.1