client_plugin_logic_deb 1.8.340 → 1.8.341
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.
- package/Kotlin-DateTime-library-kotlinx-datetime.js +2 -2
- package/Logic_Debertz-core.js +1 -1
- package/Logic_Debertz-game_client.js +5 -5
- package/Logic_Debertz-game_client.js.map +1 -1
- package/kotlin-kotlin-stdlib.js +6 -6
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlinx-coroutines-core.js +2 -2
- package/package.json +1 -1
|
@@ -324,7 +324,7 @@
|
|
|
324
324
|
function addFormatStructureForTime(structure) {
|
|
325
325
|
this.v5d(structure);
|
|
326
326
|
}
|
|
327
|
-
initMetadataForInterface(AbstractWithDateTimeBuilder, 'AbstractWithDateTimeBuilder', VOID, VOID, [AbstractWithDateBuilder, AbstractWithTimeBuilder,
|
|
327
|
+
initMetadataForInterface(AbstractWithDateTimeBuilder, 'AbstractWithDateTimeBuilder', VOID, VOID, [AbstractWithDateBuilder, AbstractWithTimeBuilder, WithTime, WithDate]);
|
|
328
328
|
function offsetHours$default(padding, $super) {
|
|
329
329
|
padding = padding === VOID ? Padding_ZERO_getInstance() : padding;
|
|
330
330
|
var tmp;
|
|
@@ -377,7 +377,7 @@
|
|
|
377
377
|
return tmp;
|
|
378
378
|
}
|
|
379
379
|
initMetadataForInterface(AbstractWithOffsetBuilder, 'AbstractWithOffsetBuilder', VOID, VOID, [WithUtcOffset]);
|
|
380
|
-
initMetadataForClass(Builder, 'Builder', VOID, VOID, [AbstractDateTimeFormatBuilder, AbstractWithDateTimeBuilder, AbstractWithOffsetBuilder,
|
|
380
|
+
initMetadataForClass(Builder, 'Builder', VOID, VOID, [AbstractDateTimeFormatBuilder, AbstractWithDateTimeBuilder, AbstractWithOffsetBuilder, WithTime, WithUtcOffset, WithDate]);
|
|
381
381
|
initMetadataForClass(AbstractDateTimeFormat, 'AbstractDateTimeFormat');
|
|
382
382
|
initMetadataForClass(DateTimeComponentsFormat, 'DateTimeComponentsFormat', VOID, AbstractDateTimeFormat);
|
|
383
383
|
initMetadataForClass(TwoDigitNumber, 'TwoDigitNumber');
|
package/Logic_Debertz-core.js
CHANGED
|
@@ -412,7 +412,7 @@
|
|
|
412
412
|
initMetadataForClass(AppEnvironmentValue, 'AppEnvironmentValue', VOID, Enum);
|
|
413
413
|
//endregion
|
|
414
414
|
function GameEngineConfig() {
|
|
415
|
-
this.version = '1.8.
|
|
415
|
+
this.version = '1.8.341';
|
|
416
416
|
}
|
|
417
417
|
protoOf(GameEngineConfig).l33 = function () {
|
|
418
418
|
return this.version;
|
|
@@ -986,7 +986,7 @@
|
|
|
986
986
|
initMetadataForClass(ObserverStrategy, 'ObserverStrategy', VOID, Enum);
|
|
987
987
|
initMetadataForInterface(TradeScene, 'TradeScene', VOID, VOID, [SceneActionsContract, ExpectantContract, TradeSceneContract]);
|
|
988
988
|
initMetadataForInterface(EarnPointsScene, 'EarnPointsScene', VOID, VOID, [SceneActionsContract, ExpectantContract, EarnPointsSceneContract]);
|
|
989
|
-
initMetadataForInterface(TableScene, 'TableScene', VOID, VOID, [
|
|
989
|
+
initMetadataForInterface(TableScene, 'TableScene', VOID, VOID, [ControlsContract, ExpectantContract, SceneActionsContract]);
|
|
990
990
|
initMetadataForClass(EarnPointsSceneImpl, 'EarnPointsSceneImpl', VOID, VOID, [EarnPointsSceneContract, ExpectantContract, SceneActionsContract, PlayersSceneContract, EarnPointsScene, GameEngineSceneContract]);
|
|
991
991
|
initMetadataForLambda(TableSceneImpl$observeControlsMode$o$collect$slambda, CoroutineImpl, VOID, [1]);
|
|
992
992
|
initMetadataForCoroutine($collectCOROUTINE$41, CoroutineImpl);
|
|
@@ -16340,7 +16340,7 @@
|
|
|
16340
16340
|
return null;
|
|
16341
16341
|
case 1:
|
|
16342
16342
|
if (isPlayerCardLowerWinCard) {
|
|
16343
|
-
var playerHasHigher = hasHigherTrump(player.i74_1, $this, winCard.w7i_1, trump, putPlayerCard);
|
|
16343
|
+
var playerHasHigher = hasHigherTrump(player.i74_1, $this, winCard.w7i_1, trump, putPlayerCard, firstSuit);
|
|
16344
16344
|
return playerHasHigher ? ValidationCode_CARD_VALIDATION_HAS_HIGHER_TRUMP_CARD_getInstance() : null;
|
|
16345
16345
|
}
|
|
16346
16346
|
|
|
@@ -16351,7 +16351,7 @@
|
|
|
16351
16351
|
}
|
|
16352
16352
|
} else {
|
|
16353
16353
|
if (isPlayerCardLowerWinCard) {
|
|
16354
|
-
var playerHasHigher_0 = hasHigherTrump(player.i74_1, $this, winCard.w7i_1, trump, putPlayerCard);
|
|
16354
|
+
var playerHasHigher_0 = hasHigherTrump(player.i74_1, $this, winCard.w7i_1, trump, putPlayerCard, firstSuit);
|
|
16355
16355
|
return playerHasHigher_0 ? ValidationCode_CARD_VALIDATION_HAS_HIGHER_TRUMP_CARD_getInstance() : null;
|
|
16356
16356
|
}
|
|
16357
16357
|
}
|
|
@@ -16387,7 +16387,7 @@
|
|
|
16387
16387
|
function isPartnerOf(_this__u8e3s4, $this, player, all, teams) {
|
|
16388
16388
|
return _this__u8e3s4.u7i_1 === teams.z90(player.playerId, all).playerId;
|
|
16389
16389
|
}
|
|
16390
|
-
function hasHigherTrump(_this__u8e3s4, $this, winningCard, trump, playedCard) {
|
|
16390
|
+
function hasHigherTrump(_this__u8e3s4, $this, winningCard, trump, playedCard, firstSuit) {
|
|
16391
16391
|
var tmp$ret$0;
|
|
16392
16392
|
$l$block_0: {
|
|
16393
16393
|
// Inline function 'kotlin.collections.any' call
|
|
@@ -16405,7 +16405,7 @@
|
|
|
16405
16405
|
while (tmp0_iterator.k()) {
|
|
16406
16406
|
var element = tmp0_iterator.l();
|
|
16407
16407
|
// Inline function 'games.jass.logic.client.domain.interactors.PutCardValidatorInteractorImpl.hasHigherTrump.<anonymous>' call
|
|
16408
|
-
if (!element.equals(playedCard) && element.q6a().equals(trump) &&
|
|
16408
|
+
if (!element.equals(playedCard) && element.q6a().equals(trump) && getGrowth(element, trump, firstSuit) > getGrowth(winningCard, trump, firstSuit)) {
|
|
16409
16409
|
tmp$ret$0 = true;
|
|
16410
16410
|
break $l$block_0;
|
|
16411
16411
|
}
|