forked from space-wizards/space-station-14
-
Notifications
You must be signed in to change notification settings - Fork 157
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
move contractor target comp from shared to server, some fixes, and re…
…ally work photo view on client
- Loading branch information
Showing
20 changed files
with
402 additions
and
300 deletions.
There are no files selected for viewing
13 changes: 0 additions & 13 deletions
13
Content.Client/SS220/Contractor/Systems/ContractorClientSystem.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,7 @@ | ||
using Content.Shared.Preferences; | ||
using Content.Shared.SS220.Contractor; | ||
|
||
namespace Content.Client.SS220.Contractor.Systems; | ||
|
||
public sealed class ContractorClientSystem : SharedContractorSystem | ||
{ | ||
public Dictionary<EntityUid, HumanoidCharacterProfile> ProfileForTarget = []; | ||
public override void Initialize() | ||
{ | ||
base.Initialize(); | ||
SubscribeNetworkEvent<ContractorReceiveHumanoidMessage>(OnReceiveHumanoid); | ||
} | ||
|
||
private void OnReceiveHumanoid(ContractorReceiveHumanoidMessage msg) | ||
{ | ||
ProfileForTarget.Add(GetEntity(msg.Target), msg.Profile); | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.