//
//  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 Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp.Syntax;
namespace NosSmooth.PacketSerializersGenerator.Data;
/// 
/// Contains information about a packet record syntax.
/// 
/// The compilation of the generator.
/// The packet record declaration.
/// The semantic model the packet is in.
/// The parsed parameters of the packet.
/// The namespace of the packet record.
/// The name of the packet.
public record PacketInfo
(
    Compilation Compilation,
    RecordDeclarationSyntax PacketRecord,
    SemanticModel SemanticModel,
    Parameters Parameters,
    string Namespace,
    string Name
);