* Predict dumping - This got soaped really fucking hard. - Dumping is predicted, this required disposals to be predicte.d - Disposals required mailing (because it's tightly coupled), and a smidge of other content systems. - I also had to fix a compnetworkgenerator issue at the same time so it wouldn't mispredict. * Fix a bunch of stuff * nasty merge * Some reviews * Some more reviews while I stash * Fix merge * Fix merge * Half of review * Review * re(h)f * lizards * feexes * feex
18 lines
554 B
C#
18 lines
554 B
C#
using Content.Shared.DeviceNetwork.Components;
|
|
|
|
namespace Content.Shared.DeviceNetwork.Events;
|
|
|
|
/// <summary>
|
|
/// Sent to the sending entity before broadcasting network packets to recipients
|
|
/// </summary>
|
|
public sealed class BeforeBroadcastAttemptEvent : CancellableEntityEventArgs
|
|
{
|
|
public readonly IReadOnlySet<DeviceNetworkComponent> Recipients;
|
|
public HashSet<DeviceNetworkComponent>? ModifiedRecipients;
|
|
|
|
public BeforeBroadcastAttemptEvent(IReadOnlySet<DeviceNetworkComponent> recipients)
|
|
{
|
|
Recipients = recipients;
|
|
}
|
|
}
|