mirror of
https://github.com/DeltaV-Station/Delta-v.git
synced 2026-09-30 08:07:28 +00:00
14 lines
427 B
C#
14 lines
427 B
C#
using Robust.Server.GameObjects;
|
|
|
|
namespace Content.Server.UserInterface
|
|
{
|
|
public static class UserInterfaceHelpers
|
|
{
|
|
[Obsolete("Use UserInterfaceSystem")]
|
|
public static PlayerBoundUserInterface? GetUIOrNull(this EntityUid entity, Enum uiKey)
|
|
{
|
|
return IoCManager.Resolve<IEntitySystemManager>().GetEntitySystem<UserInterfaceSystem>().GetUiOrNull(entity, uiKey);
|
|
}
|
|
}
|
|
}
|