client_plugin_logic_deb 1.8.480 → 1.8.481
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/Logic_Debertz-client_plugin.js +1939 -1939
- package/Logic_Debertz-core.js +1 -1
- package/Logic_Debertz-engine.js +49 -49
- package/Logic_Debertz-engine.js.map +1 -1
- package/Logic_Debertz-game_client.js +673 -656
- package/Logic_Debertz-game_client.js.map +1 -1
- package/Logic_Debertz-game_server.js +774 -774
- package/kotlin-kotlin-stdlib.js +18 -18
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlinx-coroutines-core.js +8 -8
- package/kotlinx-coroutines-core.js.map +1 -1
- package/package.json +1 -1
package/Logic_Debertz-core.js
CHANGED
|
@@ -453,7 +453,7 @@
|
|
|
453
453
|
initMetadataForClass(BrowserCompressionService, 'BrowserCompressionService', BrowserCompressionService, VOID, [CompressionService], [2]);
|
|
454
454
|
//endregion
|
|
455
455
|
function GameEngineConfig() {
|
|
456
|
-
this.version = '1.8.
|
|
456
|
+
this.version = '1.8.481';
|
|
457
457
|
}
|
|
458
458
|
protoOf(GameEngineConfig).k47 = function () {
|
|
459
459
|
return this.version;
|
package/Logic_Debertz-engine.js
CHANGED
|
@@ -1365,10 +1365,10 @@
|
|
|
1365
1365
|
initMetadataForClass(RestartGameMechanicAction, 'RestartGameMechanicAction', VOID, MechanicAction, [MechanicAction, InterceptableAction]);
|
|
1366
1366
|
initMetadataForClass(ErrorAction, 'ErrorAction', VOID, MechanicAction, [MechanicAction, NotValidateIfGameFinished]);
|
|
1367
1367
|
initMetadataForClass(PutCardMechanicAction, 'PutCardMechanicAction', VOID, MechanicAction, [MechanicAction, InSceneAction, PlayerTurnIdAnswerAction, CardsMechanicAction]);
|
|
1368
|
-
initMetadataForClass(TakeAllRemainingCardsMechanicAction, 'TakeAllRemainingCardsMechanicAction', VOID, MechanicAction, [MechanicAction, InSceneAction, PlayerTurnIdAnswerAction]);
|
|
1369
1368
|
initMetadataForClass(SuitChoiceMechanicAction, 'SuitChoiceMechanicAction', VOID, MechanicAction, [MechanicAction, InSceneAction, PlayerTurnIdAnswerAction, NextPlayerTurnAction]);
|
|
1370
1369
|
initMetadataForClass(SceneActMechanicAction, 'SceneActMechanicAction', VOID, MechanicAction, [MechanicAction, NavigationMechanicAction, NextPlayerTurnAction]);
|
|
1371
1370
|
initMetadataForClass(PlayerReadyMechanicAction, 'PlayerReadyMechanicAction', VOID, MechanicAction, [MechanicAction, InSceneAction, PlayerTurnIdAnswerAction]);
|
|
1371
|
+
initMetadataForClass(TakeAllRemainingCardsMechanicAction, 'TakeAllRemainingCardsMechanicAction', VOID, MechanicAction, [MechanicAction, InSceneAction, PlayerTurnIdAnswerAction]);
|
|
1372
1372
|
initMetadataForClass(SceneLifecycleAction, 'SceneLifecycleAction', VOID, VOID, [Action]);
|
|
1373
1373
|
initMetadataForClass(SceneEndedMechanicAction, 'SceneEndedMechanicAction', VOID, SceneLifecycleAction);
|
|
1374
1374
|
initMetadataForClass(SceneActStartedMechanicAction, 'SceneActStartedMechanicAction', VOID, SceneLifecycleAction);
|
|
@@ -20726,7 +20726,7 @@
|
|
|
20726
20726
|
function _init_properties_CombinationsDtoMappers_kt__fk981j() {
|
|
20727
20727
|
if (!properties_initialized_CombinationsDtoMappers_kt_1nj0n) {
|
|
20728
20728
|
properties_initialized_CombinationsDtoMappers_kt_1nj0n = true;
|
|
20729
|
-
combinationTypeMapping = mapOf_0([to('THREE_IN_ROW', CombinationType_THREE_IN_ROW_getInstance()), to('FOUR_IN_ROW', CombinationType_FOUR_IN_ROW_getInstance()), to('FIVE_IN_ROW', CombinationType_FIVE_IN_ROW_getInstance()), to('SEVEN_IN_ROW', CombinationType_SEVEN_IN_ROW_getInstance()), to('SEVEN_TRUMP', CombinationType_SEVEN_TRUMP_getInstance()), to('FOUR_SEVENS', CombinationType_FOUR_SEVENS_getInstance()), to('FOUR_NINES', CombinationType_FOUR_NINES_getInstance()), to('FOUR_TENS', CombinationType_FOUR_TENS_getInstance()), to('FOUR_JACKS', CombinationType_FOUR_JACKS_getInstance()), to('FOUR_QUEENS', CombinationType_FOUR_QUEENS_getInstance()), to('FOUR_KINGS', CombinationType_FOUR_KINGS_getInstance()), to('FOUR_ACES', CombinationType_FOUR_ACES_getInstance()), to('BELA', CombinationType_BELA_getInstance()), to('FINE_NO_BRIBES', CombinationType_FINE_NO_BRIBES_getInstance()), to('FINE_THIRD_FAILED_CONTRACT', CombinationType_FINE_THIRD_FAILED_CONTRACT_getInstance()), to('BONUS_FAILED_CONTRACT', CombinationType_BONUS_FAILED_CONTRACT_getInstance()), to('BONUS_CONTROVERSIAL_CONTRACT', CombinationType_BONUS_CONTROVERSIAL_CONTRACT_getInstance()), to('BONUS_LAST_BRIBE', CombinationType_BONUS_LAST_BRIBE_getInstance())]);
|
|
20729
|
+
combinationTypeMapping = mapOf_0([to('THREE_IN_ROW', CombinationType_THREE_IN_ROW_getInstance()), to('FOUR_IN_ROW', CombinationType_FOUR_IN_ROW_getInstance()), to('FIVE_IN_ROW', CombinationType_FIVE_IN_ROW_getInstance()), to('SEVEN_IN_ROW', CombinationType_SEVEN_IN_ROW_getInstance()), to('SEVEN_TRUMP', CombinationType_SEVEN_TRUMP_getInstance()), to('WEAK_HAND', CombinationType_WEAK_HAND_getInstance()), to('FOUR_SEVENS', CombinationType_FOUR_SEVENS_getInstance()), to('FOUR_NINES', CombinationType_FOUR_NINES_getInstance()), to('FOUR_TENS', CombinationType_FOUR_TENS_getInstance()), to('FOUR_JACKS', CombinationType_FOUR_JACKS_getInstance()), to('FOUR_QUEENS', CombinationType_FOUR_QUEENS_getInstance()), to('FOUR_KINGS', CombinationType_FOUR_KINGS_getInstance()), to('FOUR_ACES', CombinationType_FOUR_ACES_getInstance()), to('BELA', CombinationType_BELA_getInstance()), to('FINE_NO_BRIBES', CombinationType_FINE_NO_BRIBES_getInstance()), to('FINE_THIRD_FAILED_CONTRACT', CombinationType_FINE_THIRD_FAILED_CONTRACT_getInstance()), to('BONUS_FAILED_CONTRACT', CombinationType_BONUS_FAILED_CONTRACT_getInstance()), to('BONUS_CONTROVERSIAL_CONTRACT', CombinationType_BONUS_CONTROVERSIAL_CONTRACT_getInstance()), to('BONUS_LAST_BRIBE', CombinationType_BONUS_LAST_BRIBE_getInstance()), to('BONUS_CAPOT', CombinationType_BONUS_CAPOT_getInstance())]);
|
|
20730
20730
|
combinationStateMapping = mapOf_0([to('ACCEPTED', CombinationState_ACCEPTED_getInstance()), to('NOT_ACCEPTED', CombinationState_NOT_ACCEPTED_getInstance()), to('VERIFYING', CombinationState_VERIFYING_getInstance()), to('NOT_VERIFIED', CombinationState_NOT_VERIFIED_getInstance()), to('REJECTED', CombinationState_REJECTED_getInstance()), to('CANCELED', CombinationState_CANCELED_getInstance())]);
|
|
20731
20731
|
combinationTypeMappingLegacy = mapOf_0([to('TERZ', CombinationType_THREE_IN_ROW_getInstance()), to('FIFTY', CombinationType_FOUR_IN_ROW_getInstance()), to('DEBERTZ', CombinationType_SEVEN_IN_ROW_getInstance()), to('SEVEN_TRUMP', CombinationType_SEVEN_TRUMP_getInstance()), to('FOUR_SEVENS', CombinationType_FOUR_SEVENS_getInstance()), to('BELLA', CombinationType_BELA_getInstance()), to('BONUS_AFTER_PLAYER_BYTE', CombinationType_BONUS_FAILED_CONTRACT_getInstance()), to('BONUS_HANGING_BYTE', CombinationType_BONUS_CONTROVERSIAL_CONTRACT_getInstance()), to('BONUS_LAST_BRIBE', CombinationType_BONUS_LAST_BRIBE_getInstance()), to('FINE_NO_BRIBES', CombinationType_FINE_NO_BRIBES_getInstance()), to('FINE_THIRD_BYTE', CombinationType_FINE_THIRD_FAILED_CONTRACT_getInstance())]);
|
|
20732
20732
|
combinationReasonMapping = mapOf_0([to('WIN_TRUMP_COMBINATION', CombinationReason_WIN_TRUMP_COMBINATION_getInstance()), to('WIN_HIGHER_COMBINATION', CombinationReason_WIN_HIGHER_COMBINATION_getInstance()), to('WIN_PARTNER_COMBINATION', CombinationReason_WIN_PARTNER_COMBINATION_getInstance()), to('WIN_HIGHER_PLAYER_NUMBER_COMBINATION', CombinationReason_WIN_HIGHER_PLAYER_NUMBER_COMBINATION_getInstance()), to('WIN_HIGHER_CARD_COMBINATION', CombinationReason_WIN_HIGHER_CARD_COMBINATION_getInstance()), to('WIN_SINGLE_COMBINATION', CombinationReason_WIN_SINGLE_COMBINATION_getInstance()), to('REJECTED_NOT_TRUMP_SEVEN_IN_ROW_COMBINATION', CombinationReason_REJECTED_NOT_TRUMP_SEVEN_IN_ROW_COMBINATION_getInstance())]);
|
|
@@ -59348,47 +59348,6 @@
|
|
|
59348
59348
|
return false;
|
|
59349
59349
|
return true;
|
|
59350
59350
|
};
|
|
59351
|
-
function TakeAllRemainingCardsMechanicAction(currentTurnPlayerId, playersCards, aid) {
|
|
59352
|
-
aid = aid === VOID ? null : aid;
|
|
59353
|
-
MechanicAction.call(this);
|
|
59354
|
-
this.k9f_1 = currentTurnPlayerId;
|
|
59355
|
-
this.l9f_1 = playersCards;
|
|
59356
|
-
this.m9f_1 = aid;
|
|
59357
|
-
}
|
|
59358
|
-
protoOf(TakeAllRemainingCardsMechanicAction).kam = function () {
|
|
59359
|
-
return this.k9f_1;
|
|
59360
|
-
};
|
|
59361
|
-
protoOf(TakeAllRemainingCardsMechanicAction).uak = function () {
|
|
59362
|
-
return this.m9f_1;
|
|
59363
|
-
};
|
|
59364
|
-
protoOf(TakeAllRemainingCardsMechanicAction).qam = function (sceneId) {
|
|
59365
|
-
return 'EARN_POINTS' === sceneId;
|
|
59366
|
-
};
|
|
59367
|
-
protoOf(TakeAllRemainingCardsMechanicAction).d77 = function () {
|
|
59368
|
-
return this.k9f_1;
|
|
59369
|
-
};
|
|
59370
|
-
protoOf(TakeAllRemainingCardsMechanicAction).toString = function () {
|
|
59371
|
-
return 'TakeAllRemainingCardsMechanicAction(currentTurnPlayerId=' + this.k9f_1 + ', playersCards=' + toString(this.l9f_1) + ', aid=' + this.m9f_1 + ')';
|
|
59372
|
-
};
|
|
59373
|
-
protoOf(TakeAllRemainingCardsMechanicAction).hashCode = function () {
|
|
59374
|
-
var result = getStringHashCode(this.k9f_1);
|
|
59375
|
-
result = imul(result, 31) + hashCode(this.l9f_1) | 0;
|
|
59376
|
-
result = imul(result, 31) + (this.m9f_1 == null ? 0 : getStringHashCode(this.m9f_1)) | 0;
|
|
59377
|
-
return result;
|
|
59378
|
-
};
|
|
59379
|
-
protoOf(TakeAllRemainingCardsMechanicAction).equals = function (other) {
|
|
59380
|
-
if (this === other)
|
|
59381
|
-
return true;
|
|
59382
|
-
if (!(other instanceof TakeAllRemainingCardsMechanicAction))
|
|
59383
|
-
return false;
|
|
59384
|
-
if (!(this.k9f_1 === other.k9f_1))
|
|
59385
|
-
return false;
|
|
59386
|
-
if (!equals(this.l9f_1, other.l9f_1))
|
|
59387
|
-
return false;
|
|
59388
|
-
if (!(this.m9f_1 == other.m9f_1))
|
|
59389
|
-
return false;
|
|
59390
|
-
return true;
|
|
59391
|
-
};
|
|
59392
59351
|
function InSceneAction() {
|
|
59393
59352
|
}
|
|
59394
59353
|
function SuitChoiceMechanicAction(suit, restartRound, currentTurnPlayerId, nextTurnPlayerIds, aid) {
|
|
@@ -59536,6 +59495,47 @@
|
|
|
59536
59495
|
return false;
|
|
59537
59496
|
return true;
|
|
59538
59497
|
};
|
|
59498
|
+
function TakeAllRemainingCardsMechanicAction(currentTurnPlayerId, playersCards, aid) {
|
|
59499
|
+
aid = aid === VOID ? null : aid;
|
|
59500
|
+
MechanicAction.call(this);
|
|
59501
|
+
this.k9f_1 = currentTurnPlayerId;
|
|
59502
|
+
this.l9f_1 = playersCards;
|
|
59503
|
+
this.m9f_1 = aid;
|
|
59504
|
+
}
|
|
59505
|
+
protoOf(TakeAllRemainingCardsMechanicAction).kam = function () {
|
|
59506
|
+
return this.k9f_1;
|
|
59507
|
+
};
|
|
59508
|
+
protoOf(TakeAllRemainingCardsMechanicAction).uak = function () {
|
|
59509
|
+
return this.m9f_1;
|
|
59510
|
+
};
|
|
59511
|
+
protoOf(TakeAllRemainingCardsMechanicAction).qam = function (sceneId) {
|
|
59512
|
+
return 'EARN_POINTS' === sceneId;
|
|
59513
|
+
};
|
|
59514
|
+
protoOf(TakeAllRemainingCardsMechanicAction).d77 = function () {
|
|
59515
|
+
return this.k9f_1;
|
|
59516
|
+
};
|
|
59517
|
+
protoOf(TakeAllRemainingCardsMechanicAction).toString = function () {
|
|
59518
|
+
return 'TakeAllRemainingCardsMechanicAction(currentTurnPlayerId=' + this.k9f_1 + ', playersCards=' + toString(this.l9f_1) + ', aid=' + this.m9f_1 + ')';
|
|
59519
|
+
};
|
|
59520
|
+
protoOf(TakeAllRemainingCardsMechanicAction).hashCode = function () {
|
|
59521
|
+
var result = getStringHashCode(this.k9f_1);
|
|
59522
|
+
result = imul(result, 31) + hashCode(this.l9f_1) | 0;
|
|
59523
|
+
result = imul(result, 31) + (this.m9f_1 == null ? 0 : getStringHashCode(this.m9f_1)) | 0;
|
|
59524
|
+
return result;
|
|
59525
|
+
};
|
|
59526
|
+
protoOf(TakeAllRemainingCardsMechanicAction).equals = function (other) {
|
|
59527
|
+
if (this === other)
|
|
59528
|
+
return true;
|
|
59529
|
+
if (!(other instanceof TakeAllRemainingCardsMechanicAction))
|
|
59530
|
+
return false;
|
|
59531
|
+
if (!(this.k9f_1 === other.k9f_1))
|
|
59532
|
+
return false;
|
|
59533
|
+
if (!equals(this.l9f_1, other.l9f_1))
|
|
59534
|
+
return false;
|
|
59535
|
+
if (!(this.m9f_1 == other.m9f_1))
|
|
59536
|
+
return false;
|
|
59537
|
+
return true;
|
|
59538
|
+
};
|
|
59539
59539
|
function PlayerTurnAnswerAction() {
|
|
59540
59540
|
}
|
|
59541
59541
|
function getPlayerTurn(_this__u8e3s4, players) {
|
|
@@ -69951,12 +69951,6 @@
|
|
|
69951
69951
|
defineProp(protoOf(PutCardMechanicAction), 'actionTag', function () {
|
|
69952
69952
|
return this.f7i();
|
|
69953
69953
|
});
|
|
69954
|
-
defineProp(protoOf(TakeAllRemainingCardsMechanicAction), 'playerId', function () {
|
|
69955
|
-
return this.d77();
|
|
69956
|
-
});
|
|
69957
|
-
defineProp(protoOf(TakeAllRemainingCardsMechanicAction), 'actionTag', function () {
|
|
69958
|
-
return this.f7i();
|
|
69959
|
-
});
|
|
69960
69954
|
defineProp(protoOf(SuitChoiceMechanicAction), 'playerId', function () {
|
|
69961
69955
|
return this.d77();
|
|
69962
69956
|
});
|
|
@@ -69981,6 +69975,12 @@
|
|
|
69981
69975
|
defineProp(protoOf(PlayerReadyMechanicAction), 'actionTag', function () {
|
|
69982
69976
|
return this.f7i();
|
|
69983
69977
|
});
|
|
69978
|
+
defineProp(protoOf(TakeAllRemainingCardsMechanicAction), 'playerId', function () {
|
|
69979
|
+
return this.d77();
|
|
69980
|
+
});
|
|
69981
|
+
defineProp(protoOf(TakeAllRemainingCardsMechanicAction), 'actionTag', function () {
|
|
69982
|
+
return this.f7i();
|
|
69983
|
+
});
|
|
69984
69984
|
protoOf(SceneLifecycleAction).f7i = get_actionTag;
|
|
69985
69985
|
defineProp(protoOf(SceneLifecycleAction), 'actionTag', function () {
|
|
69986
69986
|
return this.f7i();
|