Skip to main content

ODCooldownData class

under construction

We are still working the API Reference! This page might be incomplete or doesn't contain all details!

Overview

This is Open Ticket cooldown data.

It contains the instance of an active cooldown (e.g. for a user). It is handled by the cooldown itself.

View Source

Properties


active boolean boolean

Is this cooldown active?

View Source


data type Data

Additional data of this cooldown instance. (different for each cooldown type)

View Source


inherited id class api.ODId

The id of this data.

View Source


Methods


constructor() function api.ODCooldownData

(no description)

View Parameters (3)
  • id: type api.ODValidId - Parameter Description Lorem Ipsum.
  • active: boolean boolean - Parameter Description Lorem Ipsum.
  • data: type Data - Parameter Description Lorem Ipsum.

View Source


inherited protected _change() function void

Trigger an onChange() event in the parent ODManager of this class.

View Source


inherited changed() function void

(❌ SYSTEM ONLY!!) Set the callback executed when a value inside this class changes.

View Parameters (1)
  • callback: type null|(() => void) - Parameter Description Lorem Ipsum.

View Source


Defaults

under construction

We're still working on this part of the documentation!

Examples

under construction

We're still working on this part of the documentation!