LeviLamina
Loading...
Searching...
No Matches
SolidMobSystem.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/ecs/Optional.h"
7#include "mc/deps/ecs/ViewT.h"
8#include "mc/deps/ecs/strict/EntityModifier.h"
9#include "mc/deps/ecs/strict/Exclude.h"
10#include "mc/deps/ecs/strict/Include.h"
11#include "mc/deps/ecs/strict/OptionalGlobal.h"
12
13// auto generated forward declare list
14// clang-format off
15class AABB;
17class EntitySystems;
21class Vec3;
23struct ActorComponent;
32struct MobFlagComponent;
35struct OffsetsComponent;
40// clang-format on
41
42namespace SolidMobSystem {
43// functions
44// NOLINTBEGIN
45MCAPI ::TickingSystemWithInfo createRewindShapeRefreshSystem();
46
47MCAPI ::TickingSystemWithInfo createStoreNearbyMobsOnMoveRequestSystem();
48
49MCAPI void flagNearbyMobsForServerMovementCatchup(
50 ::StrictEntityContext const& player,
51 ::StateVectorComponent const& stateVector,
53 ::ViewT<
63 ::std::vector<::StrictEntityContext>& buffer
64);
65
66MCAPI void flagNearbyMobsForServerMovementCatchupSystem(
67 ::ViewT<
72 ::ViewT<
81);
82
83MCAPI void flagNearbyMobsFromSolidEntity(
84 ::StrictEntityContext const& solidMob,
85 ::IsSolidMobComponent const& solid,
86 ::AABBShapeComponent const& shape,
87 ::ViewT<
96 ::std::vector<::StrictEntityContext>& buffer
97);
98
99MCAPI void flagNearbyMobsFromSolidSystem(
100 ::ViewT<
105 ::AABBShapeComponent const> view,
106 ::ViewT<
115);
116
117MCAPI void flagSolidMobsFromNearbyEntity(
118 ::StrictEntityContext const& entity,
119 ::AABBShapeComponent const& shape,
125 ::std::vector<::StrictEntityContext>& buffer
126);
127
128MCAPI void flagSolidMobsFromNearbySystem(
129 ::ViewT<
139);
140
141MCAPI ::std::optional<::AABB> getLatestAABB(
142 ::StrictEntityContext const& e,
146);
147
148MCAPI ::std::optional<::Vec3> getLatestPosition(
149 ::StrictEntityContext const& e,
152);
153
154MCAPI void registerSystems(::EntitySystems& systems, bool isClientSide);
155
156MCAPI void storeNearbyMobsOnMoveRequest(
157 ::IsSolidMobNearbyComponent const& nearby,
158 ::DepenetrationComponent& depenetration,
160);
161// NOLINTEND
162
163} // namespace SolidMobSystem
Definition AABB.h:16
Definition ActorOwnerComponent.h:10
Definition EntityModifier.h:6
Definition EntitySystems.h:24
Definition LocalSpatialEntityFetcher.h:5
Definition OptionalGlobal.h:6
Definition Optional.h:8
Definition PredictedMovementComponent.h:17
Definition StrictEntityContext.h:10
Definition Vec3.h:10
Definition ViewT.h:6
Definition AABBShapeComponent.h:11
Definition ActorComponent.h:5
Definition ActorIsFirstTickFlagComponent.h:5
Definition ActorMovementTickNeededComponent.h:5
Definition DepenetrationComponent.h:11
Definition DimensionTypeComponent.h:13
Definition Exclude.h:6
Definition FallingBlockFlagComponent.h:5
Definition Include.h:6
Definition IsSolidMobComponent.h:10
Definition IsSolidMobNearbyComponent.h:15
Definition LocalSpatialEntityFetcherFactoryComponent.h:8
Definition MobFlagComponent.h:5
Definition MoveRequestComponent.h:13
Definition MovementInterpolatorComponent.h:11
Definition OffsetsComponent.h:10
Definition ServerCatchupMovementTrackerComponent.h:10
Definition ShouldBeSimulatedComponent.h:5
Definition StateVectorComponent.h:10
Definition TickingSystemWithInfo.h:11
Definition buffer.h:5