LeviLamina
Loading...
Searching...
No Matches
InventoryPacketHandler.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated forward declare list
6// clang-format off
7class BlockPalette;
10class ServerPlayer;
13// clang-format on
14
15class InventoryPacketHandler {
16public:
17 // member variables
18 // NOLINTBEGIN
19 ::ll::TypedStorage<
20 8,
21 24,
22 ::std::variant<::std::shared_ptr<::MobEquipmentPacket>, ::std::shared_ptr<::InventoryTransactionPacket>>>
23 mPacket;
24 // NOLINTEND
25
26public:
27 // prevent constructor by default
28 InventoryPacketHandler();
29
30public:
31 // member functions
32 // NOLINTBEGIN
33 MCAPI explicit InventoryPacketHandler(::gsl::not_null<::std::shared_ptr<::InventoryTransactionPacket>> packet);
34
35 MCAPI explicit InventoryPacketHandler(::gsl::not_null<::std::shared_ptr<::MobEquipmentPacket>> packet);
36
37 MCAPI void _handleMobEquipmentPacket(::MobEquipmentPacket const& packet, ::ServerPlayer& player) const;
38
39 MCAPI void handle(
40 ::ServerPlayer& player,
41 ::BlockPalette& blockPalette,
42 ::MoveInputComponent const& moveInput,
43 ::ActorRotationComponent& actorRotation,
44 bool isAimAssist
45 ) const;
46
47 MCAPI ~InventoryPacketHandler();
48 // NOLINTEND
49
50public:
51 // constructor thunks
52 // NOLINTBEGIN
53 MCAPI void* $ctor(::gsl::not_null<::std::shared_ptr<::InventoryTransactionPacket>> packet);
54
55 MCAPI void* $ctor(::gsl::not_null<::std::shared_ptr<::MobEquipmentPacket>> packet);
56 // NOLINTEND
57
58public:
59 // destructor thunk
60 // NOLINTBEGIN
61 MCFOLD void $dtor();
62 // NOLINTEND
63};
Definition BlockPalette.h:21
Definition InventoryTransactionPacket.h:22
Definition MobEquipmentPacket.h:19
Definition ServerPlayer.h:73
Definition ActorRotationComponent.h:8
Definition MoveInputComponent.h:11