99 using SoundDataVariant = ::std::variant<
104 using PositionVariant = ::std::variant<::Vec3, ::SoundEventRequest::ActorLocationData>;
109 ::ll::TypedStorage<4, 4, ::SharedTypes::Legacy::LevelSoundEvent> mEvent;
118 ::ll::TypedStorage<4, 16, ::std::variant<::Vec3, ::SoundEventRequest::ActorLocationData>> mPosition;
141 ::SharedTypes::Legacy::LevelSoundEvent type,
152 ::SharedTypes::Legacy::LevelSoundEvent type,
154 ::SharedTypes::Legacy::ActorLocation location,
Definition StrictEntityContext.h:8
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)