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;
34struct OffsetsComponent;
39// clang-format on
40
41namespace SolidMobSystem {
42// functions
43// NOLINTBEGIN
44MCNAPI ::TickingSystemWithInfo createRewindShapeRefreshSystem();
45
46MCNAPI void flagNearbyMobsForServerMovementCatchup(
47 ::StrictEntityContext const& player,
48 ::StateVectorComponent const& stateVector,
50 ::ViewT<
60 ::std::vector<::StrictEntityContext>& buffer
61);
62
63MCNAPI void flagNearbyMobsForServerMovementCatchupSystem(
64 ::ViewT<
69 ::ViewT<
78);
79
80MCNAPI void flagNearbyMobsFromSolidEntity(
81 ::StrictEntityContext const& solidMob,
82 ::IsSolidMobComponent const& solid,
83 ::AABBShapeComponent const& shape,
84 ::ViewT<
93 ::std::vector<::StrictEntityContext>& buffer
94);
95
96MCNAPI void flagNearbyMobsFromSolidSystem(
97 ::ViewT<
102 ::AABBShapeComponent const> view,
103 ::ViewT<
112);
113
114MCNAPI void flagSolidMobsFromNearbyEntity(
115 ::StrictEntityContext const& entity,
116 ::AABBShapeComponent const& shape,
122 ::std::vector<::StrictEntityContext>& buffer
123);
124
125MCNAPI void flagSolidMobsFromNearbySystem(
126 ::ViewT<
136);
137
138MCNAPI ::std::optional<::Vec3> getLatestPosition(
139 ::StrictEntityContext const& e,
142);
143
144MCNAPI void registerSystems(::EntitySystems& systems, bool isClientSide);
145
146MCNAPI void storeNearbyMobsOnMoveRequest(
147 ::IsSolidMobNearbyComponent const& nearby,
148 ::DepenetrationComponent& depenetration,
150);
151
152MCNAPI void tickRewindShapeRefresh(
154 ::IsSolidMobNearbyComponent& solidNearby,
158);
159// NOLINTEND
160
161} // 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 OffsetsComponent.h:8
Definition ServerCatchupMovementTrackerComponent.h:8
Definition ShouldBeSimulatedComponent.h:5
Definition StateVectorComponent.h:8
Definition TickingSystemWithInfo.h:13
Definition buffer.h:5