Visual popup types (#9523)
* Visual popup types * Pass over `PopupCoordinates` and `PopupCursor` * `PopupEntity` pass * Disease and reagent popup pass * COLOUR
This commit is contained in:
@@ -6,19 +6,19 @@ namespace Content.Server.Popups
|
||||
{
|
||||
public sealed class PopupSystem : SharedPopupSystem
|
||||
{
|
||||
public override void PopupCursor(string message, Filter filter)
|
||||
public override void PopupCursor(string message, Filter filter, PopupType type=PopupType.Small)
|
||||
{
|
||||
RaiseNetworkEvent(new PopupCursorEvent(message), filter);
|
||||
RaiseNetworkEvent(new PopupCursorEvent(message, type), filter);
|
||||
}
|
||||
|
||||
public override void PopupCoordinates(string message, EntityCoordinates coordinates, Filter filter)
|
||||
public override void PopupCoordinates(string message, EntityCoordinates coordinates, Filter filter, PopupType type=PopupType.Small)
|
||||
{
|
||||
RaiseNetworkEvent(new PopupCoordinatesEvent(message, coordinates), filter);
|
||||
RaiseNetworkEvent(new PopupCoordinatesEvent(message, type, coordinates), filter);
|
||||
}
|
||||
|
||||
public override void PopupEntity(string message, EntityUid uid, Filter filter)
|
||||
public override void PopupEntity(string message, EntityUid uid, Filter filter, PopupType type=PopupType.Small)
|
||||
{
|
||||
RaiseNetworkEvent(new PopupEntityEvent(message, uid), filter);
|
||||
RaiseNetworkEvent(new PopupEntityEvent(message, type, uid), filter);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user