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
16class EntitySystems;
20class Vec3;
22struct ActorComponent;
31struct MobFlagComponent;
37// clang-format on
38
39namespace SolidMobSystem {
40// functions
41// NOLINTBEGIN
42MCNAPI ::TickingSystemWithInfo createRewindShapeRefreshSystem();
43
44MCNAPI void flagNearbyMobsForServerMovementCatchup(
45 ::StrictEntityContext const& player,
46 ::StateVectorComponent const& stateVector,
48 ::ViewT<
58 ::std::vector<::StrictEntityContext>& buffer
59);
60
61MCNAPI void flagNearbyMobsForServerMovementCatchupSystem(
62 ::ViewT<
67 ::ViewT<
76);
77
78MCNAPI void flagNearbyMobsFromSolidEntity(
79 ::StrictEntityContext const& solidMob,
80 ::IsSolidMobComponent const& solid,
81 ::AABBShapeComponent const& shape,
82 ::ViewT<
91 ::std::vector<::StrictEntityContext>& buffer
92);
93
94MCNAPI void flagNearbyMobsFromSolidSystem(
95 ::ViewT<
100 ::AABBShapeComponent const> view,
101 ::ViewT<
110);
111
112MCNAPI void flagSolidMobsFromNearbyEntity(
113 ::StrictEntityContext const& entity,
114 ::AABBShapeComponent const& shape,
120 ::std::vector<::StrictEntityContext>& buffer
121);
122
123MCNAPI ::std::optional<::Vec3> getLatestPosition(
124 ::StrictEntityContext const& e,
127);
128
129MCNAPI void registerSystems(::EntitySystems& systems, bool isClientSide);
130
131MCNAPI void storeNearbyMobsOnMoveRequest(
132 ::IsSolidMobNearbyComponent const& nearby,
133 ::DepenetrationComponent& depenetration,
135);
136// NOLINTEND
137
138} // namespace SolidMobSystem
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:18
Definition StrictEntityContext.h:8
Definition Vec3.h:10
Definition ViewT.h:6
Definition AABBShapeComponent.h:9
Definition ActorComponent.h:5
Definition ActorIsFirstTickFlagComponent.h:5
Definition ActorMovementTickNeededComponent.h:5
Definition DepenetrationComponent.h:13
Definition DimensionTypeComponent.h:13
Definition Exclude.h:6
Definition FallingBlockFlagComponent.h:5
Definition Include.h:6
Definition IsSolidMobComponent.h:8
Definition IsSolidMobNearbyComponent.h:15
Definition LocalSpatialEntityFetcherFactoryComponent.h:8
Definition MobFlagComponent.h:5
Definition MoveRequestComponent.h:11
Definition MovementInterpolatorComponent.h:9
Definition ServerCatchupMovementTrackerComponent.h:8
Definition StateVectorComponent.h:8
Definition TickingSystemWithInfo.h:13
Definition buffer.h:5