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();
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 // member functions
43 // NOLINTBEGIN
44 MCAPI explicit ScreenHandlerBase(::ItemStackRequestActionHandler& requestHandler);
45 // NOLINTEND
46
47public:
48 // constructor thunks
49 // NOLINTBEGIN
50 MCAPI void* $ctor(::ItemStackRequestActionHandler& requestHandler);
51 // NOLINTEND
52
53public:
54 // destructor thunk
55 // NOLINTBEGIN
56 MCFOLD void $dtor();
57 // NOLINTEND
58
59public:
60 // virtual function thunks
61 // NOLINTBEGIN
62 MCFOLD ::ItemStackNetResult $handleAction(::ItemStackRequestAction const& requestAction);
63
64 MCFOLD ::ItemStackNetResult $endRequest();
65
66 MCFOLD void $endRequestBatch();
67
68 MCFOLD void $postRequest(bool const wasSuccess);
69
70
71 // NOLINTEND
72
73public:
74 // vftables
75 // NOLINTBEGIN
76 MCNAPI static void** $vftable();
77 // NOLINTEND
78};
Definition ItemStackRequestActionHandler.h:41
Definition ItemStackRequestAction.h:18
static MCAPI void ** $vftable()