Used to communicate with the dddice API and live server. This is typically not initialized directly by a developer but created after calling ThreeDDice#connect.
The constructor of the
The API key used to communicate with the server
Optional string to identify the application which is communicating with the API
UUID of the connected user
API DiceBox Actions
API Roll Actions
API Room Actions
Update Room Rolls Automatically pickup dice from the board or unhide dice to players for all rolls in a room and for the current player.
object to patch onto the dice in the room
Update Room Update data about the room like room name
object containing room data to patch
room name to change to
set to true to make room public, false to make private
passcode to use for a private room (is_public == false)
API Theme Actions
API User Actions
Connect to the live server and begin listening to room events.
Note: Your user must be a participant in a room in order to listen to events, otherwise an error is thrown.
Room slug to listen on
Private passcode to access room
Personal User UUID to listen to whispers
Disconnect from the live server and stop listening to room events.
Generated using TypeDoc