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

◆ Update()

void Terraria.Audio.SoundPlayer.Update ( )
inline

Definition at line 101 of file SoundPlayer.cs.

102 {
103 //IL_0048: Unknown result type (might be due to invalid IL or missing references)
104 //IL_0049: Unknown result type (might be due to invalid IL or missing references)
105 //IL_000f: Unknown result type (might be due to invalid IL or missing references)
106 //IL_0014: Unknown result type (might be due to invalid IL or missing references)
107 //IL_0015: Unknown result type (might be due to invalid IL or missing references)
108 //IL_0020: Unknown result type (might be due to invalid IL or missing references)
109 //IL_0033: Unknown result type (might be due to invalid IL or missing references)
110 //IL_0034: Unknown result type (might be due to invalid IL or missing references)
112 {
113 try
114 {
115 item.Value.Update();
116 if (!item.Value.IsPlaying)
117 {
119 }
120 }
121 catch
122 {
124 }
125 }
126 }
bool ICollection< KeyValuePair< TKey, TValue > >. Remove(KeyValuePair< TKey, TValue > keyValuePair)
readonly SlotVector< ActiveSound > _trackedSounds
Definition SoundPlayer.cs:9

References Terraria.Audio.SoundPlayer._trackedSounds, and System.Collections.Generic.Dictionary< TKey, TValue >.Remove().

Referenced by Terraria.Audio.SoundEngine.Update().