Fax machines can print from text file (#23262)
* added * checks tweaking * fixed what sloth wanted * fixed? * dialog diposing fix * checks tweaking * more changes * dispose streamreader * Update Content.Client/Fax/UI/FaxBoundUi.cs Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com> * Update Content.Server/Fax/FaxSystem.cs Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com> * fix minor typo --------- Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
This commit is contained in:
@@ -34,6 +34,24 @@ public sealed class FaxUiState : BoundUserInterfaceState
|
||||
}
|
||||
}
|
||||
|
||||
[Serializable, NetSerializable]
|
||||
public sealed class FaxFileMessage : BoundUserInterfaceMessage
|
||||
{
|
||||
public string Content;
|
||||
public bool OfficePaper;
|
||||
|
||||
public FaxFileMessage(string content, bool officePaper)
|
||||
{
|
||||
Content = content;
|
||||
OfficePaper = officePaper;
|
||||
}
|
||||
}
|
||||
|
||||
public static class FaxFileMessageValidation
|
||||
{
|
||||
public const int MaxContentSize = 10000;
|
||||
}
|
||||
|
||||
[Serializable, NetSerializable]
|
||||
public sealed class FaxCopyMessage : BoundUserInterfaceMessage
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user