~ruther/NosSmooth

558ca8b642a16a8e57722beccf27cb6db1476792 — František Boháček 3 years ago 599db7f
feat: use packet responder in simple chat
1 files changed, 2 insertions(+), 2 deletions(-)

M Samples/SimpleChat/SimpleChat.cs
M Samples/SimpleChat/SimpleChat.cs => Samples/SimpleChat/SimpleChat.cs +2 -2
@@ 7,6 7,7 @@
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using NosSmooth.Core.Client;
using NosSmooth.Core.Extensions;
using NosSmooth.LocalClient.Extensions;
using NosSmooth.Packets.Enums;
using NosSmooth.Packets.Enums.Chat;


@@ 27,8 28,7 @@ public class SimpleChat
    {
        var provider = new ServiceCollection()
            .AddLocalClient()

            // .AddPacketResponder<SayResponder>()
            .AddPacketResponder<SayResponder>()
            .AddLogging
            (
                b =>

Do not follow this link