'; for (var i = 0; i < data.d.length; i++) { var cell = String.format(template, data.d[i].ShortName, data.d[i].IdName, data.d[i].CoverImagePath, BaseUrlWithLang + "GameInfo/"+data.d[i].IdName); firstRow.append(cell); } currentSuggestions = data.d; if (ID != '') { ServiceGetGameLikes(ID, GameLikesForSuggestionsCB); } } function GameLikesForSuggestionsCB(data) { var tr = $(""); for (var i = 0; i < currentSuggestions.length; i++) { tr.append(``); } $('#tblSuggestions').append(tr); for (var i = 0; i < currentSuggestions.length; i++) { var ddl = $("#ddlGameLike" + currentSuggestions[i].GameTypeId); for (var j = 0; j < i18next.t("GameLikeValues", { returnObjects: true }).length; j++) { if (j == 3) { $('', { value: j, text: i18next.t("GameLikeValues." + j), selected: true }).appendTo(ddl); } else { $('', { value: j, text: i18next.t("GameLikeValues." + j) }).appendTo(ddl); } } ddl.on("change", function (event) { GameLikeChanged(event); }); ddl.data("gametypeid", currentSuggestions[i].GameTypeId); var result = data.d.find(item => item.GameTypeId === currentSuggestions[i].GameTypeId); if (result) { ddl[0].selectedIndex = result.GameLikeLevel; } } } function GameLikeChanged(event) { const target = $(event.target); const gameTypeId = target.data("gametypeid"); const gameLikeValue = event.target.value; if (gameLikeValue == 0 || gameLikeValue == 4 || gameLikeValue == 5 || gameLikeValue == 6) { ServiceSetGameLike(gameTypeId, gameLikeValue, UpdateSuggestions); } else { ServiceSetGameLike(gameTypeId, gameLikeValue); } } function UpdateSuggestions() { $("#tblSuggestions").empty().append($("")); ServiceGetSugggestions(gameTypeId, 6, SuggestionSuccessCB, SuggestionsErrorCB); } function SuggestionsErrorCB() { $('#divSuggestions').parent().hide(); }
Hadara -
Hadara
2-5 , 45-60 ,
Benjamin Schwer
Dominik Mayer
Hans im Glück
2020-07-10
Bart De Cock (be_com4)
Boardgamegeek 269144
2,21/5
TrueSkill*
Councillor Strategix79 1665
Secretary Herracek 1612
Itzamna ttseppel 1565
Itzamna Rodraeg 1565
Judge matzeloose 1548
Fisherman Quaint0 1510
Chaac atactac 1507
Itzamna Musicus40 1505
Che-le Schweinemedaille 1503
Scholar gibr 1501
*
*
Itzamna Rodraeg 808
Hermit Catan_Ritter 716
Chaac C-E-B 536
Hermit SalFelt 517
Ix Chel Chuck 505
Chilan priest Broivoi 387
Ahaucan eddiigel 386
Fisherman Quaint0 367
Shopkeeper arloarlo 323
Councillor whateveris 319
*