ICooldownSystem

Documents the ICooldownSystem class and its functions.

NOT DOCUMENTED We currently don't have information on how these functions work. They are being documented here for visibility.

Invoking ICooldownSystem

To invoke the cooldown system, use the following Global function:

cs = Game.ICooldownSystem()

Sub-functions

DoesCooldownExist

DoesCooldownExist(id : Int32) : Bool;

GetCIDByItemID

GetCIDByItemID(itemId : ItemID) : Int32;

GetCIDByOwnerAndName

GetCIDByOwnerAndName(owner : wref:Entity, cdName : CName) : Int32;

GetCIDByRecord

GetCIDByRecord(owner : wref:Entity, record : TweakDBID) : Int32;

Register

Register(request : script_ref:RegisterNewCooldownRequest) : Int32;

RegisterAbility

RegisterAbility(request : script_ref:RegisterNewAbilityCooldownRequest) : Int32;

RegisterFromRecord

RegisterFromRecord(request : script_ref:RegisterCooldownFromRecordRequest) : Int32;

Remove

Remove(id : Int32) : Bool;

Last updated