mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-09-01 09:37:03 +02:00
17 lines
544 B
C#
17 lines
544 B
C#
using System;
|
|
using Robust.Client.UserInterface.Controls;
|
|
|
|
namespace Robust.Client.UserInterface;
|
|
|
|
public partial interface IUserInterfaceManager
|
|
{
|
|
public UIScreen? ActiveScreen { get; }
|
|
public void LoadScreen<T>() where T : UIScreen, new();
|
|
internal void LoadScreenInternal(Type type);
|
|
public void UnloadScreen();
|
|
public T? GetActiveUIWidgetOrNull<T>() where T : UIWidget, new();
|
|
public T GetActiveUIWidget<T>() where T : UIWidget, new();
|
|
|
|
public event Action<(UIScreen? Old, UIScreen? New)>? OnScreenChanged;
|
|
}
|