LeviLamina
Loading...
Searching...
No Matches
UpdateBoundingBox.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/utility/optional_ref.h"
7#include "mc/deps/ecs/Optional.h"
8#include "mc/deps/ecs/strict/EntityModifier.h"
9
10// auto generated forward declare list
11// clang-format off
14class Vec2;
24struct OffsetsComponent;
28namespace UpdateBoundingBox { struct SetSizeArgs; }
29namespace UpdateBoundingBox { struct SystemParams; }
30// clang-format on
31
32namespace UpdateBoundingBox {
33// functions
34// NOLINTBEGIN
35MCNAPI void baseSetSize(::Vec2 const& size, ::UpdateBoundingBox::SetSizeArgs& args);
36
37MCNAPI void onAABBRelativeSizeChanged(
39 ::AABBShapeComponent const& aabb,
40 ::OffsetsComponent& offsets
41);
42
43MCNAPI void onAbsoluteSizeChanged(::AbsoluteSizeUpdateComponent const& absolute, ::OffsetsComponent& offsets);
44
45MCNAPI void onCustomSizeChanged(
46 ::CustomSizeUpdateComponent const& custom,
47 ::AABBShapeComponent const& aabb,
48 ::OffsetsComponent& offsets
49);
50
51MCNAPI void onMinecartSizeChanged(
52 ::StateVectorComponent const& stateVector,
54 ::OffsetsComponent& offsets
55);
56
57MCNAPI void onShulkerSizeChanged(
59 ::AABBShapeComponent const& aabb,
60 ::OffsetsComponent& offsets
61);
62
63MCNAPI void singleTickImpl(::StrictEntityContext const& entity, ::UpdateBoundingBox::SystemParams& args);
64
65MCNAPI void singleTickOnSizeChanged(::StrictEntityContext const& entity, ::UpdateBoundingBox::SystemParams& args);
66
67MCNAPI void tickImpl(::UpdateBoundingBox::SystemParams& args);
68
69MCNAPI void transformPlayerSizeRequest(
71 ::CollisionBoxComponent const& collisionBox,
73 ::ActorDataFlagComponent const& data,
74 float sneakHeight
75);
76
77MCNAPI void visitCommonSetSize(
78 ::StrictEntityContext const& entity,
80 ::StateVectorComponent const& stateVector,
81 ::ActorDataDirtyFlagsComponent& actorDataDirtyFlags,
83 ::AABBShapeComponent& aabbShape,
84 ::DepenetrationComponent& depenetration,
87);
88// NOLINTEND
89
90} // namespace UpdateBoundingBox
Definition CollisionBoxComponent.h:8
Definition EntityModifier.h:6
Definition Optional.h:8
Definition StrictEntityContext.h:8
Definition Vec2.h:5
Definition optional_ref.h:10
Definition AABBRelativeSizeUpdateComponent.h:8
Definition AABBShapeComponent.h:9
Definition AbsoluteSizeUpdateComponent.h:8
Definition ActorDataBoundingBoxComponent.h:8
Definition ActorDataDirtyFlagsComponent.h:5
Definition ActorDataFlagComponent.h:9
Definition CustomSizeUpdateComponent.h:11
Definition DepenetrationComponent.h:13
Definition IsHorizontalPoseFlagComponent.h:5
Definition OffsetsComponent.h:8
Definition ShouldUpdateBoundingBoxRequestComponent.h:5
Definition StateVectorComponent.h:8
Definition SynchedActorDataComponent.h:8
Definition SetSizeArgs.h:7
Definition SystemParams.h:30