~ruther/NosSmooth.Comms

ref: 2d0c91b61599398f037d97a8d6288736e01082d9 NosSmooth.Comms/src/Core/NosSmooth.Comms.Abstractions/Messages/PacketMessage.cs -rw-r--r-- 666 bytes
2d0c91b6 — František Boháček chore: bump versions 2 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
//
//  PacketMessage.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;
using NosSmooth.PacketSerializer.Abstractions.Attributes;

namespace NosSmooth.Comms.Data.Messages;

/// <summary>
/// A message containing deserialized packet.
/// </summary>
/// <remarks>
/// May be used for sending or receiving a packet.
/// </remarks>
/// <param name="Source">The source the packet comes from.</param>
/// <param name="Packet">The deserialized packet.</param>
public record PacketMessage(PacketSource Source, IPacket Packet);
Do not follow this link