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
9class ItemStack;
10class Player;
11// clang-format on
12
14public:
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
23public:
24 // prevent constructor by default
28
29public:
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
37
39 // NOLINTEND
40
41public:
42 // destructor thunk
43 // NOLINTBEGIN
44 MCNAPI void $dtor();
45 // NOLINTEND
46};
Definition InventoryAction.h:15
Definition InventoryTransactionManager.h:13
MCAPI void addAction(::InventoryAction const &action, bool forceBalanced)
MCAPI void forceBalanceTransaction()
MCAPI void _createServerSideAction(::ItemStack const &oldItem, ::ItemStack const &newItem)
Definition InventoryTransaction.h:21
Definition ItemStack.h:25
Definition Player.h:119