moonlink.js / Exports / Structure
Class: Structure
Table of contents
Constructors
Properties
Methods
Constructors
constructor
• new Structure(): Structure
Returns
Properties
db
▪ Static
db: MoonlinkDatabase
Defined in
manager
▪ Static
manager: MoonlinkManager
Defined in
Methods
extend
▸ extend<K
, T
>(name
, extender
): T
Type parameters
Name | Type |
---|---|
K | extends keyof Extendable |
T | extends typeof MoonlinkManager | typeof MoonlinkNode | typeof MoonlinkPlayer | typeof MoonlinkQueue | typeof MoonlinkRestFul | typeof MoonlinkDatabase | typeof MoonlinkFilters | typeof MoonlinkTrack | typeof Players | typeof Nodes |
Parameters
Name | Type |
---|---|
name | K |
extender | (target : Extendable K ) => T |
Returns
T
Defined in
get
▸ get<K
>(name
): Extendable
K
Type parameters
Name | Type |
---|---|
K | extends keyof Extendable |
Parameters
Name | Type |
---|---|
name | K |
Returns
Defined in
init
▸ init(manager
): void
Parameters
Name | Type |
---|---|
manager | MoonlinkManager |
Returns
void