* Enable nullability in Content.Client * Remove #nullable enable * Merge fixes * Remove Debug.Assert * Merge fixes * Fix build * Fix build
27 lines
825 B
C#
27 lines
825 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; }
|
|
TimeSpan 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;
|
|
}
|
|
}
|