hawkeye camera support(not tested)

This commit is contained in:
meelstorm
2025-08-19 12:45:50 +02:00
parent f80b275ad8
commit 6ef6aced8d
170 changed files with 20190 additions and 72 deletions

View File

@@ -0,0 +1,19 @@
using System.Collections.Generic;
using System.Linq;
namespace UdtSharp
{
public static class CoreExtensions
{
public static bool TryGetValue(this HashSet<InfoBlock> self, InfoBlock equalValue, out InfoBlock actualValue)
{
if (self.Contains(equalValue))
{
actualValue = self.First(x=>x==equalValue);
return true;
}
actualValue = null;
return false;
}
}
}