LeviLamina
Loading...
Searching...
No Matches
ScriptPlayerGameModeChangeBeforeEvent.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/scripting/modules/minecraft/events/ScriptPlayerGameModeChangeAfterEvent.h"
7#include "mc/world/level/GameType.h"
8
9// auto generated forward declare list
10// clang-format off
11class Player;
12namespace Scripting { class WeakLifetimeScope; }
13namespace Scripting { struct ClassBinding; }
14// clang-format on
15
16namespace ScriptModuleMinecraft {
17
18struct ScriptPlayerGameModeChangeBeforeEvent : public ::ScriptModuleMinecraft::ScriptPlayerGameModeChangeAfterEvent {
19public:
20 // member variables
21 // NOLINTBEGIN
22 ::ll::TypedStorage<1, 1, bool> mCancel;
23 // NOLINTEND
24
25public:
26 // prevent constructor by default
27 ScriptPlayerGameModeChangeBeforeEvent();
28
29public:
30 // member functions
31 // NOLINTBEGIN
32 MCAPI ScriptPlayerGameModeChangeBeforeEvent(
33 ::Player const& player,
34 ::GameType fromGameMode,
35 ::GameType toGameMode,
37 );
38 // NOLINTEND
39
40public:
41 // static functions
42 // NOLINTBEGIN
43 MCAPI static ::Scripting::ClassBinding bind();
44 // NOLINTEND
45
46public:
47 // constructor thunks
48 // NOLINTBEGIN
49 MCAPI void* $ctor(
50 ::Player const& player,
51 ::GameType fromGameMode,
52 ::GameType toGameMode,
54 );
55 // NOLINTEND
56};
57
58} // namespace ScriptModuleMinecraft
Definition Player.h:137
Definition WeakLifetimeScope.h:14
Definition ScriptPlayerGameModeChangeAfterEvent.h:17
Definition ClassBinding.h:19