'; 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(); }
Claim It -
Claim It
2-5 , 20-40 ,
Kris Gould
Mike Raabe
Wattsalpoag
2019-02-16
(BloodyMary)
Boardgamegeek 26162
1,45/5
TrueSkill*
Mayor stephleprof 1237
Macom priest solaris22 1230
Ahaucan gavin99 1223
Novitiate EmanuelCB 1221
Secretary Yorvik 1216
Ahaucan boardgamebabylon 1215
Architect Rundy21 1212
Chilan priest gherlevi 1206
Itzamna onestream 1206
Chilan priest smegol 1201
*
*
Ix Chel ossi2 14698
Mayor guenni 14365
Treasurer Tapsi 6873
Chaac bulavou 6333
Mayor Sunnie71 5044
Lay priest Seiche 4716
Ahaucana lilalupus 4715
Mayor Dat_Helli 4697
Chilan priest StefanWeber 4493
Chilan priest Alteisen 4189
*