<String> LViS.ConnectionManager.STATE_DISCONNECTED<String> LViS.ConnectionManager.STATE_CONNECTING<String> LViS.ConnectionManager.STATE_CONNECTED
Set of constants used for state representation.
Is fired when connection was forcedly disconnected by calling LViS.ConnectionManager.disconnect()
method.
Notifies that LViS successfully connected to the server. The handler is passed a server time as UNIX time in seconds.
// shorthandvar Connect = LViS.ConnectionManager;​Connect.bind(Connect.ON_STATE, function () {var state = arguments[0];switch (state) {case Connect.STATE_DISCONNECTED:break;case Connect.STATE_CONNECTING:break;case Connect.STATE_CONNECTED:break;}});