server-master/srcs/WingsAPI.Game/Networking/Broadcasting/IBroadcastRule.cs
2026-02-10 18:21:30 +01:00

15 lines
No EOL
403 B
C#

// WingsEmu
//
// Developed by NosWings Team
namespace WingsEmu.Game.Networking.Broadcasting;
public interface IBroadcastRule
{
/// <summary>
/// Tells whether or not the given session matches a broadcasting rule
/// </summary>
/// <param name="session"></param>
/// <returns>true if the session should receive the packet</returns>
bool Match(IClientSession session);
}