~ruther/NosSmooth

ref: f6b03188c07779c88ec7587117b26c130243b5e9 NosSmooth/Core/NosSmooth.Packets/Packets/Client/Battle/UseSkillPacket.cs -rw-r--r-- 791 bytes
f6b03188 — František Boháček feat: add inline packet converters generation support 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
//
//  UseSkillPacket.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.Packets.Attributes;
using NosSmooth.Packets.Enums;

namespace NosSmooth.Packets.Packets.Client.Battle;

/// <summary>
/// Sent to use regular skill.
/// </summary>
/// <remarks>
/// Contains the position etc. for dashes.
/// </remarks>
[PacketHeader("u_s", PacketSource.Client)]
[GenerateSerializer]
public record UseSkillPacket
(
    [PacketIndex(0)]
    long SkillId,
    [PacketIndex(1)]
    EntityType TargetEntityType,
    [PacketIndex(2)]
    long TargetId,
    [PacketIndex(3, IsOptional = true)]
    short? MapX,
    [PacketIndex(4, IsOptional = true)]
    short? MapY
);
Do not follow this link