Class: SystemVideo

SystemVideo

A video of the game

new SystemVideo (json)

Name Type Description
json Object optional Json object describing the video
Properties:
Name Type Description
name string The video name
isBR boolean Indicate if the video is a BR (Basic Ressource)
dlc boolean Indicate if the video is a DLC

Methods

SystemVideo.getFolder (isBR, dlc)string static

Get the folder associated to videos
Name Type Description
isBR boolean Indicate if the video is a BR
dlc boolean Indicate if the video is a DLC
Returns:
Type Description
string

SystemVideo.getLocalFolder ()string static

Get the local folder associated to videos
Returns:
Type Description
string

read (json)

Read the JSON associated to the video
Name Type Description
json Object Json object describing the video

getPath ()string

Get the absolute path associated to this video
Returns:
Type Description
string