SharedCooldown
Item use cooldowns
Fields:
ClientReceivedAt DateTime
The datetime that the client recieved this cooldown from the server.
Duration number
The total duration in seconds this cooldown should last for
ExpiresAt DateTime
The datetime this cooldown will expire. All times are in UTC. Formula is: (Duration 0) ? DateTime.MaxValue : ClientReceivedAt + TimeSpan.FromSeconds(Duration) - TimeSpan.FromSeconds(StartTime)
Id number
The shared id of this cooldown. Get an objects SharedCooldownId with IntId.SharedCooldown
LayeredId LayeredSpellId
The full layered id of this cooldown
ObjectId number
The id of the world object that triggered this cooldown
StartTime number
The time in seconds that the cooldown has been active before we heard about it from the server.
Methods:
GetPropertyKeys() : string[]
Returns a list of strings of all public property / field names. Useful for reflection on UserData in lua scripts
ToString() : string
Returns a string that represents the current object.