LeviLamina
Loading...
Searching...
No Matches
LevelChunkTickingSystem.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
8// auto generated forward declare list
9// clang-format off
10class Actor;
12class BlockSource;
13class EntityRegistry;
14class LevelChunk;
16struct Tick;
17// clang-format on
18
20public:
21 // virtual functions
22 // NOLINTBEGIN
23 // vIndex: 2
24 virtual void tick(::EntityRegistry& registry) /*override*/;
25
26 // vIndex: 0
27 virtual ~LevelChunkTickingSystem() /*override*/ = default;
28 // NOLINTEND
29
30public:
31 // static functions
32 // NOLINTBEGIN
33 MCNAPI static void _determineLevelChunksToTick(
34 ::Actor const& actor,
35 ::BlockSource& region,
36 ::LoadedChunksComponent& loadedChunksComponent,
37 ::std::vector<::std::shared_ptr<::LevelChunk>>& levelChunksToTick,
38 ::std::vector<::std::shared_ptr<::LevelChunk>>& levelChunksBlockEntitiesToTick,
39 ::Tick const& currentTick
40 );
41
42 MCNAPI static void
44
46 ::ActorOwnerComponent& actorOwnerComponent,
47 ::LoadedChunksComponent& loadedChunksComponent
48 );
49 // NOLINTEND
50
51public:
52 // virtual function thunks
53 // NOLINTBEGIN
54 MCNAPI void $tick(::EntityRegistry& registry);
55 // NOLINTEND
56
57public:
58 // vftables
59 // NOLINTBEGIN
60 MCNAPI static void** $vftable();
61 // NOLINTEND
62};
Definition ActorOwnerComponent.h:10
Definition Actor.h:103
Definition BlockSource.h:67
Definition EntityRegistry.h:11
Definition ITickingSystem.h:15
Definition LevelChunkTickingSystem.h:19
MCAPI void $tick(::EntityRegistry &registry)
static MCAPI void _tickLevelChunksAroundActorView(::ActorOwnerComponent &actorOwnerComponent, ::LoadedChunksComponent &loadedChunksComponent)
static MCAPI void ** $vftable()
static MCAPI void _tickLevelChunksAroundActor(::Actor &actor, ::BlockSource &region, ::LoadedChunksComponent &loadedChunksComponent)
static MCAPI void _determineLevelChunksToTick(::Actor const &actor, ::BlockSource &region, ::LoadedChunksComponent &loadedChunksComponent, ::std::vector<::std::shared_ptr<::LevelChunk > > &levelChunksToTick, ::std::vector<::std::shared_ptr<::LevelChunk > > &levelChunksBlockEntitiesToTick, ::Tick const &currentTick)
Definition LevelChunk.h:74
Definition LoadedChunksComponent.h:5
Definition Tick.h:5