LeviLamina
Loading...
Searching...
No Matches
LevelChunkAndSubChunkLoggingData.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated forward declare list
6
// clang-format off
7
class
ChunkPos
;
8
class
SubChunkPos
;
9
// clang-format on
10
11
struct
LevelChunkAndSubChunkLoggingData
{
12
public
:
13
// LevelChunkAndSubChunkLoggingData inner types declare
14
// clang-format off
15
struct
CollatedLogEntry
;
16
struct
LogEntry
;
17
// clang-format on
18
19
// LevelChunkAndSubChunkLoggingData inner types define
20
struct
CollatedLogEntry
{
21
public
:
22
// member variables
23
// NOLINTBEGIN
24
::ll::TypedStorage<4, 4, ::std::chrono::duration<float, ::std::ratio<1, 1>>> mElapsedTime;
25
::ll::TypedStorage<8, 32, ::std::string> mClientOrServer;
26
::ll::TypedStorage<8, 32, ::std::string> mType;
27
::ll::TypedStorage<8, 32, ::std::string> mMessage;
28
// NOLINTEND
29
};
30
31
struct
LogEntry
{
32
public
:
33
// member variables
34
// NOLINTBEGIN
35
::ll::TypedStorage<8, 8, ::std::chrono::steady_clock::time_point> mTimePoint;
36
::ll::TypedStorage<8, 32, ::std::string> mLogEntry;
37
::ll::TypedStorage<1, 1, bool> mIsClientSide;
38
// NOLINTEND
39
};
40
41
public
:
42
// static functions
43
// NOLINTBEGIN
44
#ifdef LL_PLAT_C
45
MCFOLD
static
void
logGeneralEvent(
char
const
* message,
bool
isClientSide);
46
#endif
47
48
MCFOLD
static
void
logLevelChunkEvent(
::ChunkPos
const
& chunkPos,
char
const
* message,
bool
isClientSide);
49
50
MCFOLD
static
void
logSubChunkEvent(
::SubChunkPos
const
& subChunkPos,
char
const
* message,
bool
isClientSide);
51
// NOLINTEND
52
};
ChunkPos
Definition
ChunkPos.h:11
SubChunkPos
Definition
SubChunkPos.h:5
LevelChunkAndSubChunkLoggingData::CollatedLogEntry
Definition
LevelChunkAndSubChunkLoggingData.h:20
LevelChunkAndSubChunkLoggingData::LogEntry
Definition
LevelChunkAndSubChunkLoggingData.h:31
LevelChunkAndSubChunkLoggingData
Definition
LevelChunkAndSubChunkLoggingData.h:11
src
mc
world
level
chunk
LevelChunkAndSubChunkLoggingData.h
Generated on
for LeviLamina by
1.16.1