LeviLamina
Loading...
Searching...
No Matches
Sound.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated forward declare list
6// clang-format off
7class Random;
8namespace Json { class Value; }
9// clang-format on
10
11struct Sound {
12public:
13 // member variables
14 // NOLINTBEGIN
15 ::ll::TypedStorage<8, 32, ::std::string> mName;
16 ::ll::TypedStorage<4, 4, float> mVolumeMin;
17 ::ll::TypedStorage<4, 4, float> mPitchMin;
18 ::ll::TypedStorage<4, 4, float> mVolumeMax;
19 ::ll::TypedStorage<4, 4, float> mPitchMax;
20 // NOLINTEND
21
22public:
23 // prevent constructor by default
24 Sound();
25
26public:
27 // member functions
28 // NOLINTBEGIN
29 MCAPI Sound(::Json::Value const& root, ::std::string const& name, float vmin, float vmax, float pmin, float pmax);
30
31 MCAPI float getPitch(::Random& random) const;
32
33 MCAPI float getVolume(::Random& random) const;
34
35 MCAPI ~Sound();
36 // NOLINTEND
37
38public:
39 // constructor thunks
40 // NOLINTBEGIN
41 MCAPI void*
42 $ctor(::Json::Value const& root, ::std::string const& name, float vmin, float vmax, float pmin, float pmax);
43 // NOLINTEND
44
45public:
46 // destructor thunk
47 // NOLINTBEGIN
48 MCFOLD void $dtor();
49 // NOLINTEND
50};
Definition Value.h:16
Definition Random.h:10
Definition Sound.h:5