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