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
10
class
BlockPos
;
11
class
Player
;
12
// clang-format on
13
14
class
LegacyPlayerTransactionSubject
:
public
::ILegacyItemUseTransactionSubject
{
15
public
:
16
// member variables
17
// NOLINTBEGIN
18
::ll::TypedStorage<8, 8, ::Player&> mPlayer;
19
// NOLINTEND
20
21
public
:
22
// prevent constructor by default
23
LegacyPlayerTransactionSubject
& operator=(
LegacyPlayerTransactionSubject
const
&);
24
LegacyPlayerTransactionSubject
(
LegacyPlayerTransactionSubject
const
&);
25
LegacyPlayerTransactionSubject
();
26
27
public
:
28
// virtual functions
29
// NOLINTBEGIN
30
// vIndex: 1
31
virtual
bool
isServerAuthBlockBreakingEnabled()
const
/*override*/
;
32
33
// vIndex: 2
34
virtual
bool
destroyBlock(
::BlockPos
const
& pos, uchar face)
/*override*/
;
35
36
// vIndex: 0
37
virtual
~LegacyPlayerTransactionSubject
()
/*override*/
=
default
;
38
// NOLINTEND
39
40
public
:
41
// virtual function thunks
42
// NOLINTBEGIN
43
MCAPI
bool
$isServerAuthBlockBreakingEnabled()
const
;
44
45
MCAPI
bool
$destroyBlock(
::BlockPos
const
& pos, uchar face);
46
// NOLINTEND
47
48
public
:
49
// vftables
50
// NOLINTBEGIN
51
MCNAPI
static
void
**
$vftable
();
52
// NOLINTEND
53
};
BlockPos
Definition
BlockPos.h:17
ILegacyItemUseTransactionSubject
Definition
ILegacyItemUseTransactionSubject.h:10
LegacyPlayerTransactionSubject
Definition
LegacyPlayerTransactionSubject.h:14
LegacyPlayerTransactionSubject::$vftable
static MCAPI void ** $vftable()
Player
Definition
Player.h:123
src-server
mc
world
inventory
transaction
LegacyPlayerTransactionSubject.h
Generated on Tue Nov 25 2025 04:01:43 for LeviLamina by
1.12.0