'; 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(); }
Kanaloa -
Kanaloa
3-4 ,
Günter Cornett (Lono)
Carsten Fuhrmann
Christof Tisch
Bambusspiele
Tilsit
2006-12-12
Andreas Weinhardt (aweifb)
Boardgamegeek 4330
2,22/5
TrueSkill*
Itzamna T-more 1566
Itzamna jfowler 1446
Ahmakiq Lono 1445
Chilan priest valamand61 1429
Secretary Mozart 1404
Ix Chel Dr_Keymon 1387
Itzamna kylo 1368
Chaac Erlondir 1361
Itzamna ET_Master 1345
Itzamna abreiten 1342
*
*
Chilan priest valamand61 513
Mayor Opheline 407
Itzamna ET_Master 308
Chilan priest RobRdam 248
Secretary Mozart 189
Chilan priestess kira13 184
Che-le Pikeman 150
Itzamna T-more 146
Lay priest franfrin 144
Itzamna jfowler 136
*