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

◆ GetPublishedInstruments()

static List< Instrument > System.Diagnostics.Metrics.Meter.GetPublishedInstruments ( )
inlinestaticpackage

Definition at line 111 of file Meter.cs.

112 {
113 List<Instrument> list = null;
114 if (s_allMeters.Count > 0)
115 {
116 list = new List<Instrument>();
117 foreach (Meter s_allMeter in s_allMeters)
118 {
119 foreach (Instrument instrument in s_allMeter._instruments)
120 {
121 list.Add(instrument);
122 }
123 }
124 }
125 return list;
126 }
static readonly List< Meter > s_allMeters
Definition Meter.cs:7

References System.list, and System.Diagnostics.Metrics.Meter.s_allMeters.

Referenced by System.Diagnostics.Metrics.MeterListener.Start().