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
11
class
InteractPacket
;
12
class
InventoryPacket
;
13
class
PlayerAuthInputPacket
;
14
class
StrictEntityContext
;
15
struct
ActorMovementTickNeededComponent
;
16
struct
ServerPlayerCurrentMovementComponent
;
17
struct
ServerPlayerInteractComponent
;
18
struct
ServerPlayerInventoryTransactionComponent
;
19
struct
ServerPlayerMovementComponent
;
20
struct
TickingSystemWithInfo
;
21
// clang-format on
22
23
namespace
ServerPlayerInputSystem {
24
// functions
25
// NOLINTBEGIN
26
MCAPI
void
_tickPlayerMovement(
27
::StrictEntityContext
& entity,
28
::ServerPlayerMovementComponent
& serverPlayerMovement,
29
::EntityModifier
<
30
::ServerPlayerCurrentMovementComponent
,
31
::ServerPlayerInventoryTransactionComponent
,
32
::ServerPlayerInteractComponent
> modifier
33
);
34
35
MCAPI
void
_tickServerPlayerInputSystem(
36
::ViewT<::StrictEntityContext, ::ActorMovementTickNeededComponent const, ::ServerPlayerMovementComponent>
view,
37
::EntityModifier
<
38
::ServerPlayerCurrentMovementComponent
,
39
::ServerPlayerInventoryTransactionComponent
,
40
::ServerPlayerInteractComponent
> modifier
41
);
42
43
MCAPI ::TickingSystemWithInfo create();
44
45
MCAPI
bool
onInteractPacket(
::ServerPlayerMovementComponent
& component,
::InteractPacket
const
& packet);
46
47
MCAPI
bool
48
onInventoryTransactionPacket(
::ServerPlayerMovementComponent
& component, ::std::shared_ptr<::InventoryPacket> packet);
49
50
MCAPI
bool
onPlayerAuthInputPacket(
::ServerPlayerMovementComponent
& component,
::PlayerAuthInputPacket
const
& packet);
51
// NOLINTEND
52
53
}
// namespace ServerPlayerInputSystem
EntityModifier
Definition
EntityModifier.h:6
InteractPacket
Definition
InteractPacket.h:18
InventoryPacket
Definition
InventoryPacket.h:16
PlayerAuthInputPacket
Definition
PlayerAuthInputPacket.h:27
StrictEntityContext
Definition
StrictEntityContext.h:8
ViewT
Definition
ViewT.h:6
ActorMovementTickNeededComponent
Definition
ActorMovementTickNeededComponent.h:5
ServerPlayerCurrentMovementComponent
Definition
ServerPlayerCurrentMovementComponent.h:10
ServerPlayerInteractComponent
Definition
ServerPlayerInteractComponent.h:8
ServerPlayerInventoryTransactionComponent
Definition
ServerPlayerInventoryTransactionComponent.h:10
ServerPlayerMovementComponent
Definition
ServerPlayerMovementComponent.h:15
TickingSystemWithInfo
Definition
TickingSystemWithInfo.h:13
src-server
mc
entity
systems
ServerPlayerInputSystem.h
Generated on Wed Nov 5 2025 13:12:41 for LeviLamina by
1.12.0