Cleaner BoundUserInterfaces (#17736)
This commit is contained in:
@@ -5,15 +5,16 @@ namespace Content.Client.SurveillanceCamera.UI;
|
||||
|
||||
public sealed class SurveillanceCameraSetupBoundUi : BoundUserInterface
|
||||
{
|
||||
private SurveillanceCameraSetupWindow? _window;
|
||||
private SurveillanceCameraSetupUiKey _type;
|
||||
[ViewVariables]
|
||||
private readonly SurveillanceCameraSetupUiKey _type;
|
||||
|
||||
public SurveillanceCameraSetupBoundUi(ClientUserInterfaceComponent component, Enum uiKey) : base(component, uiKey)
|
||||
[ViewVariables]
|
||||
private SurveillanceCameraSetupWindow? _window;
|
||||
|
||||
public SurveillanceCameraSetupBoundUi(EntityUid component, Enum uiKey) : base(component, uiKey)
|
||||
{
|
||||
if (uiKey is not SurveillanceCameraSetupUiKey key)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
_type = key;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user