LeviLamina
Loading...
Searching...
No Matches
ScriptWorldSoundOptions.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated forward declare list
6// clang-format off
7namespace ScriptModuleMinecraft { struct ScriptSoundOptions; }
8namespace Scripting { struct InterfaceBinding; }
9namespace Scripting { struct PropertyOutOfBoundsError; }
10// clang-format on
11
12namespace ScriptModuleMinecraft {
13
14struct ScriptWorldSoundOptions {
15public:
16 // member variables
17 // NOLINTBEGIN
18 ::ll::TypedStorage<4, 8, ::std::optional<float>> mVolume;
19 ::ll::TypedStorage<4, 8, ::std::optional<float>> mPitch;
20 // NOLINTEND
21
22public:
23 // prevent constructor by default
24 ScriptWorldSoundOptions();
25
26public:
27 // member functions
28 // NOLINTBEGIN
29 MCAPI explicit ScriptWorldSoundOptions(::ScriptModuleMinecraft::ScriptSoundOptions const& soundOptions);
30
31 MCAPI float getPitch() const;
32
33 MCFOLD float getVolume() const;
34
35 MCAPI ::std::optional<::Scripting::PropertyOutOfBoundsError> validate() const;
36 // NOLINTEND
37
38public:
39 // static functions
40 // NOLINTBEGIN
41 MCAPI static ::Scripting::InterfaceBinding bind();
42 // NOLINTEND
43
44public:
45 // constructor thunks
46 // NOLINTBEGIN
47 MCAPI void* $ctor(::ScriptModuleMinecraft::ScriptSoundOptions const& soundOptions);
48 // NOLINTEND
49};
50
51} // namespace ScriptModuleMinecraft
Definition ScriptSoundOptions.h:15
Definition InterfaceBinding.h:16
Definition PropertyOutOfBoundsError.h:15