client_plugin_logic_deb 1.5.20 → 1.6.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -360,7 +360,7 @@
360
360
  //endregion
361
361
  function GameEngineConfig() {
362
362
  GameEngineConfig_instance = this;
363
- this.version = '1.5.20';
363
+ this.version = '1.6.20';
364
364
  }
365
365
  protoOf(GameEngineConfig).b2s = function () {
366
366
  return this.version;
@@ -33921,7 +33921,7 @@
33921
33921
  gameNumber = gameNumber === VOID ? this.gameNumber : gameNumber;
33922
33922
  return this.l4x(roomId, partyNumber, players, isFirstParty, gameNumber);
33923
33923
  };
33924
- function PartyEndedAction(roomId, partyNumber, earnedBiggestPointPlayerId, partyLosers, partyWinners, gameLosers, gameWinners, luckyFactors) {
33924
+ function PartyEndedAction(roomId, partyNumber, earnedBiggestPointPlayerId, partyCommitted, partyWinners, gameLosers, gameWinners, luckyFactors) {
33925
33925
  gameLosers = gameLosers === VOID ? null : gameLosers;
33926
33926
  gameWinners = gameWinners === VOID ? null : gameWinners;
33927
33927
  luckyFactors = luckyFactors === VOID ? null : luckyFactors;
@@ -33929,7 +33929,7 @@
33929
33929
  this.roomId = roomId;
33930
33930
  this.partyNumber = partyNumber;
33931
33931
  this.earnedBiggestPointPlayerId = earnedBiggestPointPlayerId;
33932
- this.partyLosers = partyLosers;
33932
+ this.partyCommitted = partyCommitted;
33933
33933
  this.partyWinners = partyWinners;
33934
33934
  this.gameLosers = gameLosers;
33935
33935
  this.gameWinners = gameWinners;
@@ -33945,7 +33945,7 @@
33945
33945
  return this.earnedBiggestPointPlayerId;
33946
33946
  };
33947
33947
  protoOf(PartyEndedAction).n4x = function () {
33948
- return this.partyLosers;
33948
+ return this.partyCommitted;
33949
33949
  };
33950
33950
  protoOf(PartyEndedAction).o4x = function () {
33951
33951
  return this.partyWinners;
@@ -33999,7 +33999,7 @@
33999
33999
  return false;
34000
34000
  if (!(this.earnedBiggestPointPlayerId === other.earnedBiggestPointPlayerId))
34001
34001
  return false;
34002
- if (!contentEquals(this.partyLosers, other.partyLosers))
34002
+ if (!contentEquals(this.partyCommitted, other.partyCommitted))
34003
34003
  return false;
34004
34004
  if (!contentEquals(this.partyWinners, other.partyWinners))
34005
34005
  return false;
@@ -34022,7 +34022,7 @@
34022
34022
  protoOf(PartyEndedAction).hashCode = function () {
34023
34023
  var result = getStringHashCode(this.roomId);
34024
34024
  result = imul(31, result) + getStringHashCode(this.earnedBiggestPointPlayerId) | 0;
34025
- result = imul(31, result) + contentHashCode(this.partyLosers) | 0;
34025
+ result = imul(31, result) + contentHashCode(this.partyCommitted) | 0;
34026
34026
  result = imul(31, result) + contentHashCode(this.partyWinners) | 0;
34027
34027
  var tmp = imul(31, result);
34028
34028
  var tmp0_safe_receiver = this.gameLosers;
@@ -34035,7 +34035,7 @@
34035
34035
  return result;
34036
34036
  };
34037
34037
  protoOf(PartyEndedAction).toString = function () {
34038
- var tmp = "PartyEndedAction(roomId='" + this.roomId + "', " + ('partyNumber=' + this.partyNumber + ', ') + ("earnedBiggestPointPlayerId='" + this.earnedBiggestPointPlayerId + "', ") + ('partyLosers=' + contentToString(this.partyLosers) + ', ') + ('partyWinners=' + contentToString(this.partyWinners) + ', ');
34038
+ var tmp = "PartyEndedAction(roomId='" + this.roomId + "', " + ('partyNumber=' + this.partyNumber + ', ') + ("earnedBiggestPointPlayerId='" + this.earnedBiggestPointPlayerId + "', ") + ('whoPlays=' + contentToString(this.partyCommitted) + ', ') + ('partyWinners=' + contentToString(this.partyWinners) + ', ');
34039
34039
  var tmp2_safe_receiver = this.gameLosers;
34040
34040
  var tmp_0 = tmp + ('gameLosers=' + (tmp2_safe_receiver == null ? null : contentToString(tmp2_safe_receiver)) + ', ');
34041
34041
  var tmp1_safe_receiver = this.gameWinners;
@@ -34053,7 +34053,7 @@
34053
34053
  return this.earnedBiggestPointPlayerId;
34054
34054
  };
34055
34055
  protoOf(PartyEndedAction).j2t = function () {
34056
- return this.partyLosers;
34056
+ return this.partyCommitted;
34057
34057
  };
34058
34058
  protoOf(PartyEndedAction).k2t = function () {
34059
34059
  return this.partyWinners;
@@ -34067,19 +34067,19 @@
34067
34067
  protoOf(PartyEndedAction).o2w = function () {
34068
34068
  return this.luckyFactors;
34069
34069
  };
34070
- protoOf(PartyEndedAction).s4x = function (roomId, partyNumber, earnedBiggestPointPlayerId, partyLosers, partyWinners, gameLosers, gameWinners, luckyFactors) {
34071
- return new PartyEndedAction(roomId, partyNumber, earnedBiggestPointPlayerId, partyLosers, partyWinners, gameLosers, gameWinners, luckyFactors);
34070
+ protoOf(PartyEndedAction).s4x = function (roomId, partyNumber, earnedBiggestPointPlayerId, partyCommitted, partyWinners, gameLosers, gameWinners, luckyFactors) {
34071
+ return new PartyEndedAction(roomId, partyNumber, earnedBiggestPointPlayerId, partyCommitted, partyWinners, gameLosers, gameWinners, luckyFactors);
34072
34072
  };
34073
- protoOf(PartyEndedAction).copy = function (roomId, partyNumber, earnedBiggestPointPlayerId, partyLosers, partyWinners, gameLosers, gameWinners, luckyFactors, $super) {
34073
+ protoOf(PartyEndedAction).copy = function (roomId, partyNumber, earnedBiggestPointPlayerId, partyCommitted, partyWinners, gameLosers, gameWinners, luckyFactors, $super) {
34074
34074
  roomId = roomId === VOID ? this.roomId : roomId;
34075
34075
  partyNumber = partyNumber === VOID ? this.partyNumber : partyNumber;
34076
34076
  earnedBiggestPointPlayerId = earnedBiggestPointPlayerId === VOID ? this.earnedBiggestPointPlayerId : earnedBiggestPointPlayerId;
34077
- partyLosers = partyLosers === VOID ? this.partyLosers : partyLosers;
34077
+ partyCommitted = partyCommitted === VOID ? this.partyCommitted : partyCommitted;
34078
34078
  partyWinners = partyWinners === VOID ? this.partyWinners : partyWinners;
34079
34079
  gameLosers = gameLosers === VOID ? this.gameLosers : gameLosers;
34080
34080
  gameWinners = gameWinners === VOID ? this.gameWinners : gameWinners;
34081
34081
  luckyFactors = luckyFactors === VOID ? this.luckyFactors : luckyFactors;
34082
- return this.s4x(roomId, partyNumber, earnedBiggestPointPlayerId, partyLosers, partyWinners, gameLosers, gameWinners, luckyFactors);
34082
+ return this.s4x(roomId, partyNumber, earnedBiggestPointPlayerId, partyCommitted, partyWinners, gameLosers, gameWinners, luckyFactors);
34083
34083
  };
34084
34084
  function PartyRestartedAction(roomId, partyNumber) {
34085
34085
  this.roomId = roomId;
@@ -35933,6 +35933,7 @@
35933
35933
  }
35934
35934
  var sceneData_0 = tmp$ret$16;
35935
35935
  var table_1 = store.state.f3b();
35936
+ var whoChoseSuitPlayerId = getWhoChoseSuit(table_1.players).t2s();
35936
35937
  var tmp_3 = store.dispatch;
35937
35938
  var tmp9_roomId = table_1.id;
35938
35939
  var tmp10_partyNumber = table_1.gameInfo.v42_1.y45_1;
@@ -35948,7 +35949,7 @@
35948
35949
  while (tmp0_iterator_3.g()) {
35949
35950
  var element_1 = tmp0_iterator_3.h();
35950
35951
  // Inline function 'com.debertz.logic.redux.middlewares.game.partyLifecycleMiddleware.<anonymous>.<anonymous>' call
35951
- if (element_1.s3j_1.k3i()) {
35952
+ if (element_1.v2v(whoChoseSuitPlayerId)) {
35952
35953
  tmp0_filterTo.a(element_1);
35953
35954
  }
35954
35955
  }
@@ -35973,7 +35974,7 @@
35973
35974
  tmp$ret$23 = item_2.u3j_1;
35974
35975
  tmp0_mapTo_2.a(tmp$ret$23);
35975
35976
  }
35976
- var tmp12_partyLosers = copyToArray(tmp0_mapTo_2);
35977
+ var tmp12_partyCommitted = copyToArray(tmp0_mapTo_2);
35977
35978
  // Inline function 'kotlin.collections.toTypedArray' call
35978
35979
  var tmp14_toTypedArray = sceneData_0.m3q_1;
35979
35980
  var tmp13_partyWinners = copyToArray(tmp14_toTypedArray);
@@ -36041,7 +36042,7 @@
36041
36042
  tmp0_mapTo_4.a(tmp$ret$38);
36042
36043
  }
36043
36044
  var tmp16_luckyFactors = copyToArray(tmp0_mapTo_4);
36044
- tmp_3(new PartyEndedAction(tmp9_roomId, tmp10_partyNumber, tmp11_earnedBiggestPointPlayerId, tmp12_partyLosers, tmp13_partyWinners, tmp15_gameLosers, tmp14_gameWinners, tmp16_luckyFactors));
36045
+ tmp_3(new PartyEndedAction(tmp9_roomId, tmp10_partyNumber, tmp11_earnedBiggestPointPlayerId, tmp12_partyCommitted, tmp13_partyWinners, tmp15_gameLosers, tmp14_gameWinners, tmp16_luckyFactors));
36045
36046
  }
36046
36047
  }
36047
36048
  }