Development Merge 2026.04.03 #8

Merged
Syntriax merged 51 commits from development into main 2026-04-03 14:08:02 +02:00
Showing only changes of commit 4326d5615e - Show all commits

View File

@@ -0,0 +1,13 @@
using System.Collections.Generic;
namespace Engine.Systems.Network;
public static class CommunicatorExtensions
{
public static void SendToClients<T>(this INetworkCommunicatorServer server, IEnumerable<IConnection> connections, T packet, PacketDelivery packetDelivery = PacketDelivery.ReliableInOrder) where T : class, new()
{
foreach (IConnection connection in connections)
server.SendToClient(connection, packet, packetDelivery);
}
}