Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
LegacyPlayerTransactionSubject.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/inventory/transaction/ILegacyItemUseTransactionSubject.h"
7
8// auto generated forward declare list
9// clang-format off
10class BlockPos;
11class Player;
12// clang-format on
13
14class LegacyPlayerTransactionSubject : public ::ILegacyItemUseTransactionSubject {
15public:
16 // member variables
17 // NOLINTBEGIN
18 ::ll::TypedStorage<8, 8, ::Player&> mPlayer;
19 // NOLINTEND
20
21public:
22 // prevent constructor by default
23 LegacyPlayerTransactionSubject& operator=(LegacyPlayerTransactionSubject const&);
24 LegacyPlayerTransactionSubject(LegacyPlayerTransactionSubject const&);
25 LegacyPlayerTransactionSubject();
26
27public:
28 // virtual functions
29 // NOLINTBEGIN
30 virtual bool isServerAuthBlockBreakingEnabled() const /*override*/;
31
32 virtual bool destroyBlock(::BlockPos const& pos, uchar face) /*override*/;
33 // NOLINTEND
34
35public:
36 // virtual function thunks
37 // NOLINTBEGIN
39
40 MCNAPI bool $destroyBlock(::BlockPos const& pos, uchar face);
41
42
43 // NOLINTEND
44};
Definition BlockPos.h:14
Definition ILegacyItemUseTransactionSubject.h:10
MCAPI bool $destroyBlock(::BlockPos const &pos, uchar face)
MCAPI bool $isServerAuthBlockBreakingEnabled() const
Definition Player.h:131