Fix CA1802
This commit is contained in:
@@ -19,7 +19,7 @@ namespace OpenRA.Mods.Common.Effects
|
||||
{
|
||||
public class Beacon : IEffect, IScriptBindable, IEffectAboveShroud
|
||||
{
|
||||
static readonly int MaxArrowHeight = 512;
|
||||
const int MaxArrowHeight = 512;
|
||||
|
||||
readonly Player owner;
|
||||
readonly WPos position;
|
||||
|
||||
@@ -22,8 +22,8 @@ namespace OpenRA.Mods.Common.FileFormats
|
||||
{
|
||||
public static class Blast
|
||||
{
|
||||
public static readonly int MAXBITS = 13; // maximum code length
|
||||
public static readonly int MAXWIN = 4096; // maximum window size
|
||||
public const int MAXBITS = 13; // maximum code length
|
||||
public const int MAXWIN = 4096; // maximum window size
|
||||
|
||||
static readonly byte[] LitLen =
|
||||
{
|
||||
|
||||
@@ -30,9 +30,9 @@ namespace OpenRA.Mods.Common.Server
|
||||
[TranslationReference("player", "timeout")]
|
||||
const string TimeoutIn = "notification-timeout-dropped-in";
|
||||
|
||||
static readonly int PingInterval = 5000; // Ping every 5 seconds
|
||||
static readonly int ConnReportInterval = 20000; // Report every 20 seconds
|
||||
static readonly int ConnTimeout = 60000; // Drop unresponsive clients after 60 seconds
|
||||
const int PingInterval = 5000; // Ping every 5 seconds
|
||||
const int ConnReportInterval = 20000; // Report every 20 seconds
|
||||
const int ConnTimeout = 60000; // Drop unresponsive clients after 60 seconds
|
||||
|
||||
long lastPing = 0;
|
||||
long lastConnReport = 0;
|
||||
|
||||
Reference in New Issue
Block a user