LeviLamina
Loading...
Searching...
No Matches
MoveCollisionSystem.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/Include.h"
9
10
// auto generated forward declare list
11
// clang-format off
12
class
AABB
;
13
class
GetCollisionShapeInterface
;
14
class
IConstBlockSource
;
15
class
LocalSpatialEntityFetcher
;
16
class
StrictEntityContext
;
17
struct
AABBShapeComponent
;
18
struct
CollidableMobFlagComponent
;
19
struct
CollidableMobNearFlagComponent
;
20
struct
FallingBlockFlagComponent
;
21
struct
MaxAutoStepComponent
;
22
struct
MoveRequestComponent
;
23
struct
TickingSystemWithInfo
;
24
namespace
BlockSourceVisitor {
struct
CollisionShape; }
25
// clang-format on
26
27
namespace
MoveCollisionSystem {
28
// functions
29
// NOLINTBEGIN
30
MCAPI
void
addCollisionShapes(
31
::std::vector<::BlockSourceVisitor::CollisionShape>
const
& tempCollisionShapes,
32
::AABB
const
& terrainIntersectTestBox,
33
::MoveRequestComponent
& request
34
);
35
36
MCAPI ::TickingSystemWithInfo createCollisionShapesCopySystem();
37
38
MCAPI
void
fetchCollisionShapes(
39
::StrictEntityContext
const
& entity,
40
::AABBShapeComponent
const
& aabb,
41
::MaxAutoStepComponent
const
& autoStep,
42
::Optional<::CollidableMobNearFlagComponent const>
collidableMobNear,
43
::MoveRequestComponent
& request,
44
::ViewT
<
::StrictEntityContext
,
::Include<::CollidableMobFlagComponent>
,
::AABBShapeComponent
const
>
const
&
45
collidableMobs,
46
::ViewT
<
::StrictEntityContext
,
::Include<::FallingBlockFlagComponent>
>
const
& fallingBlocks,
47
::IConstBlockSource
const
& region,
48
::LocalSpatialEntityFetcher
& fetcher,
49
::GetCollisionShapeInterface
const
& collisionShape,
50
::std::vector<::BlockSourceVisitor::CollisionShape>& tempCollisionShapes
51
);
52
53
MCAPI ::std::vector<::AABB> getFetchBoxSubtraction(
::AABB
const
& newBox,
::AABB
const
& oldBox);
54
// NOLINTEND
55
56
}
// namespace MoveCollisionSystem
AABB
Definition
AABB.h:16
GetCollisionShapeInterface
Definition
GetCollisionShapeInterface.h:13
IConstBlockSource
Definition
IConstBlockSource.h:24
LocalSpatialEntityFetcher
Definition
LocalSpatialEntityFetcher.h:5
Optional
Definition
Optional.h:8
StrictEntityContext
Definition
StrictEntityContext.h:10
ViewT
Definition
ViewT.h:6
AABBShapeComponent
Definition
AABBShapeComponent.h:11
CollidableMobFlagComponent
Definition
CollidableMobFlagComponent.h:5
CollidableMobNearFlagComponent
Definition
CollidableMobNearFlagComponent.h:5
FallingBlockFlagComponent
Definition
FallingBlockFlagComponent.h:5
Include
Definition
Include.h:6
MaxAutoStepComponent
Definition
MaxAutoStepComponent.h:8
MoveRequestComponent
Definition
MoveRequestComponent.h:13
TickingSystemWithInfo
Definition
TickingSystemWithInfo.h:11
src
mc
entity
systems
move_collision_system
MoveCollisionSystem.h
Generated on Sat Apr 26 2025 05:55:37 for LeviLamina by
1.12.0