Show / Hide Table of Contents

Class PopupExtensions

Inheritance
System.Object
PopupExtensions
Namespace: Content.Server.Popups
Assembly: Content.Server.dll
Syntax
public static class PopupExtensions : object

Methods

| Improve this Doc View Source

PopupMessageEveryone(EntityUid, String, IPlayerManager, Int32)

Pops up a message at the given entity's location for everyone, including itself, to see.

Declaration
public static void PopupMessageEveryone(this EntityUid source, string message, IPlayerManager playerManager = null, int range = 15)
Parameters
Type Name Description
EntityUid source

The entity above which to show the message.

System.String message

The message to be seen.

Robust.Server.Player.IPlayerManager playerManager

The instance of player manager to use, will be resolved automatically if null.

System.Int32 range

The range in which to search for players, defaulting to one screen.

| Improve this Doc View Source

PopupMessageOtherClients(EntityUid, String)

Pops up a message for every player around to see, except for itself.

Declaration
public static void PopupMessageOtherClients(this EntityUid source, string message)
Parameters
Type Name Description
EntityUid source

The entity on which to popup the message.

System.String message

The message to show.

  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾