mirror of
https://github.com/WWhiteDreamProject/wwdpublic.git
synced 2026-04-16 21:17:39 +03:00
# Description Port ready manifest to pre-round lobby from [Imp Station](https://github.com/impstation/imp-station-14) Prs: https://github.com/impstation/imp-station-14/pull/43 https://github.com/impstation/imp-station-14/pull/63 --- <details><summary><h1>Media</h1></summary> <p>   </p> </details> --- # Changelog 🆑 12rabbits and Will-Oliver-Br add: Added a ready manifest display to the pre-round lobby. --------- Co-authored-by: 12rabbits <53499656+12rabbits@users.noreply.github.com> (cherry picked from commit 6f69f5a80188e73980b24d5f8a127146a98965d1)
29 lines
661 B
C#
29 lines
661 B
C#
using Content.Shared.Eui;
|
|
using Content.Shared.Roles;
|
|
using Robust.Shared.Prototypes;
|
|
using Robust.Shared.Serialization;
|
|
|
|
namespace Content.Shared.ReadyManifest;
|
|
|
|
|
|
[Serializable, NetSerializable]
|
|
public sealed class RequestReadyManifestMessage : EntityEventArgs
|
|
{
|
|
public NetEntity Id { get; }
|
|
|
|
public RequestReadyManifestMessage()
|
|
{
|
|
//Id = id;
|
|
}
|
|
}
|
|
|
|
[Serializable, NetSerializable]
|
|
public sealed class ReadyManifestEuiState : EuiStateBase
|
|
{
|
|
public Dictionary<ProtoId<JobPrototype>, int> JobCounts { get; }
|
|
|
|
public ReadyManifestEuiState(Dictionary<ProtoId<JobPrototype>, int> jobCounts)
|
|
{
|
|
JobCounts = jobCounts;
|
|
}
|
|
} |