~ruther/NosSmooth

ref: fa4872fb51383373c52d64fc7028fef70bba3388 NosSmooth/Core/NosSmooth.Game/Contracts/UseSkillStates.cs -rw-r--r-- 943 bytes
fa4872fb — František Boháček feat(game): split nostale apis into safe, unsafe, add contracts usage 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
24
25
26
27
28
29
30
31
32
33
34
35
36
37
//
//  UseSkillStates.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.Game.Contracts;

/// <summary>
/// States for contract for using a skill.
/// </summary>
public enum UseSkillStates
{
    /// <summary>
    /// Skill use was not executed yet.
    /// </summary>
    None,

    /// <summary>
    /// A skill use packet (u_s, u_as, etc.) was used,
    /// awaiting a response from the server.
    /// </summary>
    SkillUseRequested,

    /// <summary>
    /// The server has responded with a skill use,
    /// (after cast time), the information about
    /// the caster, target is filled.
    /// </summary>
    SkillUsedResponse,

    /// <summary>
    /// Fired 1000 ms after <see cref="SkillUsedResponse"/>,
    /// the character may move after this.
    /// </summary>
    CharacterRestored
}
Do not follow this link