IEntitySoundProxy

C++
struct IEntitySoundProxy : public IEntityProxy {
  enum ESoundProxyFlags {
    FLAG_DELEGATE_SOUND_ANIM_EVENTS = BIT(1)
  };
};
File

IEntityProxy.h

Description

Sound proxy interface.

IEntitySoundProxy::ESoundProxyFlags Enumeration
C++
enum ESoundProxyFlags {
  FLAG_DELEGATE_SOUND_ANIM_EVENTS = BIT(1)
};
File

IEntityProxy.h

Members
Members
Description
FLAG_DELEGATE_SOUND_ANIM_EVENTS = BIT(1)
When set it does not process 'sound' animation events
IEntitySoundProxy::CheckVisibilityForTailName Method
C++
virtual void CheckVisibilityForTailName(const float fLength, const float fDistanceToRecalculate) = 0;
IEntitySoundProxy::GetEffectRadius Method
C++
virtual float GetEffectRadius() = 0;
IEntitySoundProxy::GetEntity Method
C++
virtual IEntity* GetEntity() const = 0;
IEntitySoundProxy::GetFlags Method
C++
virtual int GetFlags() const = 0;
IEntitySoundProxy::GetSound Method
C++
virtual ISound* const GetSound(tSoundID const nSoundId) = 0;
IEntitySoundProxy::GetSoundDirection Method
C++
virtual Vec3 GetSoundDirection(tSoundID nSoundId) = 0;
IEntitySoundProxy::GetSoundPos Method
C++
virtual Vec3 GetSoundPos(tSoundID nSoundId) = 0;
IEntitySoundProxy::GetStaticSound Method
C++
virtual bool GetStaticSound(const tSoundID nSoundId) = 0;
IEntitySoundProxy::GetTailName Method
C++
virtual const char* GetTailName() = 0;
IEntitySoundProxy::PauseSound Method
C++
virtual void PauseSound(tSoundID nSoundId, bool bPause) = 0;
IEntitySoundProxy::PlaySound Method (ISound *, Vec3 &, Vec3 &, float, bool)
C++
virtual bool PlaySound(ISound * pSound, const Vec3 & vPos = Vec3(0,0,0), const Vec3 & vDirection = FORWARD_DIRECTION, float fSoundScale = 1.0f, bool bLipSync = true) = 0;
IEntitySoundProxy::PlaySound Method (char *, Vec3 &, Vec3 &, uint32, uint32, ESoundSemantic)
C++
virtual tSoundID PlaySound(const char * sSoundOrEventName, const Vec3 & vOffset, const Vec3 & vDirection, uint32 nSoundFlags, uint32 nSoundFlagsExtended, ESoundSemantic eSemantic) = 0;
IEntitySoundProxy::PlaySound Method (char *, Vec3 &, Vec3 &, uint32, uint32, ESoundSemantic, EntityId *, int)
C++
virtual tSoundID PlaySound(const char * sSoundOrEventName, const Vec3 & vOffset, const Vec3 & vDirection, uint32 nSoundFlags, uint32 nSoundFlagsExtended, ESoundSemantic eSemantic, EntityId * pSkipEnts, int nSkipEnts) = 0;
Description

new calls

IEntitySoundProxy::PlaySoundEx Method (char *, Vec3 &, Vec3 &, uint32, uint32, float, float, float, ESoundSemantic)
C++
virtual tSoundID PlaySoundEx(const char * sSoundOrEventName, const Vec3 & vOffset, const Vec3 & vDirection, uint32 nSoundFlags, uint32 nSoundFlagsExtended, float fVolume, float fMinRadius, float fMaxRadius, ESoundSemantic eSemantic) = 0;
IEntitySoundProxy::PlaySoundEx Method (char *, Vec3 &, Vec3 &, uint32, uint32, float, float, float, ESoundSemantic, EntityId *, int)
C++
virtual tSoundID PlaySoundEx(const char * sSoundOrEventName, const Vec3 & vOffset, const Vec3 & vDirection, uint32 nSoundFlags, uint32 nSoundFlagsExtended, float fVolume, float fMinRadius, float fMaxRadius, ESoundSemantic eSemantic, EntityId * pSkipEnts, int nSkipEnts) = 0;
IEntitySoundProxy::SetEffectRadius Method
C++
virtual void SetEffectRadius(float fEffectRadius) = 0;
IEntitySoundProxy::SetFlags Method
C++
virtual void SetFlags(int nSoundProxyFlags) = 0;
IEntitySoundProxy::SetSoundDirection Method
C++
virtual void SetSoundDirection(tSoundID nSoundId, const Vec3 & dir) = 0;
IEntitySoundProxy::SetSoundPos Method
C++
virtual void SetSoundPos(tSoundID nSoundId, const Vec3 & vPos) = 0;
IEntitySoundProxy::SetStaticSound Method
C++
virtual bool SetStaticSound(tSoundID nSoundId, bool bStatic) = 0;
IEntitySoundProxy::StopAllSounds Method
C++
virtual void StopAllSounds() = 0;
IEntitySoundProxy::StopSound Method
C++
virtual void StopSound(tSoundID const nSoundId, ESoundStopMode const eStopMode = ESoundStopMode_EventFade, bool const bLoopedOnly = false) = 0;
IEntitySoundProxy::UpdateSounds Method
C++
virtual void UpdateSounds() = 0;