mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-09-03 10:37:05 +02:00
Adds ClientGameTiming with prediction and local/server time methods.
20 lines
410 B
C#
20 lines
410 B
C#
using JetBrains.Annotations;
|
|
using Robust.Shared.Timing;
|
|
|
|
namespace Robust.Client.Timing
|
|
{
|
|
public interface IClientGameTiming : IGameTiming
|
|
{
|
|
void StartPastPrediction();
|
|
void EndPastPrediction();
|
|
|
|
[MustUseReturnValue]
|
|
PredictionGuard StartPastPredictionArea()
|
|
{
|
|
StartPastPrediction();
|
|
|
|
return new PredictionGuard(this);
|
|
}
|
|
}
|
|
}
|