@vttforge/core / EmitOptions
Interface: EmitOptions
Properties
self?
readonlyoptionalself?:boolean
Run the handler on this client as well. Default true, which is what makes a lone GM see the same thing as a table full of players. false when the sender must not act on its own message.
to?
readonlyoptionalto?: readonlystring[]
User ids to send to. Left out, every other client receives it. The sender's own id is dropped from the list, because the local run below already covers this client.