forked from aly/qstbak
muffin v7.5.6
This commit is contained in:
parent
6266f9e6b7
commit
addf2d530f
619 changed files with 264792 additions and 446022 deletions
|
|
@ -1,23 +1,117 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Globalization;
|
||||
using System.Numerics;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Text;
|
||||
|
||||
namespace Questionable.Controller.NavigationOverrides;
|
||||
|
||||
public sealed record AlternateLocation(Vector3 Point, bool RecalculateNavmesh)
|
||||
{
|
||||
[CompilerGenerated]
|
||||
private Type EqualityContract
|
||||
{
|
||||
[CompilerGenerated]
|
||||
get
|
||||
{
|
||||
return _206A_200D_200F_202C_206C_202B_200E_200F_206B_200F_206C_206B_206A_206F_206C_202A_202A_206E_202E_200F_200C_200B_200C_206A_206D_200C_202D_202D_200D_206E_200F_200D_206A_200C_200E_200D_200F_200D_206C_206B_202E(typeof(AlternateLocation).TypeHandle);
|
||||
}
|
||||
}
|
||||
|
||||
[MethodImpl(MethodImplOptions.NoInlining)]
|
||||
public override string ToString()
|
||||
{
|
||||
IFormatProvider invariantCulture = CultureInfo.InvariantCulture;
|
||||
DefaultInterpolatedStringHandler handler = new DefaultInterpolatedStringHandler(6, 4, invariantCulture);
|
||||
handler.AppendFormatted("Point");
|
||||
handler.AppendLiteral(": ");
|
||||
handler.AppendFormatted(Point, "G");
|
||||
handler.AppendLiteral(", ");
|
||||
handler.AppendFormatted("RecalculateNavmesh");
|
||||
handler.AppendLiteral(": ");
|
||||
handler.AppendFormatted(RecalculateNavmesh);
|
||||
return string.Create(invariantCulture, ref handler);
|
||||
IFormatProvider formatProvider = _202E_206D_200D_206D_206E_202D_206C_202D_206A_202E_202C_202E_202B_200D_202E_200D_200E_206A_202D_200F_206D_200C_206A_206E_202A_206D_206E_200D_202D_206D_202C_202C_206C_206B_206A_200F_200F_200C_200F_200C_202E();
|
||||
DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(6, 4, formatProvider);
|
||||
defaultInterpolatedStringHandler.AppendFormatted(global::_003CModule_003E._200B_206B_206B_200E_200B_206A_206D_206B_206E_200F_206A_206F_206E_202B_200F_206C_202B_206D_206E_200F_200C_200E_206F_200D_200F_200B_202B_202B_202B_202B_206D_202C_206A_206D_200B_206E_200D_206A_206F_200F_202E<string>(-772385023));
|
||||
defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._202D_206D_206A_206E_202C_202B_200C_206C_200E_206A_206D_200E_206A_202A_200C_202E_206E_202C_206F_200B_206D_206F_200C_202C_200B_202B_200F_200B_206A_206F_200F_202E_206B_200E_202B_202A_200F_200B_202A_200E_202E<string>(-2035955381));
|
||||
defaultInterpolatedStringHandler.AppendFormatted(Point, global::_003CModule_003E._202E_206C_200F_206B_206A_202A_202C_206F_200C_206C_202B_206B_206D_206D_206D_202D_206E_202E_206C_206E_206D_202C_206F_200D_202D_202E_206A_206D_202A_206A_202B_200D_200C_206D_202B_200B_200D_200C_206E_206B_202E<string>(1450220880));
|
||||
defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._206C_202A_206D_206A_206E_202A_202B_206F_206D_200F_202D_200F_202D_206A_202C_202B_206D_206A_200E_200E_202D_202D_200D_200C_200D_200D_206D_206E_202A_200F_206E_206C_206D_206A_206D_202B_200F_200D_206E_200C_202E<string>(1577352017));
|
||||
defaultInterpolatedStringHandler.AppendFormatted(global::_003CModule_003E._206C_202A_206D_206A_206E_202A_202B_206F_206D_200F_202D_200F_202D_206A_202C_202B_206D_206A_200E_200E_202D_202D_200D_200C_200D_200D_206D_206E_202A_200F_206E_206C_206D_206A_206D_202B_200F_200D_206E_200C_202E<string>(528515555));
|
||||
defaultInterpolatedStringHandler.AppendLiteral(global::_003CModule_003E._202E_206C_200F_206B_206A_202A_202C_206F_200C_206C_202B_206B_206D_206D_206D_202D_206E_202E_206C_206E_206D_202C_206F_200D_202D_202E_206A_206D_202A_206A_202B_200D_200C_206D_202B_200B_200D_200C_206E_206B_202E<string>(2074665157));
|
||||
defaultInterpolatedStringHandler.AppendFormatted(RecalculateNavmesh);
|
||||
return _206C_202D_206A_202C_200D_200D_202B_200E_206C_202E_206F_206B_200C_206C_206B_200B_206D_206E_206F_202C_206F_206B_200E_200D_206A_202D_202D_200E_200F_206D_206A_206E_206D_200B_202D_202C_202A_206D_206B_202D_202E(formatProvider, ref defaultInterpolatedStringHandler);
|
||||
}
|
||||
|
||||
[MethodImpl(MethodImplOptions.NoInlining)]
|
||||
[CompilerGenerated]
|
||||
private bool PrintMembers(StringBuilder builder)
|
||||
{
|
||||
_202B_200F_202C_206B_202B_202B_206D_206B_206D_202E_200C_206C_206E_202B_206F_200D_202B_200E_206E_206E_200B_206F_202D_202C_202B_202D_202C_206D_200B_206B_206D_202E_206D_200E_206F_206A_206F_202A_206C_202D_202E();
|
||||
_206D_202E_200E_200B_206E_200C_202A_202B_206B_200B_202A_206C_202C_202D_206D_206F_206A_206E_200E_206B_200B_202B_202B_206A_202D_200E_202B_206D_200D_206F_206B_206E_206D_206F_200D_206D_206B_200D_206B_206F_202E(builder, global::_003CModule_003E._202E_206C_200F_206B_206A_202A_202C_206F_200C_206C_202B_206B_206D_206D_206D_202D_206E_202E_206C_206E_206D_202C_206F_200D_202D_202E_206A_206D_202A_206A_202B_200D_200C_206D_202B_200B_200D_200C_206E_206B_202E<string>(-1934952826));
|
||||
_206D_202E_200E_200B_206E_200C_202A_202B_206B_200B_202A_206C_202C_202D_206D_206F_206A_206E_200E_206B_200B_202B_202B_206A_202D_200E_202B_206D_200D_206F_206B_206E_206D_206F_200D_206D_206B_200D_206B_206F_202E(builder, Point.ToString());
|
||||
_206D_202E_200E_200B_206E_200C_202A_202B_206B_200B_202A_206C_202C_202D_206D_206F_206A_206E_200E_206B_200B_202B_202B_206A_202D_200E_202B_206D_200D_206F_206B_206E_206D_206F_200D_206D_206B_200D_206B_206F_202E(builder, global::_003CModule_003E._202A_206B_206D_200C_206B_200E_200E_202A_200B_202E_206A_206F_206A_206B_200E_200D_200F_206D_206E_206A_206F_200C_206C_202C_202A_206E_202C_200B_206E_202A_206E_202B_206B_202E_202E_206A_206D_206D_202C_200F_202E<string>(-1357493032));
|
||||
_206D_202E_200E_200B_206E_200C_202A_202B_206B_200B_202A_206C_202C_202D_206D_206F_206A_206E_200E_206B_200B_202B_202B_206A_202D_200E_202B_206D_200D_206F_206B_206E_206D_206F_200D_206D_206B_200D_206B_206F_202E(builder, RecalculateNavmesh.ToString());
|
||||
return true;
|
||||
}
|
||||
|
||||
[CompilerGenerated]
|
||||
public bool Equals(AlternateLocation? other)
|
||||
{
|
||||
int num = (((object)this == other) ? 1935903240 : 1935903245);
|
||||
while (true)
|
||||
{
|
||||
int num2 = num;
|
||||
int num3 = 1935903244;
|
||||
int num4 = num2;
|
||||
switch ((num4 | num3) - (num4 & num3))
|
||||
{
|
||||
case 5:
|
||||
num = ((!EqualityComparer<Vector3>.Default.Equals(Point, other.Point)) ? 1935903242 : 1935903244);
|
||||
break;
|
||||
case 1:
|
||||
num = (((object)other == null) ? 1935903242 : 1935903246);
|
||||
break;
|
||||
case 6:
|
||||
return false;
|
||||
case 4:
|
||||
return true;
|
||||
case 3:
|
||||
num = 1935903245;
|
||||
break;
|
||||
case 2:
|
||||
num = ((!_206B_206B_206F_206B_202C_206C_202C_202B_200C_200B_206B_206F_206A_206B_206C_206F_200B_200F_200B_202A_202A_206B_206B_202D_206B_206C_206F_202A_202B_202D_202C_200F_200B_200B_200C_202B_200F_206D_200B_206A_202E(EqualityContract, other.EqualityContract)) ? 1935903242 : 1935903241);
|
||||
break;
|
||||
case 0:
|
||||
return EqualityComparer<bool>.Default.Equals(RecalculateNavmesh, other.RecalculateNavmesh);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
bool IEquatable<AlternateLocation>.Equals(AlternateLocation? other)
|
||||
{
|
||||
//ILSpy generated this explicit interface implementation from .override directive in Equals
|
||||
return this.Equals(other);
|
||||
}
|
||||
|
||||
static Type _206A_200D_200F_202C_206C_202B_200E_200F_206B_200F_206C_206B_206A_206F_206C_202A_202A_206E_202E_200F_200C_200B_200C_206A_206D_200C_202D_202D_200D_206E_200F_200D_206A_200C_200E_200D_200F_200D_206C_206B_202E(RuntimeTypeHandle P_0)
|
||||
{
|
||||
return Type.GetTypeFromHandle(P_0);
|
||||
}
|
||||
|
||||
static CultureInfo _202E_206D_200D_206D_206E_202D_206C_202D_206A_202E_202C_202E_202B_200D_202E_200D_200E_206A_202D_200F_206D_200C_206A_206E_202A_206D_206E_200D_202D_206D_202C_202C_206C_206B_206A_200F_200F_200C_200F_200C_202E()
|
||||
{
|
||||
return CultureInfo.InvariantCulture;
|
||||
}
|
||||
|
||||
static string _206C_202D_206A_202C_200D_200D_202B_200E_206C_202E_206F_206B_200C_206C_206B_200B_206D_206E_206F_202C_206F_206B_200E_200D_206A_202D_202D_200E_200F_206D_206A_206E_206D_200B_202D_202C_202A_206D_206B_202D_202E(IFormatProvider P_0, ref DefaultInterpolatedStringHandler P_1)
|
||||
{
|
||||
return string.Create(P_0, ref P_1);
|
||||
}
|
||||
|
||||
static void _202B_200F_202C_206B_202B_202B_206D_206B_206D_202E_200C_206C_206E_202B_206F_200D_202B_200E_206E_206E_200B_206F_202D_202C_202B_202D_202C_206D_200B_206B_206D_202E_206D_200E_206F_206A_206F_202A_206C_202D_202E()
|
||||
{
|
||||
RuntimeHelpers.EnsureSufficientExecutionStack();
|
||||
}
|
||||
|
||||
static StringBuilder _206D_202E_200E_200B_206E_200C_202A_202B_206B_200B_202A_206C_202C_202D_206D_206F_206A_206E_200E_206B_200B_202B_202B_206A_202D_200E_202B_206D_200D_206F_206B_206E_206D_206F_200D_206D_206B_200D_206B_206F_202E(StringBuilder P_0, string P_1)
|
||||
{
|
||||
return P_0.Append(P_1);
|
||||
}
|
||||
|
||||
static bool _206B_206B_206F_206B_202C_206C_202C_202B_200C_200B_206B_206F_206A_206B_206C_206F_200B_200F_200B_202A_202A_206B_206B_202D_206B_206C_206F_202A_202B_202D_202C_200F_200B_200B_200C_202B_200F_206D_200B_206A_202E(Type P_0, Type P_1)
|
||||
{
|
||||
return P_0 == P_1;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,16 +1,187 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Numerics;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Text;
|
||||
|
||||
namespace Questionable.Controller.NavigationOverrides;
|
||||
|
||||
internal sealed record BlacklistedArea(ushort TerritoryId, Vector3 Center, float MinDistance, float MaxDistance, bool RecalculateNavmesh = false) : IBlacklistedLocation
|
||||
{
|
||||
[CompilerGenerated]
|
||||
private Type EqualityContract
|
||||
{
|
||||
[CompilerGenerated]
|
||||
get
|
||||
{
|
||||
return _202D_206B_206D_202C_206E_206A_206B_202C_206A_202C_206D_206F_202D_202A_200D_202B_200F_200C_206F_206A_200F_202E_206A_202A_202B_200F_200E_200F_206E_202A_202C_206B_206B_202D_202A_200E_200D_200B_200C_206C_202E(typeof(BlacklistedArea).TypeHandle);
|
||||
}
|
||||
}
|
||||
|
||||
public AlternateLocation? AdjustPoint(Vector3 point)
|
||||
{
|
||||
float num = (point - Center).Length();
|
||||
if (num < MinDistance || num > MaxDistance)
|
||||
int num2 = ((num < MinDistance) ? 1953826546 : 1953826545);
|
||||
while (true)
|
||||
{
|
||||
return null;
|
||||
int num3 = num2;
|
||||
int num4 = 1953826547;
|
||||
int num5 = num3;
|
||||
int num6 = num5 + num4;
|
||||
int num7 = num5 & num4;
|
||||
switch (num6 - (num7 + num7))
|
||||
{
|
||||
case 3:
|
||||
num2 = 1953826545;
|
||||
break;
|
||||
case 0:
|
||||
return new AlternateLocation(Center + Vector3.Normalize(point - Center) * MaxDistance, RecalculateNavmesh);
|
||||
case 2:
|
||||
num2 = ((!(num > MaxDistance)) ? 1953826547 : 1953826546);
|
||||
break;
|
||||
case 1:
|
||||
return null;
|
||||
}
|
||||
}
|
||||
return new AlternateLocation(Center + Vector3.Normalize(point - Center) * MaxDistance, RecalculateNavmesh);
|
||||
}
|
||||
|
||||
AlternateLocation? IBlacklistedLocation.AdjustPoint(Vector3 point)
|
||||
{
|
||||
//ILSpy generated this explicit interface implementation from .override directive in AdjustPoint
|
||||
return this.AdjustPoint(point);
|
||||
}
|
||||
|
||||
[MethodImpl(MethodImplOptions.NoInlining)]
|
||||
[CompilerGenerated]
|
||||
public override string ToString()
|
||||
{
|
||||
StringBuilder stringBuilder = _206B_202A_200E_202B_202E_202D_202C_200F_206A_202A_202C_202B_206C_200D_206E_206A_202E_206E_202B_200B_206D_202E_202D_206C_206D_202E_202E_200E_202C_200F_200F_202D_206A_206C_202D_202B_202B_202C_206C_200E_202E();
|
||||
_202A_202D_202E_206B_206B_200C_206F_202A_206D_200C_202B_200D_206F_206C_206E_202D_206F_206C_202A_206A_202E_206C_206E_202A_206C_206A_206F_206F_202B_200D_202A_200B_206C_202C_206F_206A_200C_200B_200E_202B_202E(stringBuilder, global::_003CModule_003E._206C_202A_206D_206A_206E_202A_202B_206F_206D_200F_202D_200F_202D_206A_202C_202B_206D_206A_200E_200E_202D_202D_200D_200C_200D_200D_206D_206E_202A_200F_206E_206C_206D_206A_206D_202B_200F_200D_206E_200C_202E<string>(699267182));
|
||||
_202A_202D_202E_206B_206B_200C_206F_202A_206D_200C_202B_200D_206F_206C_206E_202D_206F_206C_202A_206A_202E_206C_206E_202A_206C_206A_206F_206F_202B_200D_202A_200B_206C_202C_206F_206A_200C_200B_200E_202B_202E(stringBuilder, global::_003CModule_003E._206C_202A_206D_206A_206E_202A_202B_206F_206D_200F_202D_200F_202D_206A_202C_202B_206D_206A_200E_200E_202D_202D_200D_200C_200D_200D_206D_206E_202A_200F_206E_206C_206D_206A_206D_202B_200F_200D_206E_200C_202E<string>(698284764));
|
||||
int num = ((!PrintMembers(stringBuilder)) ? 1630506085 : 1630506086);
|
||||
while (true)
|
||||
{
|
||||
int num2 = num;
|
||||
int num3 = 1630506087;
|
||||
int num4 = num2;
|
||||
int num5 = num4 + num3;
|
||||
int num6 = num4 & num3;
|
||||
switch (num5 - (num6 + num6))
|
||||
{
|
||||
case 2:
|
||||
_200C_202C_202B_206A_206E_200C_206B_202B_202A_200E_206C_200C_206C_200D_200B_206D_206F_206D_206E_202A_200B_206E_206D_206E_200C_200C_200F_206E_202B_206A_206C_206E_202E_202E_202A_206F_206B_206C_202C_202E_202E(stringBuilder, '}');
|
||||
return _202A_206B_206C_202B_206E_202B_200E_202D_202C_206F_206C_206D_200F_202E_206F_200C_200C_200F_202E_200E_200C_206E_202B_206C_200F_202A_206B_206B_202B_206A_206C_200B_200E_202A_200D_206D_200F_202D_206A_200E_202E((object)stringBuilder);
|
||||
case 1:
|
||||
_200C_202C_202B_206A_206E_200C_206B_202B_202A_200E_206C_200C_206C_200D_200B_206D_206F_206D_206E_202A_200B_206E_206D_206E_200C_200C_200F_206E_202B_206A_206C_206E_202E_202E_202A_206F_206B_206C_202C_202E_202E(stringBuilder, ' ');
|
||||
num = 1630506085;
|
||||
break;
|
||||
case 0:
|
||||
num = 1630506086;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[MethodImpl(MethodImplOptions.NoInlining)]
|
||||
[CompilerGenerated]
|
||||
private bool PrintMembers(StringBuilder builder)
|
||||
{
|
||||
_200C_200D_206A_206E_206E_206E_206A_200C_206F_202C_200C_200D_206D_200C_206B_202C_202D_202E_200E_200F_202D_206F_202B_200C_206C_202E_206C_200B_202D_202C_202C_200B_206A_200D_206C_200B_202E_202E_206C_202B_202E();
|
||||
_202A_202D_202E_206B_206B_200C_206F_202A_206D_200C_202B_200D_206F_206C_206E_202D_206F_206C_202A_206A_202E_206C_206E_202A_206C_206A_206F_206F_202B_200D_202A_200B_206C_202C_206F_206A_200C_200B_200E_202B_202E(builder, global::_003CModule_003E._206C_202A_206D_206A_206E_202A_202B_206F_206D_200F_202D_200F_202D_206A_202C_202B_206D_206A_200E_200E_202D_202D_200D_200C_200D_200D_206D_206E_202A_200F_206E_206C_206D_206A_206D_202B_200F_200D_206E_200C_202E<string>(-871596524));
|
||||
_202A_202D_202E_206B_206B_200C_206F_202A_206D_200C_202B_200D_206F_206C_206E_202D_206F_206C_202A_206A_202E_206C_206E_202A_206C_206A_206F_206F_202B_200D_202A_200B_206C_202C_206F_206A_200C_200B_200E_202B_202E(builder, TerritoryId.ToString());
|
||||
_202A_202D_202E_206B_206B_200C_206F_202A_206D_200C_202B_200D_206F_206C_206E_202D_206F_206C_202A_206A_202E_206C_206E_202A_206C_206A_206F_206F_202B_200D_202A_200B_206C_202C_206F_206A_200C_200B_200E_202B_202E(builder, global::_003CModule_003E._202D_206D_206A_206E_202C_202B_200C_206C_200E_206A_206D_200E_206A_202A_200C_202E_206E_202C_206F_200B_206D_206F_200C_202C_200B_202B_200F_200B_206A_206F_200F_202E_206B_200E_202B_202A_200F_200B_202A_200E_202E<string>(-2067705783));
|
||||
_202A_202D_202E_206B_206B_200C_206F_202A_206D_200C_202B_200D_206F_206C_206E_202D_206F_206C_202A_206A_202E_206C_206E_202A_206C_206A_206F_206F_202B_200D_202A_200B_206C_202C_206F_206A_200C_200B_200E_202B_202E(builder, Center.ToString());
|
||||
_202A_202D_202E_206B_206B_200C_206F_202A_206D_200C_202B_200D_206F_206C_206E_202D_206F_206C_202A_206A_202E_206C_206E_202A_206C_206A_206F_206F_202B_200D_202A_200B_206C_202C_206F_206A_200C_200B_200E_202B_202E(builder, global::_003CModule_003E._202D_206D_206A_206E_202C_202B_200C_206C_200E_206A_206D_200E_206A_202A_200C_202E_206E_202C_206F_200B_206D_206F_200C_202C_200B_202B_200F_200B_206A_206F_200F_202E_206B_200E_202B_202A_200F_200B_202A_200E_202E<string>(-950319635));
|
||||
_202A_202D_202E_206B_206B_200C_206F_202A_206D_200C_202B_200D_206F_206C_206E_202D_206F_206C_202A_206A_202E_206C_206E_202A_206C_206A_206F_206F_202B_200D_202A_200B_206C_202C_206F_206A_200C_200B_200E_202B_202E(builder, MinDistance.ToString());
|
||||
_202A_202D_202E_206B_206B_200C_206F_202A_206D_200C_202B_200D_206F_206C_206E_202D_206F_206C_202A_206A_202E_206C_206E_202A_206C_206A_206F_206F_202B_200D_202A_200B_206C_202C_206F_206A_200C_200B_200E_202B_202E(builder, global::_003CModule_003E._200B_206B_206B_200E_200B_206A_206D_206B_206E_200F_206A_206F_206E_202B_200F_206C_202B_206D_206E_200F_200C_200E_206F_200D_200F_200B_202B_202B_202B_202B_206D_202C_206A_206D_200B_206E_200D_206A_206F_200F_202E<string>(1555143771));
|
||||
_202A_202D_202E_206B_206B_200C_206F_202A_206D_200C_202B_200D_206F_206C_206E_202D_206F_206C_202A_206A_202E_206C_206E_202A_206C_206A_206F_206F_202B_200D_202A_200B_206C_202C_206F_206A_200C_200B_200E_202B_202E(builder, MaxDistance.ToString());
|
||||
_202A_202D_202E_206B_206B_200C_206F_202A_206D_200C_202B_200D_206F_206C_206E_202D_206F_206C_202A_206A_202E_206C_206E_202A_206C_206A_206F_206F_202B_200D_202A_200B_206C_202C_206F_206A_200C_200B_200E_202B_202E(builder, global::_003CModule_003E._202D_206D_206A_206E_202C_202B_200C_206C_200E_206A_206D_200E_206A_202A_200C_202E_206E_202C_206F_200B_206D_206F_200C_202C_200B_202B_200F_200B_206A_206F_200F_202E_206B_200E_202B_202A_200F_200B_202A_200E_202E<string>(1075142813));
|
||||
_202A_202D_202E_206B_206B_200C_206F_202A_206D_200C_202B_200D_206F_206C_206E_202D_206F_206C_202A_206A_202E_206C_206E_202A_206C_206A_206F_206F_202B_200D_202A_200B_206C_202C_206F_206A_200C_200B_200E_202B_202E(builder, RecalculateNavmesh.ToString());
|
||||
return true;
|
||||
}
|
||||
|
||||
[CompilerGenerated]
|
||||
public bool Equals(BlacklistedArea? other)
|
||||
{
|
||||
int num = (((object)this == other) ? 284124876 : 284124877);
|
||||
while (true)
|
||||
{
|
||||
int num2 = num;
|
||||
int num3 = 284124874;
|
||||
int num4 = num2;
|
||||
int num5 = num4 + num3;
|
||||
int num6 = num4 & num3;
|
||||
switch (num5 - (num6 + num6))
|
||||
{
|
||||
case 3:
|
||||
num = 284124877;
|
||||
break;
|
||||
case 8:
|
||||
return EqualityComparer<bool>.Default.Equals(RecalculateNavmesh, other.RecalculateNavmesh);
|
||||
case 0:
|
||||
num = ((!EqualityComparer<Vector3>.Default.Equals(Center, other.Center)) ? 284124879 : 284124875);
|
||||
break;
|
||||
case 4:
|
||||
num = ((!_206C_206E_200C_200D_206A_202B_206C_202B_206B_206C_202B_200D_200D_202D_206D_206F_200B_202C_206C_206B_206F_200F_202C_202B_200F_200B_202C_202E_202C_202C_202B_200B_206B_202E_202D_202B_200B_206F_200E_206B_202E(EqualityContract, other.EqualityContract)) ? 284124879 : 284124867);
|
||||
break;
|
||||
case 7:
|
||||
num = (((object)other == null) ? 284124879 : 284124878);
|
||||
break;
|
||||
case 1:
|
||||
num = ((!EqualityComparer<float>.Default.Equals(MinDistance, other.MinDistance)) ? 284124879 : 284124872);
|
||||
break;
|
||||
case 9:
|
||||
num = ((!EqualityComparer<ushort>.Default.Equals(TerritoryId, other.TerritoryId)) ? 284124879 : 284124874);
|
||||
break;
|
||||
case 2:
|
||||
num = ((!EqualityComparer<float>.Default.Equals(MaxDistance, other.MaxDistance)) ? 284124879 : 284124866);
|
||||
break;
|
||||
case 6:
|
||||
return true;
|
||||
case 5:
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
bool IEquatable<BlacklistedArea>.Equals(BlacklistedArea? other)
|
||||
{
|
||||
//ILSpy generated this explicit interface implementation from .override directive in Equals
|
||||
return this.Equals(other);
|
||||
}
|
||||
|
||||
static Type _202D_206B_206D_202C_206E_206A_206B_202C_206A_202C_206D_206F_202D_202A_200D_202B_200F_200C_206F_206A_200F_202E_206A_202A_202B_200F_200E_200F_206E_202A_202C_206B_206B_202D_202A_200E_200D_200B_200C_206C_202E(RuntimeTypeHandle P_0)
|
||||
{
|
||||
return Type.GetTypeFromHandle(P_0);
|
||||
}
|
||||
|
||||
static StringBuilder _206B_202A_200E_202B_202E_202D_202C_200F_206A_202A_202C_202B_206C_200D_206E_206A_202E_206E_202B_200B_206D_202E_202D_206C_206D_202E_202E_200E_202C_200F_200F_202D_206A_206C_202D_202B_202B_202C_206C_200E_202E()
|
||||
{
|
||||
return new StringBuilder();
|
||||
}
|
||||
|
||||
static StringBuilder _202A_202D_202E_206B_206B_200C_206F_202A_206D_200C_202B_200D_206F_206C_206E_202D_206F_206C_202A_206A_202E_206C_206E_202A_206C_206A_206F_206F_202B_200D_202A_200B_206C_202C_206F_206A_200C_200B_200E_202B_202E(StringBuilder P_0, string P_1)
|
||||
{
|
||||
return P_0.Append(P_1);
|
||||
}
|
||||
|
||||
static StringBuilder _200C_202C_202B_206A_206E_200C_206B_202B_202A_200E_206C_200C_206C_200D_200B_206D_206F_206D_206E_202A_200B_206E_206D_206E_200C_200C_200F_206E_202B_206A_206C_206E_202E_202E_202A_206F_206B_206C_202C_202E_202E(StringBuilder P_0, char P_1)
|
||||
{
|
||||
return P_0.Append(P_1);
|
||||
}
|
||||
|
||||
static string _202A_206B_206C_202B_206E_202B_200E_202D_202C_206F_206C_206D_200F_202E_206F_200C_200C_200F_202E_200E_200C_206E_202B_206C_200F_202A_206B_206B_202B_206A_206C_200B_200E_202A_200D_206D_200F_202D_206A_200E_202E(object P_0)
|
||||
{
|
||||
return P_0.ToString();
|
||||
}
|
||||
|
||||
static void _200C_200D_206A_206E_206E_206E_206A_200C_206F_202C_200C_200D_206D_200C_206B_202C_202D_202E_200E_200F_202D_206F_202B_200C_206C_202E_206C_200B_202D_202C_202C_200B_206A_200D_206C_200B_202E_202E_206C_202B_202E()
|
||||
{
|
||||
RuntimeHelpers.EnsureSufficientExecutionStack();
|
||||
}
|
||||
|
||||
static bool _206C_206E_200C_200D_206A_202B_206C_202B_206B_206C_202B_200D_200D_202D_206D_206F_200B_202C_206C_206B_206F_200F_202C_202B_200F_200B_202C_202E_202C_202C_202B_200B_206B_202E_202D_202B_200B_206F_200E_206B_202E(Type P_0, Type P_1)
|
||||
{
|
||||
return P_0 == P_1;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,15 +1,185 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Numerics;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Text;
|
||||
|
||||
namespace Questionable.Controller.NavigationOverrides;
|
||||
|
||||
public sealed record BlacklistedPoint(ushort TerritoryId, Vector3 Original, Vector3 Replacement, float CheckDistance = 0.05f, bool RecalculateNavmesh = false) : IBlacklistedLocation
|
||||
{
|
||||
[CompilerGenerated]
|
||||
private Type EqualityContract
|
||||
{
|
||||
[CompilerGenerated]
|
||||
get
|
||||
{
|
||||
return _206C_200E_206E_200B_206A_206E_206F_200E_206C_206B_206B_206B_202B_202B_200D_200E_202C_200D_206B_206E_206B_202A_206A_202C_202A_206D_200D_200F_206A_206F_200C_202D_200D_202C_200C_206B_206B_206F_206D_202C_202E(typeof(BlacklistedPoint).TypeHandle);
|
||||
}
|
||||
}
|
||||
|
||||
public AlternateLocation? AdjustPoint(Vector3 point)
|
||||
{
|
||||
if ((point - Original).Length() > CheckDistance)
|
||||
int num = ((!((point - Original).Length() > CheckDistance)) ? (-2043857747) : (-2043857748));
|
||||
while (true)
|
||||
{
|
||||
return null;
|
||||
int num2 = num;
|
||||
int num3 = -2043857747;
|
||||
int num4 = num2;
|
||||
int num5 = num4 + num3;
|
||||
int num6 = num4 & num3;
|
||||
switch (num5 - (num6 + num6))
|
||||
{
|
||||
case 2:
|
||||
goto IL_005c;
|
||||
case 1:
|
||||
return null;
|
||||
case 0:
|
||||
return new AlternateLocation(Replacement, RecalculateNavmesh);
|
||||
}
|
||||
continue;
|
||||
IL_005c:
|
||||
num = -2043857748;
|
||||
}
|
||||
return new AlternateLocation(Replacement, RecalculateNavmesh);
|
||||
}
|
||||
|
||||
AlternateLocation? IBlacklistedLocation.AdjustPoint(Vector3 point)
|
||||
{
|
||||
//ILSpy generated this explicit interface implementation from .override directive in AdjustPoint
|
||||
return this.AdjustPoint(point);
|
||||
}
|
||||
|
||||
[MethodImpl(MethodImplOptions.NoInlining)]
|
||||
[CompilerGenerated]
|
||||
public override string ToString()
|
||||
{
|
||||
StringBuilder stringBuilder = _202A_202C_200B_202E_202D_202A_206B_202C_206B_206E_206D_206C_206F_200C_200D_200E_206B_206B_206C_200F_206C_206F_206A_202B_202B_202B_206C_202C_200C_202D_200E_206D_202E_202C_206B_202C_200F_206A_202A_202C_202E();
|
||||
_200B_200D_206C_202B_206E_200F_206B_200D_206E_206C_206E_200F_202B_206E_206D_202D_200E_200C_200E_202B_206A_200E_206B_202E_200F_200E_200D_200C_202D_202B_200E_206A_202A_202A_200B_200D_202A_202D_200C_202D_202E(stringBuilder, global::_003CModule_003E._206C_202A_206D_206A_206E_202A_202B_206F_206D_200F_202D_200F_202D_206A_202C_202B_206D_206A_200E_200E_202D_202D_200D_200C_200D_200D_206D_206E_202A_200F_206E_206C_206D_206A_206D_202B_200F_200D_206E_200C_202E<string>(-2024611645));
|
||||
_200B_200D_206C_202B_206E_200F_206B_200D_206E_206C_206E_200F_202B_206E_206D_202D_200E_200C_200E_202B_206A_200E_206B_202E_200F_200E_200D_200C_202D_202B_200E_206A_202A_202A_200B_200D_202A_202D_200C_202D_202E(stringBuilder, global::_003CModule_003E._202D_206D_206A_206E_202C_202B_200C_206C_200E_206A_206D_200E_206A_202A_200C_202E_206E_202C_206F_200B_206D_206F_200C_202C_200B_202B_200F_200B_206A_206F_200F_202E_206B_200E_202B_202A_200F_200B_202A_200E_202E<string>(556540328));
|
||||
int num = ((!PrintMembers(stringBuilder)) ? 156676506 : 156676505);
|
||||
while (true)
|
||||
{
|
||||
int num2 = num;
|
||||
int num3 = 156676504;
|
||||
int num4 = num2;
|
||||
int num5 = num4 + num3;
|
||||
int num6 = num4 & num3;
|
||||
switch (num5 - (num6 + num6))
|
||||
{
|
||||
case 0:
|
||||
num = 156676505;
|
||||
break;
|
||||
case 2:
|
||||
_202C_202E_200D_206B_206D_206B_202C_200E_206E_200B_200E_206B_202B_202C_206A_200B_202C_200F_202C_206D_202E_202B_200B_200D_202B_200F_200B_202A_200F_202C_200F_200B_206B_206A_202B_200D_202C_200E_206B_206D_202E(stringBuilder, '}');
|
||||
return _202C_200D_206F_206C_202A_200E_200D_206F_206B_206A_202A_206A_202D_200C_200D_206C_200F_202A_202A_200E_206A_202D_206B_202A_200B_206E_200D_206B_202A_202B_200B_206D_202B_202D_206F_206F_202C_202A_206C_200D_202E((object)stringBuilder);
|
||||
case 1:
|
||||
_202C_202E_200D_206B_206D_206B_202C_200E_206E_200B_200E_206B_202B_202C_206A_200B_202C_200F_202C_206D_202E_202B_200B_200D_202B_200F_200B_202A_200F_202C_200F_200B_206B_206A_202B_200D_202C_200E_206B_206D_202E(stringBuilder, ' ');
|
||||
num = 156676506;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[MethodImpl(MethodImplOptions.NoInlining)]
|
||||
[CompilerGenerated]
|
||||
private bool PrintMembers(StringBuilder builder)
|
||||
{
|
||||
_206B_200C_200E_202A_202B_200F_200E_202D_206F_202A_206A_206B_202C_206D_206D_206E_206C_206B_200E_202E_200C_206A_202E_206D_200C_206A_200C_202E_200E_206F_200D_206D_202B_200B_206D_200C_200E_202A_200C_202D_202E();
|
||||
_200B_200D_206C_202B_206E_200F_206B_200D_206E_206C_206E_200F_202B_206E_206D_202D_200E_200C_200E_202B_206A_200E_206B_202E_200F_200E_200D_200C_202D_202B_200E_206A_202A_202A_200B_200D_202A_202D_200C_202D_202E(builder, global::_003CModule_003E._202D_206D_206A_206E_202C_202B_200C_206C_200E_206A_206D_200E_206A_202A_200C_202E_206E_202C_206F_200B_206D_206F_200C_202C_200B_202B_200F_200B_206A_206F_200F_202E_206B_200E_202B_202A_200F_200B_202A_200E_202E<string>(-2023728416));
|
||||
_200B_200D_206C_202B_206E_200F_206B_200D_206E_206C_206E_200F_202B_206E_206D_202D_200E_200C_200E_202B_206A_200E_206B_202E_200F_200E_200D_200C_202D_202B_200E_206A_202A_202A_200B_200D_202A_202D_200C_202D_202E(builder, TerritoryId.ToString());
|
||||
_200B_200D_206C_202B_206E_200F_206B_200D_206E_206C_206E_200F_202B_206E_206D_202D_200E_200C_200E_202B_206A_200E_206B_202E_200F_200E_200D_200C_202D_202B_200E_206A_202A_202A_200B_200D_202A_202D_200C_202D_202E(builder, global::_003CModule_003E._202E_206C_200F_206B_206A_202A_202C_206F_200C_206C_202B_206B_206D_206D_206D_202D_206E_202E_206C_206E_206D_202C_206F_200D_202D_202E_206A_206D_202A_206A_202B_200D_200C_206D_202B_200B_200D_200C_206E_206B_202E<string>(-268848232));
|
||||
_200B_200D_206C_202B_206E_200F_206B_200D_206E_206C_206E_200F_202B_206E_206D_202D_200E_200C_200E_202B_206A_200E_206B_202E_200F_200E_200D_200C_202D_202B_200E_206A_202A_202A_200B_200D_202A_202D_200C_202D_202E(builder, Original.ToString());
|
||||
_200B_200D_206C_202B_206E_200F_206B_200D_206E_206C_206E_200F_202B_206E_206D_202D_200E_200C_200E_202B_206A_200E_206B_202E_200F_200E_200D_200C_202D_202B_200E_206A_202A_202A_200B_200D_202A_202D_200C_202D_202E(builder, global::_003CModule_003E._202E_206C_200F_206B_206A_202A_202C_206F_200C_206C_202B_206B_206D_206D_206D_202D_206E_202E_206C_206E_206D_202C_206F_200D_202D_202E_206A_206D_202A_206A_202B_200D_200C_206D_202B_200B_200D_200C_206E_206B_202E<string>(1594334695));
|
||||
_200B_200D_206C_202B_206E_200F_206B_200D_206E_206C_206E_200F_202B_206E_206D_202D_200E_200C_200E_202B_206A_200E_206B_202E_200F_200E_200D_200C_202D_202B_200E_206A_202A_202A_200B_200D_202A_202D_200C_202D_202E(builder, Replacement.ToString());
|
||||
_200B_200D_206C_202B_206E_200F_206B_200D_206E_206C_206E_200F_202B_206E_206D_202D_200E_200C_200E_202B_206A_200E_206B_202E_200F_200E_200D_200C_202D_202B_200E_206A_202A_202A_200B_200D_202A_202D_200C_202D_202E(builder, global::_003CModule_003E._206C_202A_206D_206A_206E_202A_202B_206F_206D_200F_202D_200F_202D_206A_202C_202B_206D_206A_200E_200E_202D_202D_200D_200C_200D_200D_206D_206E_202A_200F_206E_206C_206D_206A_206D_202B_200F_200D_206E_200C_202E<string>(-453523176));
|
||||
_200B_200D_206C_202B_206E_200F_206B_200D_206E_206C_206E_200F_202B_206E_206D_202D_200E_200C_200E_202B_206A_200E_206B_202E_200F_200E_200D_200C_202D_202B_200E_206A_202A_202A_200B_200D_202A_202D_200C_202D_202E(builder, CheckDistance.ToString());
|
||||
_200B_200D_206C_202B_206E_200F_206B_200D_206E_206C_206E_200F_202B_206E_206D_202D_200E_200C_200E_202B_206A_200E_206B_202E_200F_200E_200D_200C_202D_202B_200E_206A_202A_202A_200B_200D_202A_202D_200C_202D_202E(builder, global::_003CModule_003E._206C_202A_206D_206A_206E_202A_202B_206F_206D_200F_202D_200F_202D_206A_202C_202B_206D_206A_200E_200E_202D_202D_200D_200C_200D_200D_206D_206E_202A_200F_206E_206C_206D_206A_206D_202B_200F_200D_206E_200C_202E<string>(-901239));
|
||||
_200B_200D_206C_202B_206E_200F_206B_200D_206E_206C_206E_200F_202B_206E_206D_202D_200E_200C_200E_202B_206A_200E_206B_202E_200F_200E_200D_200C_202D_202B_200E_206A_202A_202A_200B_200D_202A_202D_200C_202D_202E(builder, RecalculateNavmesh.ToString());
|
||||
return true;
|
||||
}
|
||||
|
||||
[CompilerGenerated]
|
||||
public bool Equals(BlacklistedPoint? other)
|
||||
{
|
||||
int num = (((object)this == other) ? 1826590402 : 1826590405);
|
||||
while (true)
|
||||
{
|
||||
int num2 = num;
|
||||
int num3 = 1826590402;
|
||||
int num4 = num2;
|
||||
int num5 = num4 + num3;
|
||||
int num6 = num4 & num3;
|
||||
switch (num5 - (num6 + num6))
|
||||
{
|
||||
case 0:
|
||||
return true;
|
||||
case 5:
|
||||
num = ((!EqualityComparer<Vector3>.Default.Equals(Original, other.Original)) ? 1826590403 : 1826590410);
|
||||
break;
|
||||
case 2:
|
||||
num = ((!EqualityComparer<float>.Default.Equals(CheckDistance, other.CheckDistance)) ? 1826590403 : 1826590406);
|
||||
break;
|
||||
case 9:
|
||||
num = ((!EqualityComparer<ushort>.Default.Equals(TerritoryId, other.TerritoryId)) ? 1826590403 : 1826590407);
|
||||
break;
|
||||
case 1:
|
||||
return false;
|
||||
case 8:
|
||||
num = ((!EqualityComparer<Vector3>.Default.Equals(Replacement, other.Replacement)) ? 1826590403 : 1826590400);
|
||||
break;
|
||||
case 6:
|
||||
num = ((!_206A_206A_200D_202E_200D_206E_206C_202B_200C_200E_202C_202C_206D_206E_200B_206C_206F_202A_206B_202D_200F_206A_206E_202A_202A_206D_200C_202E_202D_202C_202C_206E_206B_206B_206A_202A_202D_200B_202B_202E(EqualityContract, other.EqualityContract)) ? 1826590403 : 1826590411);
|
||||
break;
|
||||
case 3:
|
||||
num = 1826590405;
|
||||
break;
|
||||
case 7:
|
||||
num = (((object)other == null) ? 1826590403 : 1826590404);
|
||||
break;
|
||||
case 4:
|
||||
return EqualityComparer<bool>.Default.Equals(RecalculateNavmesh, other.RecalculateNavmesh);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
bool IEquatable<BlacklistedPoint>.Equals(BlacklistedPoint? other)
|
||||
{
|
||||
//ILSpy generated this explicit interface implementation from .override directive in Equals
|
||||
return this.Equals(other);
|
||||
}
|
||||
|
||||
static Type _206C_200E_206E_200B_206A_206E_206F_200E_206C_206B_206B_206B_202B_202B_200D_200E_202C_200D_206B_206E_206B_202A_206A_202C_202A_206D_200D_200F_206A_206F_200C_202D_200D_202C_200C_206B_206B_206F_206D_202C_202E(RuntimeTypeHandle P_0)
|
||||
{
|
||||
return Type.GetTypeFromHandle(P_0);
|
||||
}
|
||||
|
||||
static StringBuilder _202A_202C_200B_202E_202D_202A_206B_202C_206B_206E_206D_206C_206F_200C_200D_200E_206B_206B_206C_200F_206C_206F_206A_202B_202B_202B_206C_202C_200C_202D_200E_206D_202E_202C_206B_202C_200F_206A_202A_202C_202E()
|
||||
{
|
||||
return new StringBuilder();
|
||||
}
|
||||
|
||||
static StringBuilder _200B_200D_206C_202B_206E_200F_206B_200D_206E_206C_206E_200F_202B_206E_206D_202D_200E_200C_200E_202B_206A_200E_206B_202E_200F_200E_200D_200C_202D_202B_200E_206A_202A_202A_200B_200D_202A_202D_200C_202D_202E(StringBuilder P_0, string P_1)
|
||||
{
|
||||
return P_0.Append(P_1);
|
||||
}
|
||||
|
||||
static StringBuilder _202C_202E_200D_206B_206D_206B_202C_200E_206E_200B_200E_206B_202B_202C_206A_200B_202C_200F_202C_206D_202E_202B_200B_200D_202B_200F_200B_202A_200F_202C_200F_200B_206B_206A_202B_200D_202C_200E_206B_206D_202E(StringBuilder P_0, char P_1)
|
||||
{
|
||||
return P_0.Append(P_1);
|
||||
}
|
||||
|
||||
static string _202C_200D_206F_206C_202A_200E_200D_206F_206B_206A_202A_206A_202D_200C_200D_206C_200F_202A_202A_200E_206A_202D_206B_202A_200B_206E_200D_206B_202A_202B_200B_206D_202B_202D_206F_206F_202C_202A_206C_200D_202E(object P_0)
|
||||
{
|
||||
return P_0.ToString();
|
||||
}
|
||||
|
||||
static void _206B_200C_200E_202A_202B_200F_200E_202D_206F_202A_206A_206B_202C_206D_206D_206E_206C_206B_200E_202E_200C_206A_202E_206D_200C_206A_200C_202E_200E_206F_200D_206D_202B_200B_206D_200C_200E_202A_200C_202D_202E()
|
||||
{
|
||||
RuntimeHelpers.EnsureSufficientExecutionStack();
|
||||
}
|
||||
|
||||
static bool _206A_206A_200D_202E_200D_206E_206C_202B_200C_200E_202C_202C_206D_206E_200B_206C_206F_202A_206B_202D_200F_206A_206E_202A_202A_206D_200C_202E_202D_202C_202C_206E_206B_206B_206A_202A_202D_200B_202B_202E(Type P_0, Type P_1)
|
||||
{
|
||||
return P_0 == P_1;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -3,6 +3,7 @@ using System.Collections.Generic;
|
|||
using System.Globalization;
|
||||
using System.Linq;
|
||||
using System.Numerics;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
using Dalamud.Plugin.Services;
|
||||
using Microsoft.Extensions.Logging;
|
||||
|
|
@ -23,26 +24,78 @@ internal sealed class MovementOverrideController
|
|||
_logger = logger;
|
||||
}
|
||||
|
||||
[MethodImpl(MethodImplOptions.NoInlining)]
|
||||
public (List<Vector3>, bool) AdjustPath(List<Vector3> navPoints)
|
||||
{
|
||||
foreach (IBlacklistedLocation blacklistedLocation in BlacklistedLocations)
|
||||
using (List<IBlacklistedLocation>.Enumerator enumerator = BlacklistedLocations.GetEnumerator())
|
||||
{
|
||||
if (_clientState.TerritoryType != blacklistedLocation.TerritoryId)
|
||||
int num = -1572847159;
|
||||
AlternateLocation alternateLocation = default(AlternateLocation);
|
||||
IBlacklistedLocation current = default(IBlacklistedLocation);
|
||||
int num7 = default(int);
|
||||
while (true)
|
||||
{
|
||||
continue;
|
||||
}
|
||||
for (int i = 0; i < navPoints.Count; i++)
|
||||
{
|
||||
AlternateLocation alternateLocation = blacklistedLocation.AdjustPoint(navPoints[i]);
|
||||
if (alternateLocation != null)
|
||||
int num2 = num;
|
||||
int num3 = -1572847156;
|
||||
int num4 = num2;
|
||||
int num5 = num4 + num3;
|
||||
int num6 = num4 & num3;
|
||||
switch (num5 - (num6 + num6))
|
||||
{
|
||||
_logger.LogInformation("Fudging navmesh point from {Original} to {Replacement} in blacklisted area", navPoints[i].ToString("G", CultureInfo.InvariantCulture), alternateLocation);
|
||||
navPoints[i] = alternateLocation.Point;
|
||||
if (alternateLocation.RecalculateNavmesh)
|
||||
{
|
||||
return (navPoints.Take(i + 1).ToList(), true);
|
||||
}
|
||||
case 6:
|
||||
alternateLocation = current.AdjustPoint(navPoints[num7]);
|
||||
num = ((!(alternateLocation != null)) ? (-1572847155) : (-1572847163));
|
||||
break;
|
||||
case 5:
|
||||
num = (enumerator.MoveNext() ? (-1572847154) : (-1572847160));
|
||||
break;
|
||||
case 0:
|
||||
num = -1572847159;
|
||||
break;
|
||||
case 8:
|
||||
num7 = 0;
|
||||
num = -1572847153;
|
||||
break;
|
||||
case 2:
|
||||
current = enumerator.Current;
|
||||
num = ((_206E_206C_202E_202C_206B_200E_206A_206D_200F_202E_202B_202C_200B_202D_202B_202C_206E_202C_206E_200B_202E_206E_206C_202E_206D_202E_202E_206B_202E_202A_200C_202A_206F_200D_206A_202D_206D_202E_206A_202D_202E(_clientState) != current.TerritoryId) ? (-1572847159) : (-1572847164));
|
||||
break;
|
||||
case 3:
|
||||
num = ((num7 < navPoints.Count) ? (-1572847158) : (-1572847159));
|
||||
break;
|
||||
case 7:
|
||||
{
|
||||
int num11 = num7;
|
||||
num3 = 1;
|
||||
num4 = num11;
|
||||
return (navPoints.Take((num4 | num3) + (num4 & num3)).ToList(), true);
|
||||
}
|
||||
case 1:
|
||||
{
|
||||
int num8 = num7;
|
||||
num3 = 1;
|
||||
num4 = num8;
|
||||
int num9 = num4 ^ num3;
|
||||
int num10 = num4 & num3;
|
||||
num7 = num9 + (num10 + num10);
|
||||
num = -1572847153;
|
||||
break;
|
||||
}
|
||||
case 9:
|
||||
_200E_202B_200B_200F_206D_202C_202E_200D_200C_200C_202B_202D_200F_202B_206A_200E_202A_206C_200B_202D_202A_200D_206F_200E_200D_200F_200E_202E_202D_200D_200F_200D_202E_202E_202A_202A_206B_202E_206A_200F_202E((ILogger)_logger, global::_003CModule_003E._202D_206D_206A_206E_202C_202B_200C_206C_200E_206A_206D_200E_206A_202A_200C_202E_206E_202C_206F_200B_206D_206F_200C_202C_200B_202B_200F_200B_206A_206F_200F_202E_206B_200E_202B_202A_200F_200B_202A_200E_202E<string>(1083711634), new object[2]
|
||||
{
|
||||
navPoints[num7].ToString(global::_003CModule_003E._206C_202A_206D_206A_206E_202A_202B_206F_206D_200F_202D_200F_202D_206A_202C_202B_206D_206A_200E_200E_202D_202D_200D_200C_200D_200D_206D_206E_202A_200F_206E_206C_206D_206A_206D_202B_200F_200D_206E_200C_202E<string>(2120763774), _202E_206B_200B_206E_202B_206F_202D_206B_202C_202C_202A_200F_206E_206B_202A_200C_200E_202E_200C_206A_202B_202C_200D_200E_202A_202B_202E_200E_200B_200C_202C_206C_206B_202A_202C_200D_206F_202D_206F_206E_202E()),
|
||||
alternateLocation
|
||||
});
|
||||
navPoints[num7] = alternateLocation.Point;
|
||||
num = ((!alternateLocation.RecalculateNavmesh) ? (-1572847155) : (-1572847157));
|
||||
break;
|
||||
case 4:
|
||||
goto end_IL_0017;
|
||||
}
|
||||
continue;
|
||||
end_IL_0017:
|
||||
break;
|
||||
}
|
||||
}
|
||||
return (navPoints, false);
|
||||
|
|
@ -87,4 +140,19 @@ internal sealed class MovementOverrideController
|
|||
span[30] = new BlacklistedPoint(1186, new Vector3(287.75f, 51.25f, 172f), new Vector3(288.875f, 50.75f, 166.25f));
|
||||
BlacklistedLocations = list;
|
||||
}
|
||||
|
||||
static uint _206E_206C_202E_202C_206B_200E_206A_206D_200F_202E_202B_202C_200B_202D_202B_202C_206E_202C_206E_200B_202E_206E_206C_202E_206D_202E_202E_206B_202E_202A_200C_202A_206F_200D_206A_202D_206D_202E_206A_202D_202E(IClientState P_0)
|
||||
{
|
||||
return P_0.TerritoryType;
|
||||
}
|
||||
|
||||
static CultureInfo _202E_206B_200B_206E_202B_206F_202D_206B_202C_202C_202A_200F_206E_206B_202A_200C_200E_202E_200C_206A_202B_202C_200D_200E_202A_202B_202E_200E_200B_200C_202C_206C_206B_202A_202C_200D_206F_202D_206F_206E_202E()
|
||||
{
|
||||
return CultureInfo.InvariantCulture;
|
||||
}
|
||||
|
||||
static void _200E_202B_200B_200F_206D_202C_202E_200D_200C_200C_202B_202D_200F_202B_206A_200E_202A_206C_200B_202D_202A_200D_206F_200E_200D_200F_200E_202E_202D_200D_200F_200D_202E_202E_202A_202A_206B_202E_206A_200F_202E(ILogger P_0, string P_1, object[] P_2)
|
||||
{
|
||||
P_0.LogDebug(P_1, P_2);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue