punish v6.8.18.0

This commit is contained in:
alydev 2025-10-09 07:47:19 +10:00
commit cfb4dea47e
316 changed files with 554088 additions and 0 deletions

View file

@ -0,0 +1,15 @@
using System.Numerics;
namespace Questionable.Controller.NavigationOverrides;
public sealed record BlacklistedPoint(ushort TerritoryId, Vector3 Original, Vector3 Replacement, float CheckDistance = 0.05f, bool RecalculateNavmesh = false) : IBlacklistedLocation
{
public AlternateLocation? AdjustPoint(Vector3 point)
{
if ((point - Original).Length() > CheckDistance)
{
return null;
}
return new AlternateLocation(Replacement, RecalculateNavmesh);
}
}