CommonLibVR
RE::BGSImpactManager Class Reference

#include <BGSImpactManager.h>

Inheritance diagram for RE::BGSImpactManager:
RE::BSTEventSink< BGSFootstepEvent > RE::BSTEventSink< BGSCombatImpactEvent > RE::BSTEventSink< BGSCollisionSoundEvent > RE::BSTSingletonSDM< BGSImpactManager > RE::BSTSingletonSDMBase< Traits >

Classes

struct  ImpactSoundData
 

Public Member Functions

BSEventNotifyControl ProcessEvent (const BGSFootstepEvent *a_event, BSTEventSource< BGSFootstepEvent > *a_eventSource) override
 
BSEventNotifyControl ProcessEvent (const BGSCombatImpactEvent *a_event, BSTEventSource< BGSCombatImpactEvent > *a_eventSource) override
 
BSEventNotifyControl ProcessEvent (const BGSCollisionSoundEvent *a_event, BSTEventSource< BGSCollisionSoundEvent > *a_eventSource) override
 
bool PlayImpactEffect (TESObjectREFR *a_ref, BGSImpactDataSet *a_impactEffect, const BSFixedString &a_nodeName, NiPoint3 &a_pickDirection, float a_pickLength, bool a_applyNodeRotation, bool a_useNodeLocalRotation)
 
bool PlayImpactDataSounds (ImpactSoundData &a_impactSoundData)
 
- Public Member Functions inherited from RE::BSTEventSink< BGSFootstepEvent >
virtual ~BSTEventSink ()=default
 
- Public Member Functions inherited from RE::BSTEventSink< BGSCombatImpactEvent >
virtual ~BSTEventSink ()=default
 
- Public Member Functions inherited from RE::BSTEventSink< BGSCollisionSoundEvent >
virtual ~BSTEventSink ()=default
 

Static Public Member Functions

static BGSImpactManagerGetSingleton ()
 

Additional Inherited Members

- Public Types inherited from RE::BSTSingletonSDMBase< Traits >
using Type = typename Traits::Type
 
using Allocator = typename Traits::Allocator
 

Member Function Documentation

◆ GetSingleton()

static BGSImpactManager* RE::BGSImpactManager::GetSingleton ( )
inlinestatic

◆ PlayImpactDataSounds()

bool RE::BGSImpactManager::PlayImpactDataSounds ( ImpactSoundData a_impactSoundData)
inline

◆ PlayImpactEffect()

bool RE::BGSImpactManager::PlayImpactEffect ( TESObjectREFR a_ref,
BGSImpactDataSet a_impactEffect,
const BSFixedString a_nodeName,
NiPoint3 a_pickDirection,
float  a_pickLength,
bool  a_applyNodeRotation,
bool  a_useNodeLocalRotation 
)
inline

◆ ProcessEvent() [1/3]

BSEventNotifyControl RE::BGSImpactManager::ProcessEvent ( const BGSCollisionSoundEvent *  a_event,
BSTEventSource< BGSCollisionSoundEvent > *  a_eventSource 
)
overridevirtual

◆ ProcessEvent() [2/3]

BSEventNotifyControl RE::BGSImpactManager::ProcessEvent ( const BGSCombatImpactEvent *  a_event,
BSTEventSource< BGSCombatImpactEvent > *  a_eventSource 
)
overridevirtual

◆ ProcessEvent() [3/3]

BSEventNotifyControl RE::BGSImpactManager::ProcessEvent ( const BGSFootstepEvent a_event,
BSTEventSource< BGSFootstepEvent > *  a_eventSource 
)
overridevirtual

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