~ruther/NosSmooth

ref: 13d3f7d9d94ab25dd0d513603cb9d3c4b240c735 NosSmooth/Core/NosSmooth.Packets/Packets/PacketInfo.cs -rw-r--r-- 621 bytes
13d3f7d9 — František Boháček feat: add extensions for checking type nullability 3 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//
//  PacketInfo.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;
using NosSmooth.Packets.Converters;

namespace NosSmooth.Packets.Packets;

/// <summary>
/// Information about a packet type.
/// </summary>
/// <param name="Header">The packet's header, if any.</param>
/// <param name="PacketType">The packet's type.</param>
/// <param name="PacketConverter">The packet's converter.</param>
public record PacketInfo(string? Header, Type PacketType, ITypeConverter PacketConverter);