Show / Hide Table of Contents

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 Source

PopupMessage(EntityUid, EntityUid, String)

Pops up a message at the location of for alone to see.

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

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