LeviLamina
Loading...
Searching...
No Matches
SoundEventRequest.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/utility/AutomaticID.h"
7#include "mc/deps/shared_types/legacy/LevelSoundEvent.h"
8#include "mc/deps/shared_types/legacy/actor/ActorLocation.h"
9
10// auto generated forward declare list
11// clang-format off
12class Dimension;
14class Vec3;
17// clang-format on
18
20public:
21 // SoundEventRequest inner types declare
22 // clang-format off
23 struct ActorLocationData;
24 struct PlainData;
25 struct SoundData;
27 // clang-format on
28
29 // SoundEventRequest inner types define
30 struct PlainData {
31 public:
32 // member variables
33 // NOLINTBEGIN
39 // NOLINTEND
40
41 public:
42 // prevent constructor by default
43 PlainData& operator=(PlainData const&);
44 PlainData(PlainData const&);
45 PlainData();
46 };
47
48 struct SoundData {
49 public:
50 // member variables
51 // NOLINTBEGIN
54 // NOLINTEND
55
56 public:
57 // prevent constructor by default
58 SoundData& operator=(SoundData const&);
59 SoundData(SoundData const&);
60 SoundData();
61 };
62
64 public:
65 // member variables
66 // NOLINTBEGIN
72 // NOLINTEND
73
74 public:
75 // prevent constructor by default
79 };
80
82 public:
83 // member variables
84 // NOLINTBEGIN
87 // NOLINTEND
88
89 public:
90 // prevent constructor by default
91 ActorLocationData& operator=(ActorLocationData const&);
94 };
95
96 using SoundDataVariant = ::std::variant<
100
101 using PositionVariant = ::std::variant<::Vec3, ::SoundEventRequest::ActorLocationData>;
102
103public:
104 // member variables
105 // NOLINTBEGIN
106 ::ll::TypedStorage<4, 4, ::SharedTypes::Legacy::LevelSoundEvent> mEvent;
107 ::ll::TypedStorage<
108 8,
109 200,
110 ::std::variant<
114 mData;
115 ::ll::TypedStorage<4, 16, ::std::variant<::Vec3, ::SoundEventRequest::ActorLocationData>> mPosition;
116 // NOLINTEND
117
118public:
119 // prevent constructor by default
120 SoundEventRequest& operator=(SoundEventRequest const&);
122
123public:
124 // member functions
125 // NOLINTBEGIN
127 // NOLINTEND
128
129public:
130 // static functions
131 // NOLINTBEGIN
132 MCAPI static ::std::optional<::SoundEventRequest> tryPlayPredictiveSynchronizedSound(
133 ::DimensionType dimension,
134 ::ActorDataFlagComponent const& actorData,
136 ::SharedTypes::Legacy::LevelSoundEvent type,
137 ::Vec3 const& pos,
138 int data,
139 bool isGlobal
140 );
141
142 MCAPI static ::std::optional<::SoundEventRequest> tryPlaySound(
143 ::DimensionType dimension,
144 ::ActorDataFlagComponent const& actorData,
146 ::SharedTypes::Legacy::LevelSoundEvent type,
147 ::StrictEntityContext const& entity,
148 ::SharedTypes::Legacy::ActorLocation location,
149 int data
150 );
151 // NOLINTEND
152
153public:
154 // constructor thunks
155 // NOLINTBEGIN
156 MCAPI void* $ctor(::SoundEventRequest&&);
157 // NOLINTEND
158};
Definition AutomaticID.h:6
Definition Dimension.h:83
Definition StrictEntityContext.h:10
Definition Vec3.h:10
Definition ActorDataFlagComponent.h:8
Definition ActorDefinitionIdentifier.h:13
Definition SoundEventRequest.h:81
Definition SoundEventRequest.h:30
Definition SoundEventRequest.h:48
Definition SoundEventRequest.h:63
Definition SoundEventRequest.h:19
Definition Alias.h:14