~ruther/NosSmooth.Local

ref: f5bc4d60f43a957e8b6d4fe6a119b32492a183d8 NosSmooth.Local/src/Core/NosSmooth.LocalBinding/HookOptions.cs -rw-r--r-- 591 bytes
f5bc4d60 — Rutherther feat(samples): make custom SimplePiiBot skill selector 2 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//
//  HookOptions.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.

namespace NosSmooth.LocalBinding;

/// <summary>
/// A configuration for hooking a function.
/// </summary>
/// <param name="Hook">Whether to hook the function.</param>
/// <param name="MemoryPattern">The memory pattern in hex. Use ?? for any bytes.</param>
/// <param name="Offset">The offset to find the function at.</param>
public record HookOptions(bool Hook, string MemoryPattern, int Offset);