'; 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(); }
Packet Row -
Packet Row
2-5 , 45-75 ,
Åse Berg (oregon)
Henrik Berg (aseoghenrik)
Michael Menzel
Pegasus
White Goblin Games
2016-11-06
Yannis Zoulias (Karmiris)
Boardgamegeek 144492
1,98/5
TrueSkill*
Itzamna volkerk 1336
Itzamna Keng_Ho 1334
Ahaucan karmiris 1318
Ahmakiq Johannesson 1313
Itzamna Fatty 1304
Ahaucan auer 1304
Ahaucan Markus1711 1275
Itzamna Pompkin 1262
Ahaucan Quax 1258
Itzamna slam91 1238
*
*
Baker Squary_Sherry 298
Baker BlauerKlaus 214
Toolmaker Torafujii 212
Chilan priest gertam 148
Lay nun bike61 140
Hermit regenwald 124
Baker Nightwing 116
Weaver Methos4757 91
Weaver er75 82
Itzamna slam91 66
*