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;
18// clang-format on
19
21public:
22 // LevelChunkTickingSystem inner types define
23 using LevelChunks = ::std::vector<::std::shared_ptr<::LevelChunk>>;
24
25public:
26 // member variables
27 // NOLINTBEGIN
28 ::ll::TypedStorage<8, 24, ::std::vector<::std::shared_ptr<::LevelChunk>>> mScratchLevelChunksToTick;
29 ::ll::TypedStorage<8, 24, ::std::vector<::std::shared_ptr<::LevelChunk>>> mScratchLevelChunksBlockEntitiesToTick;
30 // NOLINTEND
31
32public:
33 // virtual functions
34 // NOLINTBEGIN
35 virtual void tick(::EntityRegistry& registry) /*override*/;
36 // NOLINTEND
37
38public:
39 // member functions
40 // NOLINTBEGIN
41 MCAPI void
42 _tickLevelChunksAroundActor(::Actor& actor, ::BlockSource& region, ::LoadedChunksComponent& loadedChunksComponent);
43
44 MCAPI void _tickLevelChunksAroundActorView(
45 ::ActorOwnerComponent& actorOwnerComponent,
46 ::LoadedChunksComponent& loadedChunksComponent
47 );
48 // NOLINTEND
49
50public:
51 // static functions
52 // NOLINTBEGIN
53 MCAPI static void _determineLevelChunksToTick(
54 ::Actor const& actor,
55 ::BlockSource& region,
56 ::LoadedChunksComponent& loadedChunksComponent,
57 ::std::vector<::std::shared_ptr<::LevelChunk>>& levelChunksToTick,
58 ::std::vector<::std::shared_ptr<::LevelChunk>>& levelChunksBlockEntitiesToTick,
59 ::Tick const& currentTick
60 );
61
62 MCAPI static ::TickingSystemWithInfo createPlayerPassengerSystem();
63 // NOLINTEND
64
65public:
66 // virtual function thunks
67 // NOLINTBEGIN
68 MCAPI void $tick(::EntityRegistry& registry);
69
70
71 // NOLINTEND
72
73public:
74 // vftables
75 // NOLINTBEGIN
76 MCNAPI static void** $vftable();
77 // NOLINTEND
78};
Definition ActorOwnerComponent.h:10
Definition Actor.h:125
Definition BlockSource.h:73
Definition EntityRegistry.h:11
Definition ITickingSystem.h:15
Definition LevelChunkTickingSystem.h:20
static MCAPI void ** $vftable()
Definition LevelChunk.h:87
Definition LoadedChunksComponent.h:5
Definition Tick.h:5
Definition TickingSystemWithInfo.h:13