LeviLamina
Loading...
Searching...
No Matches
SoundItem.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/file/PathBuffer.h"
7
8// auto generated forward declare list
9// clang-format off
10namespace Core { class Path; }
11// clang-format on
12
13class SoundItem {
14public:
15 // member variables
16 // NOLINTBEGIN
17 ::ll::TypedStorage<1, 1, bool> mLoadFromMemory;
18 ::ll::TypedStorage<8, 32, ::std::string> mResourceStream;
19 ::ll::TypedStorage<8, 32, ::Core::PathBuffer<::std::string>> mSoundName;
20 ::ll::TypedStorage<4, 4, float> mVolume;
21 ::ll::TypedStorage<4, 4, float> mPitch;
22 ::ll::TypedStorage<4, 4, float> mMinDistance;
23 ::ll::TypedStorage<4, 4, float> mMaxDistance;
24 ::ll::TypedStorage<4, 4, int> mWeight;
25 ::ll::TypedStorage<1, 1, bool> mStream;
26 ::ll::TypedStorage<1, 1, bool> mIs3D;
27 ::ll::TypedStorage<1, 1, bool> mInterruptible;
28 ::ll::TypedStorage<1, 1, bool> mUseLegacyMaxDistance;
29 // NOLINTEND
30
31public:
32 // prevent constructor by default
33 SoundItem& operator=(SoundItem const&);
34 SoundItem();
35
36public:
37 // member functions
38 // NOLINTBEGIN
39 MCNAPI SoundItem(::SoundItem const&);
40
41 MCNAPI SoundItem(
42 ::Core::Path const& soundName,
43 float volume,
44 float pitch,
45 float minDistance,
46 float maxDistance,
47 int weight,
48 bool stream,
49 bool is3D,
50 bool interruptible,
51 bool useLegacyMaxDistance
52 );
53
54 MCNAPI bool getLoadFromMemory() const;
55
56 MCNAPI ::std::string const& getResourceStream() const;
57
58 MCNAPI ::Core::PathBuffer<::std::string> const& getSoundName() const;
59
60 MCNAPI bool isInterruptible() const;
61
62 MCNAPI bool isStream() const;
63
64 MCNAPI ~SoundItem();
65 // NOLINTEND
66
67public:
68 // constructor thunks
69 // NOLINTBEGIN
70 MCNAPI void* $ctor(::SoundItem const&);
71
72 MCNAPI void* $ctor(
73 ::Core::Path const& soundName,
74 float volume,
75 float pitch,
76 float minDistance,
77 float maxDistance,
78 int weight,
79 bool stream,
80 bool is3D,
81 bool interruptible,
82 bool useLegacyMaxDistance
83 );
84 // NOLINTEND
85
86public:
87 // destructor thunk
88 // NOLINTBEGIN
89 MCNAPI void $dtor();
90 // NOLINTEND
91};
Definition Path.h:12
Definition SoundItem.h:5
MCAPI void $dtor()
MCAPI SoundItem(::SoundItem const &)
MCAPI ~SoundItem()
MCAPI bool isInterruptible() const
MCAPI ::Core::PathBuffer<::std::string > const & getSoundName() const
MCAPI void * $ctor(::SoundItem const &)
MCAPI void * $ctor(::Core::Path const &soundName, float volume, float pitch, float minDistance, float maxDistance, int weight, bool stream, bool is3D, bool interruptible, bool useLegacyMaxDistance)
MCAPI::std::string const & getResourceStream() const
MCAPI bool isStream() const
MCAPI SoundItem(::Core::Path const &soundName, float volume, float pitch, float minDistance, float maxDistance, int weight, bool stream, bool is3D, bool interruptible, bool useLegacyMaxDistance)
MCAPI bool getLoadFromMemory() const