new window.PS.clientUI()
source/view/ClientUI.js, line 25
Client UI class manage all HTML binds and interaction between front-end and back-end, game and client
Extends
- starsGDK.Class
Methods
-
staticwindow.PS.clientUI.closeCallout(properties)
source/view/ClientUI.js, line 498 -
Close callout
Name Type Description propertiesObject -
staticwindow.PS.clientUI.closeDialog()
source/view/ClientUI.js, line 426 -
Close dialog
-
staticwindow.PS.clientUI.openCallout(properties)
source/view/ClientUI.js, line 436 -
Open callout
Name Type Description propertiesObject -
staticwindow.PS.clientUI.openDialog(properties)
source/view/ClientUI.js, line 386 -
Open dialog
Name Type Description propertiesObject -
staticwindow.PS.clientUI.setUIWrapperSize(width, height)
source/view/ClientUI.js, line 1007 -
Set HTML UI wrapper size, in some cases need to be called explicitly when UI init before the canvas
Name Type Description widthString | Number heightString | Number -
staticwindow.PS.clientUI.showDialog(dialogType)
source/view/ClientUI.js, line 165 -
Show one of the custom predefined GDK dialogs
Name Type Description dialogTypeString