// // UnitManagerBindingOptions.cs // // Copyright (c) František Boháček. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using NosSmooth.LocalBinding.Objects; namespace NosSmooth.LocalBinding.Options; /// /// Options for . /// public class UnitManagerBindingOptions { /// /// Gets or sets the pattern to static address of unit manager. /// public string UnitManagerPattern { get; set; } = "A1 ?? ?? ?? ?? E8 ?? ?? ?? ?? 33 C0 5A 59 59 64 89 10 68 ?? ?? ?? ?? 8D 45 F0 BA"; /// /// Gets or sets the pointer offsets from the unit manager static address. /// public int[] UnitManagerOffsets { get; set; } = { 1, 0 }; /// /// Gets or sets the configuration for entity focus function hook. /// public HookOptions EntityFocusHook { get; set; } = new HookOptions(false, "73 00 00 00 55 8b ec b9 05 00 00 00", 4); }