Members
cPanel
Child Canopy Panel Object
- Source:
channelName
Current connected channels name
- Source:
chatBox
Child Chat Box Object
- Source:
defaultConfig
Default channel config
- Source:
player
Child Video Player object
- Source:
userList
Child User List Object
- Source:
ytEmbedAPILoaded
Returns true once the ytEmbed API has loaded in from google (eww)
- Source:
Methods
connect()
Handles initial client connection
- Source:
defineListeners()
Defines network-related listeners
- Source:
handleClientInfo(data)
Handles initial client-metadata ingestion from server upon connection
Parameters:
| Name | Type | Description |
|---|---|---|
data |
Object | Data glob from server |
- Source:
processConfig(key, value)
Run once every config change to ensure settings are properly set
Parameters:
| Name | Type | Description |
|---|---|---|
key |
String | Setting to change |
value |
* | Value to set setting to |
- Source:
setDefaults(force, processConfig)
Processes and applies default config on any unset settings
Parameters:
| Name | Type | Default | Description |
|---|---|---|---|
force |
Boolean | false | Whether or not to forcefully reset already set settings |
processConfig |
Boolean | false | Whether or not to run the Process Config function once complete |
- Source: