define(["connectionManager","events"],function(connectionManager,events){"use strict";function onWebSocketMessageReceived(e,msg){var apiClient=this;if("UserDataChanged"===msg.MessageType){if(msg.Data.UserId===apiClient.getCurrentUserId())for(var i=0,length=msg.Data.UserDataList.length;i