~ruther/NosSmooth

ref: 42f30664622da2fe7673fee2c61b432b14aa51e8 NosSmooth/Packets/NosSmooth.Packets/Server/Groups/PinitPlayerSubPacket.cs -rw-r--r-- 922 bytes
42f30664 — Rutherther feat(packets): add pclear packet 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
//
//  PinitPlayerSubPacket.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.Enums.Entities;
using NosSmooth.Packets.Enums.Mates;
using NosSmooth.Packets.Enums.Players;
using NosSmooth.PacketSerializer.Abstractions.Attributes;
using NosSmooth.PacketSerializer.Abstractions.Common;

namespace NosSmooth.Packets.Server.Groups;

[PacketHeader(null, PacketSource.Server)]
[GenerateSerializer(true)]
public record PinitPlayerSubPacket
(
    [PacketIndex(0)]
    byte GroupPosition,
    [PacketIndex(1)]
    byte Level,
    [PacketIndex(2)]
    NameString? Name,
    [PacketIndex(3)]
    int? GroupId,
    [PacketIndex(4)]
    SexType Sex,
    [PacketIndex(5)]
    PlayerClass Class,
    [PacketIndex(6)]
    short MorphVNum,
    [PacketIndex(7)]
    byte? HeroLevel
) : IPacket;
Do not follow this link