CatStation/Content.Shared/NewPlayer/ShowNewPlayerIconComponent.cs
SlamBamActionman 19bc31aef7
Add "new player label" over the head of players joining the game for the first time (#44709)
* Initial commit

* RMC? I 'ardly know 'er

* Sprout

* Rework it to use job icons

* Revert the one change

* Always the one yaml

* Easy review changes

* We do a little salami

* Review changes

* NIGHTMARE NIGHTMARE NIGHTMARE

* Update to use StatusIconPrototype only

* Remove async

* Aaaand remove the comment, bah

* Review fixes

* Update master

* Add the ability for ghosts to see

* Byte backing

* Review fix + comment

* Update to 90 min

* Add todo message
2026-09-24 15:34:37 +00:00

15 lines
625 B
C#

using Robust.Shared.GameStates;
namespace Content.Shared.NewPlayer;
/// <summary>
/// Players with this component can see the status icon related to <see cref="NewPlayerIconComponent"/>.
/// This component should only be provided to players in good standing, as it provides info on who is new to the game.
/// </summary>
[RegisterComponent, NetworkedComponent]
public sealed partial class ShowNewPlayerIconComponent : Component
{
// It only matters for the component owner client that they have it, so best not to share it to other clients.
/// <inheritdoc />
public override bool SendOnlyToOwner => true;
}