Introduce list clipper for effective changes.

This commit is contained in:
Ottermandias 2021-07-19 12:15:00 +02:00
parent bf85cfe4b9
commit 3a7716717c
2 changed files with 37 additions and 15 deletions

View file

@ -52,6 +52,9 @@ namespace Penumbra.Meta
public IEnumerable< (MetaManipulation, Mod.Mod) > Manipulations
=> _currentManipulations.Select( kvp => ( kvp.Key, kvp.Value ) );
public int Count
=> _currentManipulations.Count;
public bool TryGetValue( MetaManipulation manip, out Mod.Mod mod )
=> _currentManipulations.TryGetValue( manip, out mod );