mirror of
https://github.com/space-syndicate/space-station-14.git
synced 2026-10-09 10:21:18 +03:00
32 lines
768 B
C#
32 lines
768 B
C#
using Content.Shared.DeviceNetwork;
|
|
using Content.Shared.Fax.Components;
|
|
|
|
namespace Content.Shared.Fax;
|
|
|
|
/// <summary>
|
|
/// Broadcasted from one fax to all other available faxes.
|
|
/// </summary>
|
|
public partial record struct FaxPingPayload : INetworkPayload
|
|
{
|
|
// TODO this should probably be made a more general system in the future
|
|
[DataField]
|
|
public bool IsSyndicate;
|
|
}
|
|
|
|
/// <summary>
|
|
/// Sent as a response to <see cref="FaxPingPayload"/>.
|
|
/// </summary>
|
|
public partial record struct FaxPongPayload : INetworkPayload
|
|
{
|
|
[DataField]
|
|
public string FaxName;
|
|
}
|
|
|
|
/// <summary>
|
|
/// Payload to print a paper on the receiver fax.
|
|
/// </summary>
|
|
public partial record struct FaxPrintPayload : INetworkPayload
|
|
{
|
|
[DataField]
|
|
public FaxPrintout Data;
|
|
}
|