'; 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(); }
Lemminge -
Lemminge
2-5 ,
Sebastian Bleasdale (SebastianB)
Loïc Billiau
AMIGO Spiel + Freizeit GmbH
2020-11-20
2020-11-20
(Stonecrusher)
Boardgamegeek 153004
1,41/5
TrueSkill*
Itzamna Tryland 1365
Ix Chel Stonecrusher 1313
Itzamna slam91 1310
Chaac Tonoester 1302
Astrologer nan 1301
Ahaucan alexsim 1284
Itzamna kylo 1274
Itzamna pega001 1274
Farmer DougBurbidge 1271
Itzamna prof43 1267
*
*
Hermit VK53 2150
Chilan priest spieleBaumi 2034
Hermit tichat 1485
Chilan priest StefanWeber 1471
Ahaucana energieriegel 1458
Weaver Hildegard 1192
Messenger rombine61 1127
Mayor Dat_Helli 1123
Ix Chel anette 1112
Scholar marywoodpecker 1060
*