升级水插件

This commit is contained in:
2026-01-08 22:30:55 +08:00
parent febff82d24
commit ca68084264
415 changed files with 18138 additions and 7134 deletions

View File

@@ -1,4 +1,4 @@
// Crest Water System
// Crest Water System
// Copyright © 2024 Wave Harmonic. All rights reserved.
using System.Collections;
@@ -42,6 +42,16 @@ namespace WaveHarmonic.Crest.Utility
_NeedsSorting = true;
}
public bool Contains(TValue value)
{
foreach (var item in _BackingList)
{
if (item.Value.Equals(value)) return true;
}
return false;
}
public bool Remove(TValue value)
{
// This remove function has a fairly high complexity, as we need to search