3#include "mc/_HeaderOutputPredefine.h"
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"
30 struct ActorLocationData {
40 ActorLocationData& operator=(ActorLocationData
const&);
41 ActorLocationData(ActorLocationData
const&);
59 PlainData& operator=(PlainData
const&);
60 PlainData(PlainData
const&);
74 SoundData& operator=(SoundData
const&);
75 SoundData(SoundData
const&);
79 struct SynchronizedPlainData {
93 SynchronizedPlainData& operator=(SynchronizedPlainData
const&);
94 SynchronizedPlainData(SynchronizedPlainData
const&);
95 SynchronizedPlainData();
98 using PositionVariant = ::std::variant<::Vec3, ::SoundEventRequest::ActorLocationData>;
100 using SoundDataVariant = ::std::variant<
108 ::ll::TypedStorage<4, 4, ::SharedTypes::Legacy::LevelSoundEvent> mEvent;
117 ::ll::TypedStorage<4, 16, ::std::variant<::Vec3, ::SoundEventRequest::ActorLocationData>> mPosition;
128 ::SharedTypes::Legacy::LevelSoundEvent type,
139 ::SharedTypes::Legacy::LevelSoundEvent type,
141 ::SharedTypes::Legacy::ActorLocation location,
151 ::SharedTypes::Legacy::LevelSoundEvent type,
153 ::SharedTypes::Legacy::ActorLocation location,
Definition StrictEntityContext.h:8
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
static MCAPI ::std::optional<::SoundEventRequest > tryPlayPredictiveSynchronizedSound(::ActorDataFlagComponent const &actorFlags, ::ActorDefinitionIdentifier const &identifier, ::ActorUniqueID actorId, ::DimensionType dimension, ::SharedTypes::Legacy::LevelSoundEvent type, ::StrictEntityContext const &entity, ::SharedTypes::Legacy::ActorLocation location, int data, bool isGlobal)
static MCAPI ::std::optional<::SoundEventRequest > tryPlaySound(::ActorDataFlagComponent const &actorFlags, ::ActorDefinitionIdentifier const &identifier, ::ActorUniqueID actorId, ::DimensionType dimension, ::SharedTypes::Legacy::LevelSoundEvent type, ::StrictEntityContext const &entity, ::SharedTypes::Legacy::ActorLocation location, int data)
static MCAPI ::std::optional<::SoundEventRequest > tryPlayPredictiveSynchronizedSound(::ActorDataFlagComponent const &actorFlags, ::ActorDefinitionIdentifier const &identifier, ::ActorUniqueID actorId, ::DimensionType dimension, ::SharedTypes::Legacy::LevelSoundEvent type, ::Vec3 const &pos, int data, bool isGlobal)