messages

RPCS

Dev.sendMessage(address: String, messageType: String, contents: Object)

Send a message from the services server to a specific address.

Arguments:

Dev.sendMessageToClient(messageType: String, contents: Object, delay: BoundedInteger)

Broadcast a message from the services server to the current room.

Arguments:

  • messageType: String (String)

  • contents: Object (Object)

  • delay: BoundedInteger (BoundedInteger) - # of seconds to wait before sending

Dev.sendMessageToRole(role: String, messageType: String, contents: Object)

Send a message from the services server to a given role.

Arguments:

Dev.sendMessageToRoom(messageType: String, contents: Object)

Broadcast a message from the services server to the current room.

Arguments: