mirror of
https://github.com/space-syndicate/space-station-14.git
synced 2026-10-09 18:31:17 +03:00
23 lines
636 B
C#
23 lines
636 B
C#
using Content.Shared.Players.RateLimiting;
|
|
using Robust.Shared.Player;
|
|
|
|
namespace Content.Client.Players.RateLimiting;
|
|
|
|
public sealed class PlayerRateLimitManager : SharedPlayerRateLimitManager
|
|
{
|
|
public override RateLimitStatus CountAction(ICommonSession player, string key)
|
|
{
|
|
// TODO Rate-Limit
|
|
// Add support for rate limit prediction
|
|
// I.e., dont mis-predict just because somebody is clicking too quickly.
|
|
return RateLimitStatus.Allowed;
|
|
}
|
|
|
|
public override void Register(string key, RateLimitRegistration registration)
|
|
{
|
|
}
|
|
|
|
public override void Initialize()
|
|
{
|
|
}
|
|
}
|