Class PlayerCooldownList
- Namespace
- Uncreated.Warfare.Players.Cooldowns
- Assembly
- Uncreated.Warfare.dll
public class PlayerCooldownList
- Inheritance
-
PlayerCooldownList
- Inherited Members
-
Constructors
PlayerCooldownList(CSteamID, CooldownManager)
public PlayerCooldownList(CSteamID player, CooldownManager cooldownManager)
Parameters
player CSteamID
cooldownManager CooldownManager
Properties
Count
public int Count { get; }
Property Value
- int
Player
public CSteamID Player { get; }
Property Value
- CSteamID
Methods
AddCooldown(Cooldown)
public void AddCooldown(Cooldown cooldown)
Parameters
cooldown Cooldown
ClearCooldowns()
public void ClearCooldowns()
ClearExpiredCooldowns()
public void ClearExpiredCooldowns()
ClearResettableCooldowns()
public void ClearResettableCooldowns()
GetCooldown(string, object?)
public Cooldown GetCooldown(string type, object? data)
Parameters
type string
data object
Returns
- Cooldown
RemoveCooldown(string)
public void RemoveCooldown(string type)
Parameters
type string
RemoveCooldown(string, object?)
public void RemoveCooldown(string type, object? data)
Parameters
type string
data object