1
0

GuidebookError.xaml.cs 563 B

1234567891011121314151617181920212223
  1. using JetBrains.Annotations;
  2. using Robust.Client.AutoGenerated;
  3. using Robust.Client.UserInterface.Controls;
  4. using Robust.Client.UserInterface.XAML;
  5. namespace Content.Client.Guidebook.Controls;
  6. [UsedImplicitly] [GenerateTypedNameReferences]
  7. public sealed partial class GuidebookError : BoxContainer
  8. {
  9. public GuidebookError()
  10. {
  11. RobustXamlLoader.Load(this);
  12. }
  13. public GuidebookError(string original, string? error) : this()
  14. {
  15. Original.AddText(original);
  16. if (error is not null)
  17. Error.AddText(error);
  18. }
  19. }