@mcsb/framework / Exports / HypixelService
Class: HypixelService
Hierarchy
↳
HypixelService
Table of contents
Constructors
Properties
Methods
Constructors
constructor
• new HypixelService(path
, apiOptions
)
Parameters
Name | Type |
---|---|
path | string |
apiOptions | HypixelAPIOptions |
Overrides
Defined in
bundled/hypixel/HypixelService.ts:8
Properties
path
• Readonly
path: string
Inherited from
Defined in
Methods
addEndpoint
▸ addEndpoint(path
, endpoint
): HypixelService
Parameters
Name | Type |
---|---|
path | string |
endpoint | Endpoint |
Returns
Inherited from
Defined in
addPlugin
▸ addPlugin(plugin
): HypixelService
Parameters
Name | Type |
---|---|
plugin | Plugin |
Returns
Inherited from
Defined in
addService
▸ addService(service
): HypixelService
Parameters
Name | Type |
---|---|
service | Service |
Returns
Inherited from
Defined in
allEndpoints
▸ allEndpoints(): Map
<string
, Endpoint
>
Returns
Map
<string
, Endpoint
>
Inherited from
Defined in
destroy
▸ destroy(): void
Returns
void
Overrides
Defined in
bundled/hypixel/HypixelService.ts:17
getServices
▸ getServices(): Service
[]
Returns
Service
[]
Inherited from
Defined in
ownEndpoints
▸ ownEndpoints(): Map
<string
, Endpoint
>
Returns
Map
<string
, Endpoint
>
Inherited from
Defined in
searchForCircularStructure
▸ Protected
searchForCircularStructure(visited?
): boolean
Parameters
Name | Type | Default value |
---|---|---|
visited | Service [] | [] |
Returns
boolean
Inherited from
Service.searchForCircularStructure