Class SharedPopupExtensions
Inheritance
System.Object
SharedPopupExtensions
Namespace: Content.Shared.Popups
Assembly: Content.Shared.dll
Syntax
public static class SharedPopupExtensions : object
Methods
| Improve this Doc View SourcePopupMessage(EntityUid, EntityUid, String)
Pops up a message at the location of
Declaration
public static void PopupMessage(this EntityUid source, EntityUid viewer, string message)
Parameters
Type | Name | Description |
---|---|---|
EntityUid | source | The entity above which the message will appear. |
EntityUid | viewer | The entity that will see the message. |
System.String | message | The message to show. |
PopupMessage(EntityUid, String)
Pops up a message at the given entity's location for it alone to see.
Declaration
public static void PopupMessage(this EntityUid viewer, string message)
Parameters
Type | Name | Description |
---|---|---|
EntityUid | viewer | The entity that will see the message. |
System.String | message | The message to be seen. |
PopupMessageCursor(EntityUid, String)
Makes a string of text float up from a client's cursor.
Declaration
public static void PopupMessageCursor(this EntityUid viewer, string message)
Parameters
Type | Name | Description |
---|---|---|
EntityUid | viewer | The client attached entity that the message is being sent to. |
System.String | message | Text contents of the message. |