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