Endgame WS messages & docs
This commit is contained in:
@ -104,6 +104,10 @@ function playerReachedDestination(data) {
|
||||
playerOnDestinationModal.show();
|
||||
}
|
||||
|
||||
function productSelectionTimeout() {
|
||||
playerOnDestinationModal.hide();
|
||||
}
|
||||
|
||||
function productSelectionDone() {
|
||||
playerOnDestinationModal.hide();
|
||||
}
|
||||
@ -127,6 +131,9 @@ function wsConnect() {
|
||||
case "player_reached_destination":
|
||||
playerReachedDestination(wsMessage.data);
|
||||
break;
|
||||
case "product_selection_timeout":
|
||||
productSelectionTimeout();
|
||||
break;
|
||||
case "product_selection_done":
|
||||
productSelectionDone();
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user