~ruther/NosSmooth

168c60a5ab79f207fa69efd3edd16078a04cdd3a — Rutherther 3 years ago 647e4cc
fix(localbinding): use correct pattern and offset for pet manager
1 files changed, 4 insertions(+), 3 deletions(-)

M Local/NosSmooth.LocalBinding/Options/PetManagerOptions.cs
M Local/NosSmooth.LocalBinding/Options/PetManagerOptions.cs => Local/NosSmooth.LocalBinding/Options/PetManagerOptions.cs +4 -3
@@ 5,11 5,12 @@
//  Licensed under the MIT license. See LICENSE file in the project root for full license information.

using NosSmooth.LocalBinding.Objects;
using NosSmooth.LocalBinding.Structs;

namespace NosSmooth.LocalBinding.Options;

/// <summary>
/// Options for <see cref="PetManagerBinding"/>.
/// Options for <see cref="PetManagerList"/>.
/// </summary>
public class PetManagerOptions
{


@@ 17,11 18,11 @@ public class PetManagerOptions
    /// Gets or sets the pattern to find static pet manager list address at.
    /// </summary>
    public string PetManagerListPattern { get; set; }
        = "00 ff 70 00 ?? ?? ?? ?? 10 90";
        = "?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? FF FF FF FF 00 00 00 00 00 00 00 00 C0 E4";

    /// <summary>
    /// Gets or sets the offsets to find the pet manager list at from the static address.
    /// </summary>
    public int[] PetManagerListOffsets { get; set; }
        = { 4, 8, 0x180, 0x18, 0x1C, 0x54 };
        = { 0 };
}
\ No newline at end of file

Do not follow this link