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 SourcePopupMessageEveryone(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. |
PopupMessageOtherClients(EntityUid, String)
Pops up a message for every player around
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. |