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/math/Vec3.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
15struct ActorUniqueID;
16struct DimensionType;
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 ActorLocationData {
31 public:
32 // member variables
33 // NOLINTBEGIN
36 // NOLINTEND
37
38 public:
39 // prevent constructor by default
40 ActorLocationData& operator=(ActorLocationData const&);
41 ActorLocationData(ActorLocationData const&);
42 ActorLocationData();
43 };
44
45 struct PlainData {
46 public:
47 // member variables
48 // NOLINTBEGIN
55 // NOLINTEND
56
57 public:
58 // prevent constructor by default
59 PlainData& operator=(PlainData const&);
60 PlainData(PlainData const&);
61 PlainData();
62 };
63
64 struct SoundData {
65 public:
66 // member variables
67 // NOLINTBEGIN
70 // NOLINTEND
71
72 public:
73 // prevent constructor by default
74 SoundData& operator=(SoundData const&);
75 SoundData(SoundData const&);
76 SoundData();
77 };
78
79 struct SynchronizedPlainData {
80 public:
81 // member variables
82 // NOLINTBEGIN
89 // NOLINTEND
90
91 public:
92 // prevent constructor by default
93 SynchronizedPlainData& operator=(SynchronizedPlainData const&);
94 SynchronizedPlainData(SynchronizedPlainData const&);
95 SynchronizedPlainData();
96 };
97
98 using PositionVariant = ::std::variant<::Vec3, ::SoundEventRequest::ActorLocationData>;
99
100 using SoundDataVariant = ::std::variant<
104
105public:
106 // member variables
107 // NOLINTBEGIN
108 ::ll::TypedStorage<4, 4, ::SharedTypes::Legacy::LevelSoundEvent> mEvent;
109 ::ll::TypedStorage<
110 8,
111 208,
112 ::std::variant<
116 mData;
117 ::ll::TypedStorage<4, 16, ::std::variant<::Vec3, ::SoundEventRequest::ActorLocationData>> mPosition;
118 // NOLINTEND
119
120public:
121 // static functions
122 // NOLINTBEGIN
123 MCAPI static ::std::optional<::SoundEventRequest> tryPlayPredictiveSynchronizedSound(
124 ::ActorDataFlagComponent const& actorFlags,
125 ::ActorDefinitionIdentifier const& identifier,
126 ::ActorUniqueID actorId,
127 ::DimensionType dimension,
128 ::SharedTypes::Legacy::LevelSoundEvent type,
129 ::Vec3 const& pos,
130 int data,
131 bool isGlobal
132 );
133
134 MCAPI static ::std::optional<::SoundEventRequest> tryPlayPredictiveSynchronizedSound(
135 ::ActorDataFlagComponent const& actorFlags,
136 ::ActorDefinitionIdentifier const& identifier,
137 ::ActorUniqueID actorId,
138 ::DimensionType dimension,
139 ::SharedTypes::Legacy::LevelSoundEvent type,
140 ::StrictEntityContext const& entity,
141 ::SharedTypes::Legacy::ActorLocation location,
142 int data,
143 bool isGlobal
144 );
145
146 MCAPI static ::std::optional<::SoundEventRequest> tryPlaySound(
147 ::ActorDataFlagComponent const& actorFlags,
148 ::ActorDefinitionIdentifier const& identifier,
149 ::ActorUniqueID actorId,
150 ::DimensionType dimension,
151 ::SharedTypes::Legacy::LevelSoundEvent type,
152 ::StrictEntityContext const& entity,
153 ::SharedTypes::Legacy::ActorLocation location,
154 int data
155 );
156 // NOLINTEND
157};
Definition StrictEntityContext.h:8
Definition Vec3.h:10
Definition ActorDataFlagComponent.h:9
Definition ActorDefinitionIdentifier.h:15
Definition ActorUniqueID.h:5
Definition DimensionType.h:5
Definition SoundEventRequest.h:30
Definition SoundEventRequest.h:45
Definition SoundEventRequest.h:64
Definition SoundEventRequest.h:79
Definition SoundEventRequest.h:19
Definition Alias.h:14