worldbox-observer-mod/IdleSpectator/WorldLogInterestTable.cs
2026-07-16 00:40:53 -05:00

21 lines
633 B
C#

using System.Collections.Generic;
namespace IdleSpectator;
/// <summary>
/// Compatibility facade over <see cref="EventCatalog.WorldLog"/>. Prefer the catalog directly.
/// </summary>
public static class WorldLogInterestTable
{
public static bool TryGetEventStrength(string assetId, out float eventStrength)
{
return EventCatalog.WorldLog.TryGetEventStrength(assetId, out eventStrength);
}
public static string MakeLabel(WorldLogMessage message)
{
return EventCatalog.WorldLog.MakeLabel(message);
}
public static IEnumerable<string> AuthoredIds => EventCatalog.WorldLog.AuthoredIds;
}