LeviLamina
Loading...
Searching...
No Matches
InventoryTransactionManager.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated forward declare list
6
// clang-format off
7
class
InventoryAction
;
8
class
InventoryTransaction
;
9
class
ItemStack
;
10
class
Player
;
11
// clang-format on
12
13
class
InventoryTransactionManager
{
14
public
:
15
// member variables
16
// NOLINTBEGIN
17
::ll::TypedStorage<8, 8, ::Player&> mPlayer;
18
::ll::TypedStorage<8, 8, ::std::unique_ptr<::InventoryTransaction>> mCurrentTransaction;
19
::ll::TypedStorage<8, 24, ::std::vector<::InventoryAction>> mExpectedActions;
20
::ll::TypedStorage<1, 1, bool> mEnableLogs;
21
// NOLINTEND
22
23
public
:
24
// prevent constructor by default
25
InventoryTransactionManager
& operator=(
InventoryTransactionManager
const
&);
26
InventoryTransactionManager
(
InventoryTransactionManager
const
&);
27
InventoryTransactionManager
();
28
29
public
:
30
// member functions
31
// NOLINTBEGIN
32
MCNAPI
void
_createServerSideAction
(
::ItemStack
const
& oldItem,
::ItemStack
const
& newItem);
33
34
MCNAPI
void
addAction
(
::InventoryAction
const
& action,
bool
forceBalanced);
35
36
MCNAPI
void
forceBalanceTransaction
();
37
38
MCNAPI
~InventoryTransactionManager
();
39
// NOLINTEND
40
41
public
:
42
// destructor thunk
43
// NOLINTBEGIN
44
MCNAPI
void
$dtor
();
45
// NOLINTEND
46
};
InventoryAction
Definition
InventoryAction.h:15
InventoryTransactionManager
Definition
InventoryTransactionManager.h:13
InventoryTransactionManager::addAction
MCAPI void addAction(::InventoryAction const &action, bool forceBalanced)
InventoryTransactionManager::forceBalanceTransaction
MCAPI void forceBalanceTransaction()
InventoryTransactionManager::~InventoryTransactionManager
MCAPI ~InventoryTransactionManager()
InventoryTransactionManager::_createServerSideAction
MCAPI void _createServerSideAction(::ItemStack const &oldItem, ::ItemStack const &newItem)
InventoryTransactionManager::$dtor
MCAPI void $dtor()
InventoryTransaction
Definition
InventoryTransaction.h:21
ItemStack
Definition
ItemStack.h:25
Player
Definition
Player.h:119
src
mc
world
inventory
transaction
InventoryTransactionManager.h
Generated on Fri Jun 13 2025 05:05:07 for LeviLamina by
1.12.0