~ruther/NosSmooth.Comms

ref: edcd26a2f21092371c9169ae56ae85c144a8bfd7 NosSmooth.Comms/src/Local/NosSmooth.Comms.Inject/CallbackConfig.cs -rw-r--r-- 618 bytes
edcd26a2 — Rutherther feat: move to new injection supporting passing in data and returning integer 2 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//
//  CallbackConfig.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.

namespace NosSmooth.Comms.Inject;

/// <summary>
/// A config of a client setting what messages to send.
/// </summary>
/// <param name="SendRawPackets">Whether to send raw serialized packets to client upon receive/send.</param>
/// <param name="SendDeserializedPackets">Whether to send deserialized packets to client upon receive/send.</param>
public record CallbackConfig(bool SendRawPackets, bool SendDeserializedPackets);