LeviLamina
Loading...
Searching...
No Matches
ScreenHandlerBase.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/inventory/network/ItemStackNetResult.h"
7
8// auto generated forward declare list
9// clang-format off
12// clang-format on
13
14class ScreenHandlerBase {
15public:
16 // member variables
17 // NOLINTBEGIN
18 ::ll::TypedStorage<8, 8, ::ItemStackRequestActionHandler&> mRequestHandler;
19 // NOLINTEND
20
21public:
22 // prevent constructor by default
23 ScreenHandlerBase& operator=(ScreenHandlerBase const&);
24 ScreenHandlerBase(ScreenHandlerBase const&);
25 ScreenHandlerBase();
26
27public:
28 // virtual functions
29 // NOLINTBEGIN
30 virtual ~ScreenHandlerBase() = default;
31
32 virtual ::ItemStackNetResult handleAction(::ItemStackRequestAction const& requestAction);
33
34 virtual ::ItemStackNetResult endRequest();
35
36 virtual void endRequestBatch();
37
38 virtual void postRequest(bool const wasSuccess);
39 // NOLINTEND
40
41public:
42 // virtual function thunks
43 // NOLINTBEGIN
44 MCFOLD ::ItemStackNetResult $handleAction(::ItemStackRequestAction const& requestAction);
45
46 MCFOLD ::ItemStackNetResult $endRequest();
47
48 MCFOLD void $endRequestBatch();
49
50 MCFOLD void $postRequest(bool const wasSuccess);
51
52
53 // NOLINTEND
54
55public:
56 // vftables
57 // NOLINTBEGIN
58 MCNAPI static void** $vftable();
59 // NOLINTEND
60};
Definition ItemStackRequestActionHandler.h:41
Definition ItemStackRequestAction.h:18
static MCAPI void ** $vftable()