servicepoint-binding-csharp/ServicePoint/FakeConnection.cs
Vinzenz Schroeter 178ab1eb74
Some checks failed
Rust / build (pull_request) Failing after 16s
separate types for commands
2025-06-16 16:41:46 +02:00

15 lines
262 B
C#

namespace ServicePoint;
public sealed class FakeConnection() : IConnection
{
public void SendCommand(Command command)
{
SendPacket(command.AsPacket());
}
public void SendPacket(Packet packet)
{
_ = packet.AsBytes();
}
}