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