@vttforge/core / SocketRegistration
Interface: SocketRegistration ​
Properties ​
id ​
readonlyid:string
Package id: the id in module.json or system.json.
kind ​
readonlykind:PackageKind
Which manifest that is. Decides module.<id> against system.<id>.
messages? ​
readonlyoptionalmessages?:Readonly<Record<string,SocketMessageHandler>>
One-way messages, keyed by name.
requests? ​
readonlyoptionalrequests?:Readonly<Record<string,SocketRequestHandler>>
Questions for the GM's client, keyed by name.