'; 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(); }
Navegador -
Navegador
2-5 , 60-90 ,
Mac Gerdts
Marina Fahrenbach
Mac Gerdts
PD-Verlag
2017-08-17
Adrian Kügel (ak15)
Boardgamegeek 66589
3,08/5
TrueSkill*
Ahaucan garzahd 1633
Secretary AndrewE 1579
Juror Aetius 1568
Che-le nandblock 1554
Itzamna Icecube 1542
Hermit tamihiko71b 1535
Itzamna Tknee 1522
Secretary starvinmarvin 1521
Monk Epworthian 1514
Ahaucan wildes 1511
*
*
Lay priest Don-Pedrinio 430
Ahaucan cs2376 331
Juror HotinCity 299
Chilan priest M1kecuebid 280
Chilan priest marcx 257
Architect Stven 253
Astrologer Puu! 226
Temple servant lonewolf70 183
Baker eddi1a 182
Che-le DavidNorman99 181
*