Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
DataDrivenScreenCallbacks.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/scripting/DataDrivenScreenPromise.h"
7#include "mc/scripting/DataDrivenScreenRejectReason.h"
8#include "mc/ui/DataDrivenScreenClosedReason.h"
9
10namespace ScriptModuleMinecraftServerUI {
11
12struct DataDrivenScreenCallbacks : public ::DataDrivenScreenPromise {
13public:
14 // member variables
15 // NOLINTBEGIN
20 // NOLINTEND
21
22public:
23 // prevent constructor by default
24 DataDrivenScreenCallbacks& operator=(DataDrivenScreenCallbacks const&);
25 DataDrivenScreenCallbacks(DataDrivenScreenCallbacks const&);
26 DataDrivenScreenCallbacks();
27
28public:
29 // virtual functions
30 // NOLINTBEGIN
31 virtual ~DataDrivenScreenCallbacks() = default;
32
33 virtual void resolve(::DataDrivenScreenClosedReason resolution) /*override*/;
34
35 virtual void reject(::DataDrivenScreenRejectReason rejection) /*override*/;
36 // NOLINTEND
37
38public:
39 // virtual function thunks
40 // NOLINTBEGIN
41 MCAPI void $resolve(::DataDrivenScreenClosedReason resolution);
42
43 MCAPI void $reject(::DataDrivenScreenRejectReason rejection);
44
45
46 // NOLINTEND
47};
48
49} // namespace ScriptModuleMinecraftServerUI
Definition DataDrivenScreenPromise.h:9
Definition Alias.h:14