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
10// auto generated forward declare list
11// clang-format off
12class EntitySystems;
21struct MobFlagComponent;
25// clang-format on
26
27namespace SolidMobSystem {
28// functions
29// NOLINTBEGIN
30MCAPI void flagNearbyMobsForServerMovementCatchup(
31 ::StrictEntityContext const& player,
32 ::StateVectorComponent const& stateVector,
33 ::ServerCatchupMovementTrackerComponent const& tracker,
34 ::ViewT<
35 ::StrictEntityContext,
36 ::DimensionTypeComponent const,
37 ::AABBShapeComponent const,
38 ::Optional<::MobFlagComponent const>,
39 ::Optional<::IsSolidMobComponent const>> const& fullData,
40 ::ViewT<::StrictEntityContext, ::IsSolidMobComponent const, ::AABBShapeComponent const> const& solidMobs,
41 ::EntityModifier<::IsSolidMobNearbyComponent> modifier,
42 ::LocalSpatialEntityFetcherFactoryComponent const& fetcherFactory,
43 ::LocalSpatialEntityFetcher& fetcher,
44 ::std::vector<::StrictEntityContext>& buffer
45);
46
47MCAPI void flagSolidMobsFromNearbyEntity(
48 ::StrictEntityContext const& entity,
49 ::AABBShapeComponent const& shape,
50 ::Optional<::MobFlagComponent const> isMob,
51 ::Optional<::IsSolidMobComponent const> isSolid,
52 ::ViewT<::StrictEntityContext, ::IsSolidMobComponent const, ::AABBShapeComponent const> const& nearbySolidMobs,
53 ::LocalSpatialEntityFetcher& fetcher,
54 ::EntityModifier<::IsSolidMobNearbyComponent> modifier,
55 ::std::vector<::StrictEntityContext>& buffer
56);
57
58MCAPI void registerSystems(::EntitySystems& systems, bool isClientSide);
59
60MCAPI void storeNearbyMobsOnMoveRequest(
61 ::IsSolidMobNearbyComponent const& nearby,
62 ::DepenetrationComponent& depenetration,
63 ::MoveRequestComponent& request
64);
65// NOLINTEND
66
67} // namespace SolidMobSystem
Definition EntitySystems.h:25
Definition LocalSpatialEntityFetcher.h:5
Definition StrictEntityContext.h:8
Definition AABBShapeComponent.h:9
Definition DepenetrationComponent.h:13
Definition DimensionTypeComponent.h:8
Definition IsSolidMobComponent.h:8
Definition IsSolidMobNearbyComponent.h:14
Definition LocalSpatialEntityFetcherFactoryComponent.h:8
Definition MobFlagComponent.h:5
Definition MoveRequestComponent.h:11
Definition ServerCatchupMovementTrackerComponent.h:8
Definition StateVectorComponent.h:8