~ruther/NosSmooth

ref: f8a901cda2c558c993c646e931adca56c57be4e7 NosSmooth/Core/NosSmooth.Packets/Packets/Server/Skills/SrPacket.cs -rw-r--r-- 809 bytes
f8a901cd — František Boháček feat: add .net nostale bindings 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
//
//  SrPacket.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 System.CodeDom.Compiler;
using NosSmooth.Packets.Attributes;

namespace NosSmooth.Packets.Packets.Server.Skills;

/// <summary>
/// Skill cooldown reset.
/// </summary>
/// <remarks>
/// The client will mark the skill as ready only after this packet is received.
/// Do not rely on skill used + cooldown time. You will get kicked out of the sever
/// after some time (on official).
/// </remarks>
/// <param name="SkillId">The id of the skill that is resetted.</param>
[PacketHeader("sr", PacketSource.Server)]
[GenerateSerializer(true)]
public record SrPacket
(
    [PacketIndex(0)]
    long SkillId
) : IPacket;
Do not follow this link