Ejemplo n.º 1
0
        private void PopulateGames(UserModel user, GetGameTypesReceivedResponse o)
        {
            myScope.Model.GameTypes = o.GameTypes;
            myScope.Model.SelectedGameType = myScope.Model.GameTypes[0];
            myScope.Apply();

            myClientSiteManagerService.GetRooms(new GetRoomsRequest(o.GameTypes[0].Name));
        }
Ejemplo n.º 2
0
 public void SendGameTypes(UserLogicModel user, GetGameTypesReceivedResponse gameTypes)
 {
     qManager.SendMessage(user.Gateway, "Area.Site.GetGameTypes.Response", user, gameTypes);
 }
Ejemplo n.º 3
0
        private void PopulateGames(UserModel user, GetGameTypesReceivedResponse o)
        {
            myGameTypeList.ClearItems();

            foreach (var gameType in o.GameTypes) {
                myGameTypeList.AddItem(new ShuffListItem(gameType.Name, gameType.Name));
            }

            myPageHandler.ClientSiteManager.GetRooms(new GetRoomsRequest(o.GameTypes[0].Name));
        }