~ruther/NosSmooth

ref: 53f156e12bb77c47d1bb14c17e23bf4d01b02565 NosSmooth/Local/NosSmooth.LocalClient/Hooks/WalkEventArgs.cs -rw-r--r-- 933 bytes
53f156e1 — František Boháček feat: add walk command handling to service collection 3 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
//
//  WalkEventArgs.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.LocalClient.Hooks;

/// <summary>
/// The event args for event in <see cref="NostaleHookManager"/>.
/// </summary>
public class WalkEventArgs
{
    /// <summary>
    /// Initializes a new instance of the <see cref="WalkEventArgs"/> class.
    /// </summary>
    /// <param name="targetX">The target x coordinate.</param>
    /// <param name="targetY">The target y coordinate.</param>
    public WalkEventArgs(int targetX, int targetY)
    {
        TargetX = targetX;
        TargetY = targetY;
    }

    /// <summary>
    /// Gets the target x coordinate.
    /// </summary>
    public int TargetX { get; }

    /// <summary>
    /// Gets the target y coordinate.
    /// </summary>
    public int TargetY { get; }
}
Do not follow this link