* Disable job buttons when they aren't available In real time too, the technology is overwhelming * Jobs are all unavailable when late join is disallowed. * Better ToggleDisallowLateJoin command parsing * Add togglelatejoin to groups. Co-authored-by: Víctor Aguilera Puerto <zddm@outlook.es>
27 lines
824 B
C#
27 lines
824 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using Robust.Shared.Network;
|
|
using static Content.Shared.GameTicking.SharedGameTicker;
|
|
|
|
namespace Content.Client.Interfaces
|
|
{
|
|
public interface IClientGameTicker
|
|
{
|
|
bool IsGameStarted { get; }
|
|
string ServerInfoBlob { get; }
|
|
bool AreWeReady { get; }
|
|
bool DisallowedLateJoin { get; }
|
|
DateTime StartTime { get; }
|
|
bool Paused { get; }
|
|
Dictionary<NetUserId, PlayerStatus> Status { get; }
|
|
IReadOnlyList<string> JobsAvailable { get; }
|
|
|
|
void Initialize();
|
|
event Action InfoBlobUpdated;
|
|
event Action LobbyStatusUpdated;
|
|
event Action LobbyReadyUpdated;
|
|
event Action LobbyLateJoinStatusUpdated;
|
|
event Action<IReadOnlyList<string>> LobbyJobsAvailableUpdated;
|
|
}
|
|
}
|