LeviLamina
Loading...
Searching...
No Matches
ServerPlayerInputSystem.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/ecs/ViewT.h"
7#include "mc/deps/ecs/strict/EntityModifier.h"
8
9// auto generated forward declare list
10// clang-format off
11class EntityContext;
12class InteractPacket;
22// clang-format on
23
24namespace ServerPlayerInputSystem {
25// functions
26// NOLINTBEGIN
27MCAPI void _tickPlayerMovement(
28 ::StrictEntityContext& entity,
29 ::ServerPlayerMovementComponent& serverPlayerMovement,
30 ::EntityModifier<
31 ::ServerPlayerCurrentMovementComponent,
32 ::ServerPlayerInventoryTransactionComponent,
33 ::ServerPlayerInteractComponent> modifier
34);
35
36MCAPI void _tickServerPlayerInputSystem(
37 ::ViewT<::StrictEntityContext, ::ActorMovementTickNeededComponent const, ::ServerPlayerMovementComponent> view,
38 ::EntityModifier<
39 ::ServerPlayerCurrentMovementComponent,
40 ::ServerPlayerInventoryTransactionComponent,
41 ::ServerPlayerInteractComponent>
42);
43
44MCAPI ::TickingSystemWithInfo create();
45
46MCAPI bool onInteractPacket(::ServerPlayerMovementComponent& component, ::InteractPacket const& packet);
47
48MCAPI bool onInventoryTransactionPacket(::ServerPlayerMovementComponent& component, ::InventoryPacketHandler packet);
49
50MCAPI bool onPlayerAuthInputPacket(::ServerPlayerMovementComponent& component, ::PlayerAuthInputPacket const& packet);
51
52MCAPI void transferInteractPackets(::ServerPlayerMovementComponent& movementComponent, ::EntityContext& entity);
53// NOLINTEND
54
55} // namespace ServerPlayerInputSystem
Definition EntityContext.h:17
Definition InteractPacket.h:19
Definition InventoryPacketHandler.h:15
Definition PlayerAuthInputPacket.h:27
Definition StrictEntityContext.h:14
Definition ActorMovementTickNeededComponent.h:5
Definition ServerPlayerCurrentMovementComponent.h:10
Definition ServerPlayerInteractComponent.h:8
Definition ServerPlayerInventoryTransactionComponent.h:10
Definition ServerPlayerMovementComponent.h:17
Definition TickingSystemWithInfo.h:13