2020-09-13 14:23:52 +02:00
|
|
|
|
using System;
|
2020-08-18 14:52:59 +02:00
|
|
|
|
using System.Collections.Generic;
|
2020-09-13 14:23:52 +02:00
|
|
|
|
using Robust.Shared.Network;
|
2020-10-14 22:45:53 +02:00
|
|
|
|
using static Content.Shared.GameTicking.SharedGameTicker;
|
2018-11-25 19:04:49 +01:00
|
|
|
|
|
|
|
|
|
|
namespace Content.Client.Interfaces
|
|
|
|
|
|
{
|
|
|
|
|
|
public interface IClientGameTicker
|
|
|
|
|
|
{
|
2020-02-26 16:42:12 +01:00
|
|
|
|
bool IsGameStarted { get; }
|
|
|
|
|
|
string ServerInfoBlob { get; }
|
|
|
|
|
|
bool AreWeReady { get; }
|
2020-08-20 16:20:48 +02:00
|
|
|
|
bool DisallowedLateJoin { get; }
|
2021-01-11 09:03:58 +01:00
|
|
|
|
TimeSpan StartTime { get; }
|
2020-06-21 22:05:47 +02:00
|
|
|
|
bool Paused { get; }
|
2020-09-29 14:26:00 +02:00
|
|
|
|
Dictionary<NetUserId, PlayerStatus> Status { get; }
|
2020-10-16 11:22:58 +02:00
|
|
|
|
IReadOnlyList<string> JobsAvailable { get; }
|
2020-02-26 16:42:12 +01:00
|
|
|
|
|
2018-11-25 19:04:49 +01:00
|
|
|
|
void Initialize();
|
2020-02-26 16:42:12 +01:00
|
|
|
|
event Action InfoBlobUpdated;
|
|
|
|
|
|
event Action LobbyStatusUpdated;
|
2020-08-18 14:52:59 +02:00
|
|
|
|
event Action LobbyReadyUpdated;
|
2020-08-20 16:20:48 +02:00
|
|
|
|
event Action LobbyLateJoinStatusUpdated;
|
2020-10-16 11:22:58 +02:00
|
|
|
|
event Action<IReadOnlyList<string>> LobbyJobsAvailableUpdated;
|
2018-11-25 19:04:49 +01:00
|
|
|
|
}
|
|
|
|
|
|
}
|