@@ -82,6 +82,12 @@ namespace Content.Shared.Popups
|
||||
/// if the filtering has to be more specific than simply PVS range based.
|
||||
/// </summary>
|
||||
public abstract void PopupEntity(string message, EntityUid uid, Filter filter, bool recordReplay, PopupType type = PopupType.Small);
|
||||
|
||||
/// <summary>
|
||||
/// Variant of <see cref="PopupEnity(string, EntityUid, EntityUid, PopupType)"/> that only runs on the client, outside of prediction.
|
||||
/// Useful for shared code that is always ran by both sides to avoid duplicate popups.
|
||||
/// </summary>
|
||||
public abstract void PopupClient(string message, EntityUid uid, EntityUid recipient, PopupType type = PopupType.Small);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user