Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
SystemImpl.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/ecs/strict/AddRemove.h"
7#include "mc/deps/ecs/strict/EntityFactoryT.h"
8#include "mc/deps/ecs/strict/Filter.h"
9#include "mc/deps/ecs/strict/GlobalRead.h"
10#include "mc/deps/ecs/strict/GlobalWrite.h"
11#include "mc/deps/ecs/strict/IStrictTickingSystem.h"
12#include "mc/deps/ecs/strict/Read.h"
13#include "mc/deps/ecs/strict/StrictExecutionContext.h"
14#include "mc/deps/ecs/strict/Write.h"
15#include "mc/entity/systems/update_bounding_box/SystemParams.h"
16
17// auto generated forward declare list
18// clang-format off
25struct OffsetsComponent;
26struct PlayerComponent;
29// clang-format on
30
31namespace UpdateBoundingBox {
32
33struct SystemImpl : public ::IStrictTickingSystem<::StrictExecutionContext<
34 ::Filter<::PlayerComponent, ::MinecartFlagComponent, ::ShulkerFlagComponent>,
35 ::Read<>,
36 ::Write<
37 ::AABBShapeComponent,
38 ::ActorDataBoundingBoxComponent,
39 ::ActorDataDirtyFlagsComponent,
40 ::DepenetrationComponent,
41 ::OffsetsComponent>,
42 ::AddRemove<::ShouldUpdateBoundingBoxRequestComponent>,
43 ::GlobalRead<>,
44 ::GlobalWrite<>,
45 ::EntityFactoryT<>>> {
46public:
47 // SystemImpl inner types define
51 ::Write<
61
62public:
63 // member variables
64 // NOLINTBEGIN
65 ::ll::TypedStorage<4, 4, float const> mSneakHeight;
66 ::ll::TypedStorage<1, 1, bool const> mIsClientSide;
67 ::ll::TypedStorage<8, 632, ::std::optional<::UpdateBoundingBox::SystemParams>> mParams;
68 // NOLINTEND
69
70public:
71 // virtual functions
72 // NOLINTBEGIN
73 virtual void tick(
77 ::Write<
86 ::EntityFactoryT<>>& executionContext
87 ) /*override*/;
88
89 virtual void singleTick(
93 ::Write<
102 ::EntityFactoryT<>>& executionContext,
103 ::StrictEntityContext& entityContext
104 ) /*override*/;
105 // NOLINTEND
106
107public:
108 // virtual function thunks
109 // NOLINTBEGIN
110 MCNAPI void $tick(
113 ::Read<>,
114 ::Write<
123 ::EntityFactoryT<>>& executionContext
124 );
125
126 MCNAPI void $singleTick(
129 ::Read<>,
130 ::Write<
139 ::EntityFactoryT<>>& executionContext,
140 ::StrictEntityContext& entityContext
141 );
142
143
144 // NOLINTEND
145
146public:
147 // vftables
148 // NOLINTBEGIN
149 MCNAPI static void** $vftable();
150 // NOLINTEND
151};
152
153} // namespace UpdateBoundingBox
Definition IStrictTickingSystem.h:6
Definition StrictEntityContext.h:8
Definition StrictExecutionContext.h:6
Definition AABBShapeComponent.h:9
Definition ActorDataBoundingBoxComponent.h:8
Definition ActorDataDirtyFlagsComponent.h:5
Definition AddRemove.h:6
Definition DepenetrationComponent.h:13
Definition EntityFactoryT.h:6
Definition Filter.h:6
Definition GlobalRead.h:6
Definition GlobalWrite.h:6
Definition MinecartFlagComponent.h:5
Definition OffsetsComponent.h:8
Definition PlayerComponent.h:5
Definition Read.h:6
Definition ShouldUpdateBoundingBoxRequestComponent.h:5
Definition ShulkerFlagComponent.h:5
Definition SystemImpl.h:45
MCAPI void $singleTick(::StrictExecutionContext< ::Filter<::PlayerComponent, ::MinecartFlagComponent, ::ShulkerFlagComponent >, ::Read<>, ::Write< ::AABBShapeComponent, ::ActorDataBoundingBoxComponent, ::ActorDataDirtyFlagsComponent, ::DepenetrationComponent, ::OffsetsComponent >, ::AddRemove<::ShouldUpdateBoundingBoxRequestComponent >, ::GlobalRead<>, ::GlobalWrite<>, ::EntityFactoryT<> > &executionContext, ::StrictEntityContext &entityContext)
MCAPI void $tick(::StrictExecutionContext< ::Filter<::PlayerComponent, ::MinecartFlagComponent, ::ShulkerFlagComponent >, ::Read<>, ::Write< ::AABBShapeComponent, ::ActorDataBoundingBoxComponent, ::ActorDataDirtyFlagsComponent, ::DepenetrationComponent, ::OffsetsComponent >, ::AddRemove<::ShouldUpdateBoundingBoxRequestComponent >, ::GlobalRead<>, ::GlobalWrite<>, ::EntityFactoryT<> > &executionContext)
static MCAPI void ** $vftable()
Definition Write.h:6