mirror of
https://github.com/4sval/FModel.git
synced 2026-04-05 00:26:17 -05:00
allow null main + dynamic keys
This commit is contained in:
parent
527d48f7c2
commit
4c195134bc
|
|
@ -470,7 +470,6 @@ namespace FModel.Settings
|
|||
new("Strings", "g3/Content/Localization/")
|
||||
}
|
||||
},
|
||||
{FGame.PandaGame, new List<CustomDirectory>()},
|
||||
{FGame.StateOfDecay2, new List<CustomDirectory>()},
|
||||
{FGame.Prospect, new List<CustomDirectory>()},
|
||||
{FGame.Indiana, new List<CustomDirectory>()},
|
||||
|
|
@ -481,7 +480,8 @@ namespace FModel.Settings
|
|||
{FGame.TslGame, new List<CustomDirectory>()},
|
||||
{FGame.PortalWars, new List<CustomDirectory>()},
|
||||
{FGame.Gameface, new List<CustomDirectory>()},
|
||||
{FGame.Athena, new List<CustomDirectory>()}
|
||||
{FGame.Athena, new List<CustomDirectory>()},
|
||||
{FGame.PandaGame, new List<CustomDirectory>()},
|
||||
};
|
||||
public IDictionary<FGame, IList<CustomDirectory>> CustomDirectories
|
||||
{
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@ public class AesResponse
|
|||
}
|
||||
|
||||
[I] public bool HasDynamicKeys => DynamicKeys is { Count: > 0 };
|
||||
[I] public bool IsValid => MainKey.Length == 66;
|
||||
[I] public bool IsValid => MainKey.Length == 66 || HasDynamicKeys;
|
||||
}
|
||||
|
||||
[DebuggerDisplay("{" + nameof(Key) + "}")]
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user