Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
Music.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/client/sound/Category.h"
7#include "mc/deps/audio/ServerSoundHandle.h"
8#include "mc/deps/core/utility/EnableNonOwnerReferences.h"
9
11public:
12 // member variables
13 // NOLINTBEGIN
14 ::ll::TypedStorage<4, 4, ::Category> mCategory;
15 ::ll::TypedStorage<8, 32, ::std::string> mName;
16 ::ll::TypedStorage<8, 32, ::std::string> mEventName;
17 ::ll::TypedStorage<4, 4, int> mMinDelay;
18 ::ll::TypedStorage<4, 4, int> mMaxDelay;
19 ::ll::TypedStorage<1, 1, bool> mPaused;
20 ::ll::TypedStorage<4, 4, float> mVolume;
21 ::ll::TypedStorage<4, 4, float> mFadeoutSeconds;
22 ::ll::TypedStorage<1, 1, bool> mPlaylist;
23 ::ll::TypedStorage<4, 4, uint> mPlaylistIndex;
24 ::ll::TypedStorage<8, 24, ::std::vector<::std::string>> mOverrideInterruptibleCategories;
25 ::ll::TypedStorage<1, 1, bool> mInitialized;
26 ::ll::TypedStorage<8, 16, ::std::optional<::ServerSoundHandle>> mServerSoundHandle;
27 // NOLINTEND
28
29public:
30 // prevent constructor by default
31 Music();
32
33public:
34 // virtual functions
35 // NOLINTBEGIN
36 virtual ~Music() /*override*/;
37
38 virtual bool hasTracks() const;
39
40 virtual void nextTrack();
41
42 virtual void setActive(bool active);
43 // NOLINTEND
44
45public:
46 // member functions
47 // NOLINTBEGIN
48 MCNAPI Music(::Category category, ::std::string const& name);
49 // NOLINTEND
50
51public:
52 // constructor thunks
53 // NOLINTBEGIN
54 MCNAPI void* $ctor(::Category category, ::std::string const& name);
55 // NOLINTEND
56
57public:
58 // destructor thunk
59 // NOLINTBEGIN
60 MCNAPI void $dtor();
61 // NOLINTEND
62
63public:
64 // virtual function thunks
65 // NOLINTBEGIN
66 MCNAPI bool $hasTracks() const;
67
68 MCNAPI void $nextTrack();
69
70 MCNAPI void $setActive(bool active);
71 // NOLINTEND
72
73public:
74 // vftables
75 // NOLINTBEGIN
76 MCNAPI static void** $vftable();
77 // NOLINTEND
78};
Definition EnableNonOwnerReferences.h:7
Definition Music.h:5
MCAPI void $setActive(bool active)
static MCAPI void ** $vftable()
MCAPI void * $ctor(::Category category, ::std::string const &name)
MCAPI void $nextTrack()
MCAPI Music(::Category category, ::std::string const &name)
MCAPI bool $hasTracks() const
MCAPI void $dtor()