15 lines
No EOL
403 B
C#
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);
|
|
} |