Class AlertOrderPrototype
Defines the order of alerts so they show up in a consistent order.
Inheritance
System.Object
AlertOrderPrototype
Namespace: Content.Shared.Alert
Assembly: Content.Shared.dll
Syntax
public sealed class AlertOrderPrototype : object, IPrototype, IComparer<AlertPrototype>
Properties
| Improve this Doc View SourceID
Declaration
public string ID { get; }
Property Value
Type | Description |
---|---|
System.String |
Methods
| Improve this Doc View SourceCompare(AlertPrototype, AlertPrototype)
Declaration
public int Compare(AlertPrototype x, AlertPrototype y)
Parameters
Type | Name | Description |
---|---|---|
AlertPrototype | x | |
AlertPrototype | y |
Returns
Type | Description |
---|---|
System.Int32 |
Implements
Robust.Shared.Prototypes.IPrototype
IComparer<>