Cleans up StatusIconSystem and fixing some bugs (#28270)
This commit is contained in:
@@ -24,16 +24,4 @@ public sealed partial class StatusIconComponent : Component
|
||||
/// </summary>
|
||||
/// <param name="StatusIcons"></param>
|
||||
[ByRefEvent]
|
||||
public record struct GetStatusIconsEvent(List<StatusIconData> StatusIcons, bool InContainer);
|
||||
|
||||
/// <summary>
|
||||
/// Event raised on the Client-side to determine whether to display a status icon on an entity.
|
||||
/// </summary>
|
||||
/// <param name="User">The player that will see the icons</param>
|
||||
[ByRefEvent]
|
||||
public record struct CanDisplayStatusIconsEvent(EntityUid? User = null)
|
||||
{
|
||||
public EntityUid? User = User;
|
||||
|
||||
public bool Cancelled = false;
|
||||
}
|
||||
public record struct GetStatusIconsEvent(List<StatusIconData> StatusIcons);
|
||||
|
||||
Reference in New Issue
Block a user