LeviLamina
Loading...
Searching...
No Matches
PlayerShootArrowEvent.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/ecs/WeakEntityRef.h"
7#include "mc/deps/game_refs/WeakRef.h"
8#include "mc/world/item/ItemStack.h"
9
10// auto generated forward declare list
11// clang-format off
12class EntityContext;
13// clang-format on
14
15struct PlayerShootArrowEvent {
16public:
17 // member variables
18 // NOLINTBEGIN
19 ::ll::TypedStorage<8, 24, ::WeakRef<::EntityContext>> mPlayer;
20 ::ll::TypedStorage<8, 24, ::WeakRef<::EntityContext>> mArrow;
21 ::ll::TypedStorage<8, 152, ::ItemStack> mWeaponItem;
22 ::ll::TypedStorage<8, 152, ::ItemStack> mArrowItem;
23 // NOLINTEND
24
25public:
26 // prevent constructor by default
27 PlayerShootArrowEvent& operator=(PlayerShootArrowEvent const&) = default;
28 PlayerShootArrowEvent() = default;
29
30public:
31 PlayerShootArrowEvent(
32 WeakRef<EntityContext> const& player,
33 WeakRef<EntityContext> const& arrow,
34 ItemStack const& weaponItem,
35 ItemStack const& arrowItem
36 )
37 : mPlayer(player),
38 mArrow(arrow),
39 mWeaponItem(weaponItem),
40 mArrowItem(arrowItem) {}
41
42public:
43 // member functions
44 // NOLINTBEGIN
45 MCAPI ~PlayerShootArrowEvent();
46 // NOLINTEND
47
48public:
49 // destructor thunk
50 // NOLINTBEGIN
51 MCFOLD void $dtor();
52 // NOLINTEND
53};
Definition EntityContext.h:17
Definition ItemStack.h:35
Definition WeakRef.h:8