~ruther/NosSmooth.Local

ref: 77a89a28517390d95e111cd86e0fb151410ce6fe NosSmooth.Local/src/Core/NosSmooth.LocalClient/CommandHandlers/Walk/WalkCommandHandlerOptions.cs -rw-r--r-- 842 bytes
77a89a28 — Rutherther feat: use synchronizer for NosTale calls 2 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
//
//  WalkCommandHandlerOptions.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.CommandHandlers.Walk
{
    /// <summary>
    /// Options for <see cref="PlayerWalkCommandHandler"/>.
    /// </summary>
    public class WalkCommandHandlerOptions
    {
        /// <summary>
        /// The command handler sleeps for this duration, then checks for new info. Unit is milliseconds.
        /// </summary>
        /// <remarks>
        /// The operation is done with a cancellation token, if there is an outer event, then it can be faster.
        /// Walk function is called again as well after this delay.
        /// </remarks>
        public int CheckDelay { get; set; } = 50;
    }
}
Do not follow this link