C# Class Server.Accounting.AccountAttackLimiter

显示文件 Open project: Grimoric/RunUO.T2A

Public Properties

Property Type Description
Enabled bool

Public Methods

Method Description
ComputeThrottle ( int counts ) : System.TimeSpan
FindAccessLog ( Server.Network.NetState ns ) : InvalidAccountAccessLog
Initialize ( ) : void
RegisterInvalidAccess ( Server.Network.NetState ns ) : void
Throttle_Callback ( Server.Network.NetState ns ) : bool

Method Details

ComputeThrottle() public static method

public static ComputeThrottle ( int counts ) : System.TimeSpan
counts int
return System.TimeSpan

FindAccessLog() public static method

public static FindAccessLog ( Server.Network.NetState ns ) : InvalidAccountAccessLog
ns Server.Network.NetState
return InvalidAccountAccessLog

Initialize() public static method

public static Initialize ( ) : void
return void

RegisterInvalidAccess() public static method

public static RegisterInvalidAccess ( Server.Network.NetState ns ) : void
ns Server.Network.NetState
return void

Throttle_Callback() public static method

public static Throttle_Callback ( Server.Network.NetState ns ) : bool
ns Server.Network.NetState
return bool

Property Details

Enabled public_oe static_oe property

public static bool Enabled
return bool