mirror of
https://github.com/soarqin/DSP_Mods.git
synced 2026-11-19 17:05:20 +08:00
feat(livestreamassist): expose current cluster string
This commit is contained in:
1 parent
3e3e995d55
commit
c0c4f51312
9 files changed
+59
-4
No files matched your search
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user