10 lines
No EOL
363 B
C#
10 lines
No EOL
363 B
C#
namespace WingsEmu.Game.Networking.Broadcasting;
|
|
|
|
public class ExceptSessionBroadcast : IBroadcastRule
|
|
{
|
|
private readonly long _sessionCharacterId;
|
|
|
|
public ExceptSessionBroadcast(IClientSession session) => _sessionCharacterId = session.PlayerEntity.Id;
|
|
|
|
public bool Match(IClientSession session) => session.PlayerEntity.Id != _sessionCharacterId;
|
|
} |