//
// NetworkBindingOptions.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 NetworkBindingOptions
{
///
/// Gets or sets the configuration for packet receive function hook.
///
public HookOptions PacketReceiveHook { get; set; }
= new HookOptions(true, "55 8B EC 83 C4 ?? 53 56 57 33 C9 89 4D ?? 89 4D ?? 89 55 ?? 8B D8 8B 45 ??", 0);
///
/// Gets or sets the configuration for packet send function hook.
///
public HookOptions PacketSendHook { get; set; }
= new HookOptions(true, "53 56 8B F2 8B D8 EB 04", 0);
///
/// Gets or sets the pattern to find the network object at.
///
///
/// The address of the object is "three pointers down" from address found on this pattern.
///
public string NetworkObjectPattern { get; set; }
= "A1 ?? ?? ?? ?? 8B 00 BA ?? ?? ?? ?? E8 ?? ?? ?? ?? E9 ?? ?? ?? ?? A1 ?? ?? ?? ?? 8B 00 8B 40 40";
}