~ruther/NosSmooth

ref: a90b9c10b4731ad72d35f1b012c52db37c3e3a94 NosSmooth/Local/NosSmooth.LocalClient/CommandHandlers/Walk/WalkCancelReason.cs -rw-r--r-- 835 bytes
a90b9c10 — František Boháček feat: implement walk command handler 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
35
//
//  WalkCancelReason.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.Core.Commands;

namespace NosSmooth.LocalClient.CommandHandlers.Walk;

/// <summary>
/// Reason of cancellation of <see cref="WalkCommand"/>.
/// </summary>
public enum WalkCancelReason
{
    /// <summary>
    /// There was an unknown cancel reason.
    /// </summary>
    Unknown,

    /// <summary>
    /// The user walked and CancelOnUserMove flag was set.
    /// </summary>
    UserWalked,

    /// <summary>
    /// The map has changed during the walk was in progress.
    /// </summary>
    MapChanged,

    /// <summary>
    /// The client was not walking for too long.
    /// </summary>
    NotWalkingTooLong,
}
Do not follow this link