DDNet - v0.8.1
    Preparing search index...

    Class Releases

    Represents DDNet map releases.

    Index

    Properties

    maps: Release[]

    Array with all the map releases.

    clearCache: () => Promise<void> = ...

    Clears the Releases.cache.

    Type declaration

      • (): Promise<void>
      • Clears the CacheManager.store.

        Returns Promise<void>

    setTTL: (ttlMS?: number) => void = ...

    Sets the TTL (Time-To-Live) for objects in cache.

    Type declaration

      • (ttlMS?: number): void
      • Sets the CacheManager.ttl.

        Parameters

        • OptionalttlMS: number

          If provided, sets the CacheManager.ttl to this value, otherwise uses the default value.

        Returns void

    Methods