Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Asset

The base class for all asset types.

Hierarchy

Implements

Index

Accessors

Accessors

id

  • get id(): string
  • The unique id of this asset. Use this to reference this asset in actors, etc.

    inheritdoc

    Returns string

name

  • get name(): string
  • A human-readable string identifying the asset. Not required to be unique, but can be referenced by name if it is.

    inheritdoc

    Returns string

source

  • Where this asset came from. Used for loading on late-joining clients.

    inheritdoc

    Returns AssetSource