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(::PlayerShootArrowEvent const&);
46
47 MCAPI ~PlayerShootArrowEvent();
48 // NOLINTEND
49
50public:
51 // constructor thunks
52 // NOLINTBEGIN
53 MCFOLD void* $ctor(::PlayerShootArrowEvent const&);
54 // NOLINTEND
55
56public:
57 // destructor thunk
58 // NOLINTBEGIN
59 MCFOLD void $dtor();
60 // NOLINTEND
61};
Definition EntityContext.h:16
Definition ItemStack.h:26
Definition WeakRef.h:8