Fix clientsided alerts being overwritten by server (#37033)
Initial commit
This commit is contained in:
@@ -75,6 +75,12 @@ public sealed partial class AlertPrototype : IPrototype
|
||||
/// </summary>
|
||||
public bool SupportsSeverity => MaxSeverity != -1;
|
||||
|
||||
/// <summary>
|
||||
/// If true, this alert is being handled by the client and will not be overwritten when handling server -> client states.
|
||||
/// </summary>
|
||||
[DataField]
|
||||
public bool ClientHandled = false;
|
||||
|
||||
/// <summary>
|
||||
/// Event raised on the user when they click on this alert.
|
||||
/// Can be null.
|
||||
|
||||
Reference in New Issue
Block a user