Skip to content
Brandon Cooke edited this page Aug 6, 2019 · 1 revision

Stream

A Stream is a live stream of a Tournament

Constructor

Stream(
    id: number,
    eventId: number | null,
    tournamentId: number | null,
    streamName: string,
    numSetups: number | null,
    streamSource: 'TWITCH' | 'HITBOX' | 'STREAMME' | 'MIXER' | null,
    streamType: number | null,
    streamTypeId: number | null,
    isOnline: boolean | null,
    enabled: boolean | null,
    followerCount: number | null,
    removesTasks: boolean | null,
    streamStatus: string | null,
    streamGame: string | null,
    streamLogo: string | null
)

Properties

  • id
    • number
  • eventId
    • number | null
  • tournamentId
    • number | null
  • streamName
    • string
  • numSetups
    • number | null
  • streamSource
    • 'TWITCH' | 'HITBOX' | 'STREAMME' | 'MIXER' | null
  • streamType
    • number | null
  • streamTypeId
    • number | null
  • isOnline
    • boolean | null
  • enabled
    • boolean | null
  • followerCount
    • number | null
  • removesTasks
    • boolean | null
  • streamStatus
    • string | null
  • streamGame
    • string | null
  • streamLogo
    • string | null

Methods

  • getId()
    • get the numeric ID of the Stream
    • number,
  • getEventId()
    • get the ID of the Event this Stream occurred in
    • number | null,
  • getTournamentId()
    • get the ID of the Tournament this Stream occurred in
    • number | null,
  • getStreamName()
    • get the name of the Stream
    • string,
  • getNumSetups()
    • get the number of setups
    • number | null,
  • getStreamSource()
    • get the source of the Stream
    • 'TWITCH' | 'HITBOX' | 'STREAMME' | 'MIXER' | null,
  • getStreamType()
    • get the type of the Stream
    • number | null,
  • getStreamTypeId()
    • get the numeric type of the Stream
    • number | null,
  • getIsOnline()
    • get the true/false value for if the Stream is online
    • boolean | null,
  • getEnabled()
    • get the true/false value of if the Stream is enabled
    • boolean | null,
  • getFollowerCount()
    • get the follower count the Stream has
    • number | null,
  • getRemovesTasks()
    • get the true/false value of if this Stream removes tasks
    • boolean | null,
  • getStreamStatus()
    • get the status of the Stream
    • string | null,
  • getStreamGame()
    • get the game the Stream is streaming
    • string | null,
  • getStreamLogo()
    • get the url of the Stream's logo
    • string | null

Clone this wiki locally