~ruther/NosSmooth.Local

c2ab91bde570da9430a70bdb8bfe4f7bb5b8b389 — Rutherther 2 years ago d701633
fix(binding): return BindingNotFoundError with correct function name
M src/Core/NosSmooth.LocalBinding/NosBindingManager.cs => src/Core/NosSmooth.LocalBinding/NosBindingManager.cs +1 -1
@@ 353,7 353,7 @@ public class NosBindingManager : IDisposable
        var walkFunctionAddress = Scanner.FindPattern(pattern);
        if (!walkFunctionAddress.Found)
        {
            return new BindingNotFoundError(pattern, "PetManagerBinding.PetWalk");
            return new BindingNotFoundError(pattern, name);
        }

        try

M src/Core/NosSmooth.LocalBinding/Objects/UnitManagerBinding.cs => src/Core/NosSmooth.LocalBinding/Objects/UnitManagerBinding.cs +0 -1
@@ 28,7 28,6 @@ public class UnitManagerBinding
    (
        new[] { FunctionAttribute.Register.eax, FunctionAttribute.Register.edx },
        FunctionAttribute.Register.eax,
        FunctionAttribute.StackCleanup.Callee
        FunctionAttribute.StackCleanup.Callee,
        new[] { FunctionAttribute.Register.ebx, FunctionAttribute.Register.esi, FunctionAttribute.Register.edi, FunctionAttribute.Register.ebp }
    )]

Do not follow this link