2022-05-23 14:43:09 -05:00
|
|
|
|
using System.IO;
|
|
|
|
|
|
using Content.Shared.CCVar;
|
|
|
|
|
|
using Robust.Client.AutoGenerated;
|
2021-12-24 17:32:33 -08:00
|
|
|
|
using Robust.Client.ResourceManagement;
|
|
|
|
|
|
using Robust.Client.UserInterface.Controls;
|
|
|
|
|
|
using Robust.Client.UserInterface.XAML;
|
2022-05-23 14:43:09 -05:00
|
|
|
|
using Robust.Shared.Configuration;
|
2021-12-24 17:32:33 -08:00
|
|
|
|
|
|
|
|
|
|
namespace Content.Client.Info;
|
|
|
|
|
|
|
|
|
|
|
|
[GenerateTypedNameReferences]
|
2022-02-16 00:23:23 -07:00
|
|
|
|
public sealed partial class RulesControl : BoxContainer
|
2021-12-24 17:32:33 -08:00
|
|
|
|
{
|
2022-08-29 19:38:56 -07:00
|
|
|
|
[Dependency] private readonly RulesManager _rules = default!;
|
2021-12-24 17:32:33 -08:00
|
|
|
|
|
|
|
|
|
|
public RulesControl()
|
|
|
|
|
|
{
|
|
|
|
|
|
RobustXamlLoader.Load(this);
|
|
|
|
|
|
IoCManager.InjectDependencies(this);
|
2022-08-29 19:38:56 -07:00
|
|
|
|
AddChild(_rules.RulesSection());
|
2021-12-24 17:32:33 -08:00
|
|
|
|
}
|
|
|
|
|
|
}
|