Add tooltips to the agent ID job icons and improve status icon prototypes (#28575)
* add tooltips to agentid job icons * forgot to stage this * make StatusIconPrototype abstract * minor visual improvements * cleanup * use currentculture to sort job names * review
This commit is contained in:
@@ -25,14 +25,12 @@ namespace Content.Shared.Access.Systems
|
||||
[Serializable, NetSerializable]
|
||||
public sealed class AgentIDCardBoundUserInterfaceState : BoundUserInterfaceState
|
||||
{
|
||||
public readonly HashSet<ProtoId<StatusIconPrototype>> Icons;
|
||||
public string CurrentName { get; }
|
||||
public string CurrentJob { get; }
|
||||
public string CurrentJobIconId { get; }
|
||||
|
||||
public AgentIDCardBoundUserInterfaceState(string currentName, string currentJob, string currentJobIconId, HashSet<ProtoId<StatusIconPrototype>> icons)
|
||||
public AgentIDCardBoundUserInterfaceState(string currentName, string currentJob, string currentJobIconId)
|
||||
{
|
||||
Icons = icons;
|
||||
CurrentName = currentName;
|
||||
CurrentJob = currentJob;
|
||||
CurrentJobIconId = currentJobIconId;
|
||||
@@ -64,9 +62,9 @@ namespace Content.Shared.Access.Systems
|
||||
[Serializable, NetSerializable]
|
||||
public sealed class AgentIDCardJobIconChangedMessage : BoundUserInterfaceMessage
|
||||
{
|
||||
public ProtoId<StatusIconPrototype> JobIconId { get; }
|
||||
public ProtoId<JobIconPrototype> JobIconId { get; }
|
||||
|
||||
public AgentIDCardJobIconChangedMessage(ProtoId<StatusIconPrototype> jobIconId)
|
||||
public AgentIDCardJobIconChangedMessage(ProtoId<JobIconPrototype> jobIconId)
|
||||
{
|
||||
JobIconId = jobIconId;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user