~ruther/NosSmooth.Comms

ref: 190a8692e2acbadd240b755dac9b48c7f77d96c1 NosSmooth.Comms/src/Core/NosSmooth.Comms.Abstractions/Messages/PacketMessage.cs -rw-r--r-- 666 bytes
190a8692 — Rutherther docs: add missing documentation 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