~ruther/NosSmooth

ref: bb8e2c133a620831400df4c47343f94d0887aa5d NosSmooth/Packets/NosSmooth.Packets/Server/Character/CInfoResetPacket.cs -rw-r--r-- 865 bytes
bb8e2c13 — Rutherther fix(crypto): correctly parse encryption key from unknown server 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
//
//  CInfoResetPacket.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.PacketSerializer.Abstractions.Attributes;

namespace NosSmooth.Packets.Server.Character;

/// <summary>
/// Reset information about the character
/// (except for stuff from c_info)
/// </summary>
/// <remarks>
/// Sent upon game initialization,
/// seems that it should reset the
/// character information. May be
/// useful when relogging as
/// different character.
///
/// This is sent AFTER c_info,
/// that means not everything from
/// the character should be reset,
/// only fields that are not
/// in c_info.
/// </remarks>
[PacketHeader("c_info_reset", PacketSource.Server)]
[GenerateSerializer(true)]
public record CInfoResetPacket() : IPacket;