Enum PopupType
Used to determine how a popup should appear visually to the client. Caution variants simply have a red color.
Namespace: Content.Shared.Popups
Assembly: Content.Shared.dll
Syntax
public enum PopupType : byte
Remarks
Actions which can fail or succeed should use a smaller popup for failure and a larger popup for success. Actions which have different popups for the user vs. others should use a larger popup for the user and a smaller popup for others. Actions which result in harm or are otherwise dangerous should always show as the caution variant.
Fields
Name | Description |
---|---|
Large | Large popups should be used for actions which may be important or very important to one or more users, but is not life-threatening. |
LargeCaution | |
Medium | Medium popups should be used for actions which are not spammable but may not be particularly important. |
MediumCaution | |
Small | Small popups are the default, and denote actions that may be spammable or are otherwise unimportant. |
SmallCaution |