Class AbstractLibraryAbstract
Constructors
constructor
- new AbstractLibrary(client): AbstractLibrary
Methods
Abstract
getId
- getId(): string
Returns string
string
Abstract
getShardCount
- getShardCount(): number
Returns number
number
Abstract
sendPacket
- sendPacket(shardId, payload, important): void
Parameters
- shardId: number
- payload: any
- important: boolean
Returns void
Abstract
listen
- listen(nodes): void
Returns void
The abstract class for developing library