Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ DoesSoundScaleWithAmbientVolume()

bool Terraria.Audio.LegacySoundPlayer.DoesSoundScaleWithAmbientVolume ( int soundType)
inline

Definition at line 1439 of file LegacySoundPlayer.cs.

1440 {
1441 switch (soundType)
1442 {
1443 case 30:
1444 case 31:
1445 case 32:
1446 case 33:
1447 case 34:
1448 case 35:
1449 case 39:
1450 case 43:
1451 case 44:
1452 case 45:
1453 case 46:
1454 case 67:
1455 case 68:
1456 case 69:
1457 return true;
1458 default:
1459 return false;
1460 }
1461 }

Referenced by Terraria.Audio.LegacySoundPlayer.PlaySound().