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

◆ GetDefaultChannelAttribute()

static EventChannelAttribute System.Diagnostics.Tracing.ManifestBuilder.GetDefaultChannelAttribute ( EventChannel channel)
inlinestaticprivate

Definition at line 198 of file ManifestBuilder.cs.

199 {
200 EventChannelAttribute eventChannelAttribute = new EventChannelAttribute();
201 eventChannelAttribute.EventChannelType = EventChannelToChannelType(channel);
202 if (eventChannelAttribute.EventChannelType <= EventChannelType.Operational)
203 {
204 eventChannelAttribute.Enabled = true;
205 }
207 }
static EventChannelType EventChannelToChannelType(EventChannel channel)

References System.Diagnostics.Tracing.ManifestBuilder.EventChannelToChannelType().

Referenced by System.Diagnostics.Tracing.ManifestBuilder.GetChannelName().