* feat(fax): Client fax file-print parses and stores label * feat(fax): Fax machines print, copy, and send paper labels * style(Fax): Comments and formatting * feat(fax): Make fax admin logging more consistent and clear * refactor(fax): Replace ternary with a simpler null coalescing * refactor(fax): Make FaxSystem Send method signature consistent with Copy, PrintFile * refactor(fax): Read entire file and process later instead of peeking first * refactor(fax): Remove local variables only used for style * style(fax): Fix some nearby style errors * fix(fax): Undo an inaccurate change to admin log formatting * refactor(fax): Separate `firstLine` variable * fix(fax): Use Environment.NewLine * bienvenidos --------- Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
33 lines
991 B
C#
33 lines
991 B
C#
namespace Content.Server.Fax;
|
|
|
|
public static class FaxConstants
|
|
{
|
|
// Commands
|
|
|
|
/**
|
|
* Used to get other faxes connected to current network
|
|
*/
|
|
public const string FaxPingCommand = "fax_ping";
|
|
|
|
/**
|
|
* Used as response to ping command
|
|
*/
|
|
public const string FaxPongCommand = "fax_pong";
|
|
|
|
/**
|
|
* Used when fax sending data to destination fax
|
|
*/
|
|
public const string FaxPrintCommand = "fax_print";
|
|
|
|
// Data
|
|
|
|
public const string FaxNameData = "fax_data_name";
|
|
public const string FaxPaperNameData = "fax_data_title";
|
|
public const string FaxPaperLabelData = "fax_data_label";
|
|
public const string FaxPaperPrototypeData = "fax_data_prototype";
|
|
public const string FaxPaperContentData = "fax_data_content";
|
|
public const string FaxPaperStampStateData = "fax_data_stamp_state";
|
|
public const string FaxPaperStampedByData = "fax_data_stamped_by";
|
|
public const string FaxSyndicateData = "fax_data_i_am_syndicate";
|
|
}
|