feat(livestreamassist): expose current cluster string

This commit is contained in:
soarqin committed 2026-09-20 14:46:15 +08:00
1 parent 3e3e995d55
commit c0c4f51312
9 files changed
+59 -4

No files matched your search

+7 -2
View File
@@ -527,8 +527,13 @@ internal sealed class ReflectionReader
static bool IsAllowedProperty(PropertyInfo prop)
{
return prop.DeclaringType == typeof(GameHistoryData) &&
string.Equals(prop.Name, "currentTech", StringComparison.Ordinal);
if (prop.DeclaringType == typeof(GameHistoryData))
return string.Equals(prop.Name, "currentTech", StringComparison.Ordinal);
if (prop.DeclaringType == typeof(GameDesc))
return string.Equals(prop.Name, "clusterString", StringComparison.Ordinal);
return false;
}
bool IsAllowedType(Type type)