Barotrauma Client Doc
Barotrauma.CharacterSound Class Reference

Public Types

enum class  SoundType {
  Idle , Attack , Die , Damage ,
  Happy , Unhappy
}
 

Public Member Functions

 CharacterSound (CharacterParams.SoundParams soundParams)
 

Public Attributes

readonly CharacterParams.SoundParams Params
 

Properties

SoundType Type [get]
 
ImmutableHashSet< IdentifierTagSet [get]
 
float Volume [get]
 
float Range [get]
 
Sound Sound [get]
 
bool IgnoreMuffling [get]
 

Detailed Description

Definition at line 6 of file CharacterSound.cs.

Member Enumeration Documentation

◆ SoundType

Enumerator
Idle 
Attack 
Die 
Damage 
Happy 
Unhappy 

Definition at line 8 of file CharacterSound.cs.

Constructor & Destructor Documentation

◆ CharacterSound()

Barotrauma.CharacterSound.CharacterSound ( CharacterParams.SoundParams  soundParams)

Definition at line 24 of file CharacterSound.cs.

Member Data Documentation

◆ Params

readonly CharacterParams.SoundParams Barotrauma.CharacterSound.Params

Definition at line 14 of file CharacterSound.cs.

Property Documentation

◆ IgnoreMuffling

bool Barotrauma.CharacterSound.IgnoreMuffling
get

Definition at line 22 of file CharacterSound.cs.

◆ Range

float Barotrauma.CharacterSound.Range
get

Definition at line 19 of file CharacterSound.cs.

◆ Sound

Sound Barotrauma.CharacterSound.Sound
get

Definition at line 20 of file CharacterSound.cs.

◆ TagSet

ImmutableHashSet<Identifier> Barotrauma.CharacterSound.TagSet
get

Definition at line 17 of file CharacterSound.cs.

◆ Type

SoundType Barotrauma.CharacterSound.Type
get

Definition at line 16 of file CharacterSound.cs.

◆ Volume

float Barotrauma.CharacterSound.Volume
get

Definition at line 18 of file CharacterSound.cs.