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
ClientLoadingProgressTickingSystem.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated inclusion list
6
#include "mc/deps/ecs/systems/ITickingSystem.h"
7
#include "mc/deps/game_refs/WeakRef.h"
8
#include "mc/world/actor/player/LoadingState.h"
9
10
// auto generated forward declare list
11
// clang-format off
12
class
ActorOwnerComponent
;
13
class
BlockSourceComponent
;
14
class
ChunkPos
;
15
class
DimensionStateComponent
;
16
class
EntityContext
;
17
class
EntityRegistry
;
18
class
LoadedChunksComponent
;
19
class
LoadingStateComponent
;
20
// clang-format on
21
22
class
ClientLoadingProgressTickingSystem
:
public
::ITickingSystem
{
23
public
:
24
// virtual functions
25
// NOLINTBEGIN
26
virtual
void
tick(
::EntityRegistry
& registry)
/*override*/
;
27
// NOLINTEND
28
29
public
:
30
// static functions
31
// NOLINTBEGIN
32
#ifdef LL_PLAT_C
33
MCNAPI
static
void
_calculateLoadingProgressView(
34
::ActorOwnerComponent
& actorOwnerComponent,
35
::BlockSourceComponent
& blockSourceComponent,
36
::DimensionStateComponent
& dimensionStateComponent,
37
::LoadedChunksComponent
& loadedChunksComponent,
38
::LoadingStateComponent
& loadingStateComponent,
39
bool
isTextureGroupReloading
40
);
41
42
MCNAPI
static
float
getLoadingProgress(
::WeakRef<::EntityContext>
entityRef);
43
44
MCNAPI static ::LoadingState getLoadingState(
::WeakRef<::EntityContext>
entityRef);
45
46
MCNAPI
static
bool
hasFinishedLoading(
::EntityContext
const
& entity);
47
48
MCNAPI
static
bool
hasFinishedLoading(
::WeakRef<::EntityContext>
entityRef);
49
#endif
50
// NOLINTEND
51
52
public
:
53
// static variables
54
// NOLINTBEGIN
55
MCNAPI static ::std::vector<::ChunkPos>
const
&
mChunksNeededForLoadOffsets
();
56
// NOLINTEND
57
58
public
:
59
// virtual function thunks
60
// NOLINTBEGIN
61
#ifdef LL_PLAT_C
62
MCNAPI
void
$tick(
::EntityRegistry
& registry);
63
#endif
64
65
66
// NOLINTEND
67
};
ActorOwnerComponent
Definition
ActorOwnerComponent.h:10
BlockSourceComponent
Definition
BlockSourceComponent.h:13
ChunkPos
Definition
ChunkPos.h:13
ClientLoadingProgressTickingSystem
Definition
ClientLoadingProgressTickingSystem.h:22
ClientLoadingProgressTickingSystem::mChunksNeededForLoadOffsets
static MCAPI ::std::vector<::ChunkPos > const & mChunksNeededForLoadOffsets()
DimensionStateComponent
Definition
DimensionStateComponent.h:5
EntityContext
Definition
EntityContext.h:15
EntityRegistry
Definition
EntityRegistry.h:10
ITickingSystem
Definition
ITickingSystem.h:15
LoadedChunksComponent
Definition
LoadedChunksComponent.h:5
LoadingStateComponent
Definition
LoadingStateComponent.h:8
WeakRef
Definition
WeakRef.h:8
src
mc
entity
systems
ClientLoadingProgressTickingSystem.h
Generated on
for LeviLamina by
1.16.1