LeviLamina
Loading...
Searching...
No Matches
SoundEventRequest Struct Reference

Classes

struct  ActorLocationData
struct  PlainData
struct  SoundData
struct  SynchronizedPlainData

Public Types

using PositionVariant = ::std::variant<::Vec3, ::SoundEventRequest::ActorLocationData>
using SoundDataVariant

Public Member Functions

SoundEventRequestoperator= (SoundEventRequest const &)
 SoundEventRequest (SoundEventRequest const &)
MCAPI SoundEventRequest (::SoundEventRequest &&)
MCAPI void * $ctor (::SoundEventRequest &&)

Static Public Member Functions

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)
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)

Public Attributes

::ll::TypedStorage< 4, 4, ::SharedTypes::Legacy::LevelSoundEvent > mEvent
::ll::TypedStorage< 8, 208, ::std::variant< ::SoundEventRequest::PlainData, ::SoundEventRequest::SoundData, ::SoundEventRequest::SynchronizedPlainData > > mData
::ll::TypedStorage< 4, 16, ::std::variant<::Vec3, ::SoundEventRequest::ActorLocationData > > mPosition

Member Typedef Documentation

◆ SoundDataVariant

using SoundEventRequest::SoundDataVariant
Initial value:

The documentation for this struct was generated from the following file: