Class VerbCategory
Contains combined name and icon information for a verb category.
Inheritance
System.Object
VerbCategory
Assembly: Content.Shared.dll
Syntax
public sealed class VerbCategory : object
Constructors
|
Improve this Doc
View Source
VerbCategory(String, Nullable<String>, Boolean)
Declaration
public VerbCategory(string text, string? icon, bool iconsOnly = false)
Parameters
Type |
Name |
Description |
System.String |
text |
|
System.Nullable<System.String> |
icon |
|
System.Boolean |
iconsOnly |
|
Fields
|
Improve this Doc
View Source
VerbCategory
Declaration
public static readonly VerbCategory
Field Value
|
Improve this Doc
View Source
VerbCategory
Declaration
public static readonly VerbCategory
Field Value
|
Improve this Doc
View Source
Admin
Declaration
public static readonly VerbCategory Admin
Field Value
|
Improve this Doc
View Source
Antag
Declaration
public static readonly VerbCategory Antag
Field Value
|
Improve this Doc
View Source
Columns
Columns for the grid layout that shows the verbs in this category. If IconsOnly is false,
this should very likely be set to 1.
Declaration
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
Icon
Declaration
public readonly SpriteSpecifier Icon
Field Value
Type |
Description |
Robust.Shared.Utility.SpriteSpecifier |
|
|
Improve this Doc
View Source
iconsOnly
Declaration
public static readonly VerbCategory iconsOnly
Field Value
|
Improve this Doc
View Source
IconsOnly
If true, the members of this verb category will be shown in the context menu as a row of icons without
any text.
Declaration
public readonly bool IconsOnly
Field Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
Text
Declaration
public readonly string Text
Field Value
Type |
Description |
System.String |
|