raspberry_games_engine_helpers 1.8.417 → 1.8.418
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-engine.js
CHANGED
|
@@ -796,15 +796,15 @@
|
|
|
796
796
|
initMetadataForClass(ClearAction, 'ClearAction', VOID, VOID, [Action, NotValidateIfGameFinished]);
|
|
797
797
|
initMetadataForClass(FromClientActionPayloadProvider, 'FromClientActionPayloadProvider');
|
|
798
798
|
initMetadataForClass(FromClientAction, 'FromClientAction', VOID, VOID, [Action]);
|
|
799
|
-
initMetadataForClass(PartnerSelectedFromClientAction, 'PartnerSelectedFromClientAction', VOID, FromClientAction, [FromClientAction,
|
|
800
|
-
initMetadataForClass(PlayerReadyFromClientAction, 'PlayerReadyFromClientAction', VOID, FromClientAction, [FromClientAction,
|
|
801
|
-
initMetadataForClass(SuitChoiceFromClientAction, 'SuitChoiceFromClientAction', VOID, FromClientAction, [FromClientAction,
|
|
802
|
-
initMetadataForClass(CombinationChoiceFromClientAction, 'CombinationChoiceFromClientAction', VOID, FromClientAction, [FromClientAction,
|
|
803
|
-
initMetadataForClass(CardFromClientAction, 'CardFromClientAction', VOID, FromClientAction, [FromClientAction,
|
|
804
|
-
initMetadataForClass(TakeAllRemainingCardsFromClientAction, 'TakeAllRemainingCardsFromClientAction', VOID, FromClientAction, [FromClientAction,
|
|
799
|
+
initMetadataForClass(PartnerSelectedFromClientAction, 'PartnerSelectedFromClientAction', VOID, FromClientAction, [FromClientAction, Action, PlayerIdContract]);
|
|
800
|
+
initMetadataForClass(PlayerReadyFromClientAction, 'PlayerReadyFromClientAction', VOID, FromClientAction, [FromClientAction, Action, PlayerIdContract]);
|
|
801
|
+
initMetadataForClass(SuitChoiceFromClientAction, 'SuitChoiceFromClientAction', VOID, FromClientAction, [FromClientAction, Action, PlayerIdContract]);
|
|
802
|
+
initMetadataForClass(CombinationChoiceFromClientAction, 'CombinationChoiceFromClientAction', VOID, FromClientAction, [FromClientAction, Action, PlayerIdContract]);
|
|
803
|
+
initMetadataForClass(CardFromClientAction, 'CardFromClientAction', VOID, FromClientAction, [FromClientAction, Action, PlayerIdContract]);
|
|
804
|
+
initMetadataForClass(TakeAllRemainingCardsFromClientAction, 'TakeAllRemainingCardsFromClientAction', VOID, FromClientAction, [FromClientAction, Action, PlayerIdContract]);
|
|
805
805
|
initMetadataForClass(MessageFromClientAction, 'MessageFromClientAction', VOID, FromClientAction);
|
|
806
806
|
initMetadataForClass(ExitFromClientAction, 'ExitFromClientAction', VOID, FromClientAction);
|
|
807
|
-
initMetadataForClass(RequestedCardDecksFromClientAction, 'RequestedCardDecksFromClientAction', VOID, FromClientAction, [FromClientAction,
|
|
807
|
+
initMetadataForClass(RequestedCardDecksFromClientAction, 'RequestedCardDecksFromClientAction', VOID, FromClientAction, [FromClientAction, Action, PlayerIdContract]);
|
|
808
808
|
initMetadataForCompanion(Companion_157);
|
|
809
809
|
initMetadataForClass(ActionDeliveryPayload, 'ActionDeliveryPayload');
|
|
810
810
|
initMetadataForCompanion(Companion_158, VOID, [SerializerFactory]);
|
|
@@ -846,6 +846,7 @@
|
|
|
846
846
|
initMetadataForInterface(PlayerOrderChangeMechanicAction, 'PlayerOrderChangeMechanicAction', VOID, VOID, [Action]);
|
|
847
847
|
initMetadataForClass(StartGameMechanicAction, 'StartGameMechanicAction', VOID, MechanicAction, [MechanicAction, FirstMechanicAction, PlayerOrderChangeMechanicAction]);
|
|
848
848
|
initMetadataForClass(StartNewGameMechanicAction, 'StartNewGameMechanicAction', VOID, MechanicAction);
|
|
849
|
+
initMetadataForClass(ContinueGameMechanicAction, 'ContinueGameMechanicAction', VOID, MechanicAction, [MechanicAction, FirstMechanicAction, PlayerOrderChangeMechanicAction, NotValidateIfGameFinished]);
|
|
849
850
|
initMetadataForCompanion(Companion_159);
|
|
850
851
|
initMetadataForInterface(TerminatedAction, 'TerminatedAction', VOID, VOID, [Action]);
|
|
851
852
|
initMetadataForClass(FinishingGameMechanicAction, 'FinishingGameMechanicAction', VOID, MechanicAction, [MechanicAction, TerminatedAction, NotValidateIfGameFinishing]);
|
|
@@ -855,29 +856,28 @@
|
|
|
855
856
|
initMetadataForClass(TeamsDataMechanicAction, 'TeamsDataMechanicAction', VOID, MechanicAction, [MechanicAction, Action, InterceptableAction, PlayerOrderChangeMechanicAction]);
|
|
856
857
|
initMetadataForClass(PlayerConnectionChangedMechanicAction, 'PlayerConnectionChangedMechanicAction', VOID, MechanicAction, [MechanicAction, NotValidateIfGameFinished]);
|
|
857
858
|
initMetadataForClass(MessageMechanicAction, 'MessageMechanicAction', VOID, MechanicAction, [MechanicAction, IgnoreBufferForAction]);
|
|
858
|
-
initMetadataForClass(ContinueGameMechanicAction, 'ContinueGameMechanicAction', VOID, MechanicAction, [MechanicAction, FirstMechanicAction, PlayerOrderChangeMechanicAction, NotValidateIfGameFinished]);
|
|
859
859
|
initMetadataForClass(RestartGameMechanicAction, 'RestartGameMechanicAction', VOID, MechanicAction, [MechanicAction, InterceptableAction]);
|
|
860
860
|
initMetadataForClass(SceneActMechanicAction, 'SceneActMechanicAction', VOID, MechanicAction, [MechanicAction, NavigationMechanicAction, Action, ReleaseBufferTriggerAction]);
|
|
861
|
-
initMetadataForClass(PlayerReadyMechanicAction, 'PlayerReadyMechanicAction', VOID, MechanicAction, [MechanicAction, Action,
|
|
862
|
-
initMetadataForClass(SuitChoiceMechanicAction, 'SuitChoiceMechanicAction', VOID, MechanicAction, [MechanicAction, Action,
|
|
863
|
-
initMetadataForClass(CombinationChoiceMechanicAction, 'CombinationChoiceMechanicAction', VOID, MechanicAction, [MechanicAction, Action,
|
|
864
|
-
initMetadataForClass(PutCardMechanicAction, 'PutCardMechanicAction', VOID, MechanicAction, [MechanicAction, Action,
|
|
861
|
+
initMetadataForClass(PlayerReadyMechanicAction, 'PlayerReadyMechanicAction', VOID, MechanicAction, [MechanicAction, Action, ReleaseBufferTriggerAction, PlayerIdContract]);
|
|
862
|
+
initMetadataForClass(SuitChoiceMechanicAction, 'SuitChoiceMechanicAction', VOID, MechanicAction, [MechanicAction, Action, ReleaseBufferTriggerAction, PlayerIdContract]);
|
|
863
|
+
initMetadataForClass(CombinationChoiceMechanicAction, 'CombinationChoiceMechanicAction', VOID, MechanicAction, [MechanicAction, Action, ReleaseBufferTriggerAction, PlayerIdContract, InterceptableAction]);
|
|
864
|
+
initMetadataForClass(PutCardMechanicAction, 'PutCardMechanicAction', VOID, MechanicAction, [MechanicAction, Action, ReleaseBufferTriggerAction, PlayerIdContract]);
|
|
865
865
|
initMetadataForClass(TrumpMechanicAction, 'TrumpMechanicAction', VOID, MechanicAction, [MechanicAction, Action, InterceptableAction]);
|
|
866
866
|
initMetadataForClass(PickUpBribeMechanicAction, 'PickUpBribeMechanicAction', VOID, MechanicAction, [MechanicAction, Action, ReleaseBufferTriggerAction, InterceptableAction]);
|
|
867
|
-
initMetadataForClass(TakeAllRemainingCardsMechanicAction, 'TakeAllRemainingCardsMechanicAction', VOID, MechanicAction, [MechanicAction, Action,
|
|
867
|
+
initMetadataForClass(TakeAllRemainingCardsMechanicAction, 'TakeAllRemainingCardsMechanicAction', VOID, MechanicAction, [MechanicAction, Action, ReleaseBufferTriggerAction, PlayerIdContract]);
|
|
868
868
|
initMetadataForClass(WinnerCombinationsMechanicAction, 'WinnerCombinationsMechanicAction', VOID, MechanicAction, [MechanicAction, InterceptableAction]);
|
|
869
869
|
initMetadataForClass(ErrorAction, 'ErrorAction', VOID, MechanicAction, [MechanicAction, NotValidateIfGameFinished]);
|
|
870
870
|
function filterLivePlayers(store, playerIds, includeBots, $super) {
|
|
871
871
|
includeBots = includeBots === VOID ? false : includeBots;
|
|
872
|
-
return $super === VOID ? this.
|
|
872
|
+
return $super === VOID ? this.d45(store, playerIds, includeBots) : $super.d45.call(this, store, playerIds, includeBots);
|
|
873
873
|
}
|
|
874
874
|
function filterLiveDuringGamePlayers(store, playerIds, includeBots, $super) {
|
|
875
875
|
includeBots = includeBots === VOID ? false : includeBots;
|
|
876
|
-
return $super === VOID ? this.
|
|
876
|
+
return $super === VOID ? this.e45(store, playerIds, includeBots) : $super.e45.call(this, store, playerIds, includeBots);
|
|
877
877
|
}
|
|
878
878
|
function createConfig(mode, points, players, timeoutTimeMillis, rulesSetType, rules, isEnableChat, isBotsEnabled, isPrivate, dealerStrategy, transition, league, $super) {
|
|
879
879
|
league = league === VOID ? null : league;
|
|
880
|
-
return $super === VOID ? this.
|
|
880
|
+
return $super === VOID ? this.f45(mode, points, players, timeoutTimeMillis, rulesSetType, rules, isEnableChat, isBotsEnabled, isPrivate, dealerStrategy, transition, league) : $super.f45.call(this, mode, points, players, timeoutTimeMillis, rulesSetType, rules, isEnableChat, isBotsEnabled, isPrivate, dealerStrategy, transition, league);
|
|
881
881
|
}
|
|
882
882
|
initMetadataForInterface(GameHelper, 'GameHelper');
|
|
883
883
|
initMetadataForClass(GameHelperImpl, 'GameHelperImpl', VOID, VOID, [GameHelper]);
|
|
@@ -890,7 +890,7 @@
|
|
|
890
890
|
tmp = existingNicknames;
|
|
891
891
|
}
|
|
892
892
|
existingNicknames = tmp;
|
|
893
|
-
return $super === VOID ? this.
|
|
893
|
+
return $super === VOID ? this.j45(playerId, existingNicknames) : $super.j45.call(this, playerId, existingNicknames);
|
|
894
894
|
}
|
|
895
895
|
initMetadataForInterface(GameResources, 'GameResources');
|
|
896
896
|
initMetadataForCompanion(Companion_160);
|
|
@@ -35273,9 +35273,116 @@
|
|
|
35273
35273
|
return false;
|
|
35274
35274
|
return true;
|
|
35275
35275
|
};
|
|
35276
|
+
function ContinueGameMechanicAction(table, reason, payload, aid) {
|
|
35277
|
+
payload = payload === VOID ? null : payload;
|
|
35278
|
+
aid = aid === VOID ? null : aid;
|
|
35279
|
+
MechanicAction.call(this);
|
|
35280
|
+
this.table = table;
|
|
35281
|
+
this.reason = reason;
|
|
35282
|
+
this.payload = payload;
|
|
35283
|
+
this.g42_1 = aid;
|
|
35284
|
+
}
|
|
35285
|
+
protoOf(ContinueGameMechanicAction).v2e = function () {
|
|
35286
|
+
return this.table;
|
|
35287
|
+
};
|
|
35288
|
+
protoOf(ContinueGameMechanicAction).x1p = function () {
|
|
35289
|
+
return this.reason;
|
|
35290
|
+
};
|
|
35291
|
+
protoOf(ContinueGameMechanicAction).i1q = function () {
|
|
35292
|
+
return this.payload;
|
|
35293
|
+
};
|
|
35294
|
+
protoOf(ContinueGameMechanicAction).u40 = function () {
|
|
35295
|
+
return this.g42_1;
|
|
35296
|
+
};
|
|
35297
|
+
protoOf(ContinueGameMechanicAction).j16 = function () {
|
|
35298
|
+
return this.table.id;
|
|
35299
|
+
};
|
|
35300
|
+
protoOf(ContinueGameMechanicAction).a3x = function () {
|
|
35301
|
+
// Inline function 'kotlin.collections.map' call
|
|
35302
|
+
var this_0 = this.table.players;
|
|
35303
|
+
// Inline function 'kotlin.collections.mapTo' call
|
|
35304
|
+
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_0, 10));
|
|
35305
|
+
var _iterator__ex2g4s = this_0.l();
|
|
35306
|
+
while (_iterator__ex2g4s.m()) {
|
|
35307
|
+
var item = _iterator__ex2g4s.n();
|
|
35308
|
+
var tmp$ret$0 = item.c2m_1;
|
|
35309
|
+
destination.j(tmp$ret$0);
|
|
35310
|
+
}
|
|
35311
|
+
return destination;
|
|
35312
|
+
};
|
|
35313
|
+
protoOf(ContinueGameMechanicAction).v41 = function () {
|
|
35314
|
+
// Inline function 'kotlin.collections.map' call
|
|
35315
|
+
var this_0 = this.users;
|
|
35316
|
+
// Inline function 'kotlin.collections.mapTo' call
|
|
35317
|
+
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_0, 10));
|
|
35318
|
+
var _iterator__ex2g4s = this_0.l();
|
|
35319
|
+
while (_iterator__ex2g4s.m()) {
|
|
35320
|
+
var item = _iterator__ex2g4s.n();
|
|
35321
|
+
var tmp$ret$0 = item.d1q_1;
|
|
35322
|
+
destination.j(tmp$ret$0);
|
|
35323
|
+
}
|
|
35324
|
+
// Inline function 'kotlin.collections.toTypedArray' call
|
|
35325
|
+
return copyToArray(destination);
|
|
35326
|
+
};
|
|
35327
|
+
protoOf(ContinueGameMechanicAction).u41 = function () {
|
|
35328
|
+
return getGameCreator(this.table.players).playerId;
|
|
35329
|
+
};
|
|
35330
|
+
protoOf(ContinueGameMechanicAction).k17 = function () {
|
|
35331
|
+
return this.table.version;
|
|
35332
|
+
};
|
|
35333
|
+
protoOf(ContinueGameMechanicAction).n3w = function () {
|
|
35334
|
+
return this.table.config;
|
|
35335
|
+
};
|
|
35336
|
+
protoOf(ContinueGameMechanicAction).toString = function () {
|
|
35337
|
+
return 'ContinueGameMechanicAction(reason = ' + toString(this.reason) + ', aid = ' + this.g42_1 + ')';
|
|
35338
|
+
};
|
|
35339
|
+
protoOf(ContinueGameMechanicAction).sc = function () {
|
|
35340
|
+
return this.table;
|
|
35341
|
+
};
|
|
35342
|
+
protoOf(ContinueGameMechanicAction).tc = function () {
|
|
35343
|
+
return this.reason;
|
|
35344
|
+
};
|
|
35345
|
+
protoOf(ContinueGameMechanicAction).ei = function () {
|
|
35346
|
+
return this.payload;
|
|
35347
|
+
};
|
|
35348
|
+
protoOf(ContinueGameMechanicAction).u16 = function () {
|
|
35349
|
+
return this.g42_1;
|
|
35350
|
+
};
|
|
35351
|
+
protoOf(ContinueGameMechanicAction).h42 = function (table, reason, payload, aid) {
|
|
35352
|
+
return new ContinueGameMechanicAction(table, reason, payload, aid);
|
|
35353
|
+
};
|
|
35354
|
+
protoOf(ContinueGameMechanicAction).copy = function (table, reason, payload, aid, $super) {
|
|
35355
|
+
table = table === VOID ? this.table : table;
|
|
35356
|
+
reason = reason === VOID ? this.reason : reason;
|
|
35357
|
+
payload = payload === VOID ? this.payload : payload;
|
|
35358
|
+
aid = aid === VOID ? this.g42_1 : aid;
|
|
35359
|
+
return $super === VOID ? this.h42(table, reason, payload, aid) : $super.h42.call(this, table, reason, payload, aid);
|
|
35360
|
+
};
|
|
35361
|
+
protoOf(ContinueGameMechanicAction).hashCode = function () {
|
|
35362
|
+
var result = this.table.hashCode();
|
|
35363
|
+
result = imul(result, 31) + hashCode(this.reason) | 0;
|
|
35364
|
+
result = imul(result, 31) + (this.payload == null ? 0 : hashCode(this.payload)) | 0;
|
|
35365
|
+
result = imul(result, 31) + (this.g42_1 == null ? 0 : getStringHashCode(this.g42_1)) | 0;
|
|
35366
|
+
return result;
|
|
35367
|
+
};
|
|
35368
|
+
protoOf(ContinueGameMechanicAction).equals = function (other) {
|
|
35369
|
+
if (this === other)
|
|
35370
|
+
return true;
|
|
35371
|
+
if (!(other instanceof ContinueGameMechanicAction))
|
|
35372
|
+
return false;
|
|
35373
|
+
if (!this.table.equals(other.table))
|
|
35374
|
+
return false;
|
|
35375
|
+
if (!equals(this.reason, other.reason))
|
|
35376
|
+
return false;
|
|
35377
|
+
if (!equals(this.payload, other.payload))
|
|
35378
|
+
return false;
|
|
35379
|
+
if (!(this.g42_1 == other.g42_1))
|
|
35380
|
+
return false;
|
|
35381
|
+
return true;
|
|
35382
|
+
};
|
|
35276
35383
|
function Companion_159() {
|
|
35277
35384
|
}
|
|
35278
|
-
protoOf(Companion_159).
|
|
35385
|
+
protoOf(Companion_159).i42 = function (reason, isGameFinished, table, transition) {
|
|
35279
35386
|
var tmp4_sessionAnalytics = table == null ? null : mapGameSessionAnalytics(table);
|
|
35280
35387
|
var tmp5_gameHistory = table == null ? null : table.gameHistory;
|
|
35281
35388
|
var tmp;
|
|
@@ -35290,7 +35397,7 @@
|
|
|
35290
35397
|
};
|
|
35291
35398
|
protoOf(Companion_159).fromTableWithAnalytics = function (reason, isGameFinished, table, transition, $super) {
|
|
35292
35399
|
transition = transition === VOID ? null : transition;
|
|
35293
|
-
return $super === VOID ? this.
|
|
35400
|
+
return $super === VOID ? this.i42(reason, isGameFinished, table, transition) : $super.i42.call(this, reason, isGameFinished, table, transition);
|
|
35294
35401
|
};
|
|
35295
35402
|
protoOf(Companion_159).fromTable = function (table) {
|
|
35296
35403
|
var tmp2_reason = ProcessingReason_getInstance();
|
|
@@ -35308,37 +35415,37 @@
|
|
|
35308
35415
|
isRoundHistorySaved = isRoundHistorySaved === VOID ? true : isRoundHistorySaved;
|
|
35309
35416
|
aid = aid === VOID ? null : aid;
|
|
35310
35417
|
MechanicAction.call(this);
|
|
35311
|
-
this.
|
|
35312
|
-
this.
|
|
35313
|
-
this.
|
|
35418
|
+
this.j42_1 = reason;
|
|
35419
|
+
this.k42_1 = isGameFinished;
|
|
35420
|
+
this.l42_1 = transition;
|
|
35314
35421
|
this.sessionAnalytics = sessionAnalytics;
|
|
35315
35422
|
this.gameHistory = gameHistory;
|
|
35316
35423
|
this.isRoundHistorySaved = isRoundHistorySaved;
|
|
35317
|
-
this.
|
|
35424
|
+
this.m42_1 = aid;
|
|
35318
35425
|
}
|
|
35319
35426
|
protoOf(FinishingGameMechanicAction).x1p = function () {
|
|
35320
|
-
return this.
|
|
35427
|
+
return this.j42_1;
|
|
35321
35428
|
};
|
|
35322
35429
|
protoOf(FinishingGameMechanicAction).e3x = function () {
|
|
35323
|
-
return this.
|
|
35430
|
+
return this.k42_1;
|
|
35324
35431
|
};
|
|
35325
35432
|
protoOf(FinishingGameMechanicAction).r40 = function () {
|
|
35326
|
-
return this.
|
|
35433
|
+
return this.l42_1;
|
|
35327
35434
|
};
|
|
35328
|
-
protoOf(FinishingGameMechanicAction).
|
|
35435
|
+
protoOf(FinishingGameMechanicAction).n42 = function () {
|
|
35329
35436
|
return this.sessionAnalytics;
|
|
35330
35437
|
};
|
|
35331
35438
|
protoOf(FinishingGameMechanicAction).v3w = function () {
|
|
35332
35439
|
return this.gameHistory;
|
|
35333
35440
|
};
|
|
35334
|
-
protoOf(FinishingGameMechanicAction).
|
|
35441
|
+
protoOf(FinishingGameMechanicAction).o42 = function () {
|
|
35335
35442
|
return this.isRoundHistorySaved;
|
|
35336
35443
|
};
|
|
35337
35444
|
protoOf(FinishingGameMechanicAction).u40 = function () {
|
|
35338
|
-
return this.
|
|
35445
|
+
return this.m42_1;
|
|
35339
35446
|
};
|
|
35340
35447
|
protoOf(FinishingGameMechanicAction).toString = function () {
|
|
35341
|
-
var tmp = 'reason=' + toString(this.
|
|
35448
|
+
var tmp = 'reason=' + toString(this.j42_1);
|
|
35342
35449
|
// Inline function 'kotlin.takeIf' call
|
|
35343
35450
|
var this_0 = 'sessionAnalytics=' + toString_0(this.sessionAnalytics);
|
|
35344
35451
|
var tmp_0;
|
|
@@ -35349,9 +35456,9 @@
|
|
|
35349
35456
|
}
|
|
35350
35457
|
var tmp_1 = tmp_0;
|
|
35351
35458
|
// Inline function 'kotlin.takeIf' call
|
|
35352
|
-
var this_1 = 'isGameFinished=' + this.
|
|
35459
|
+
var this_1 = 'isGameFinished=' + this.k42_1;
|
|
35353
35460
|
var tmp_2;
|
|
35354
|
-
if (this.
|
|
35461
|
+
if (this.k42_1) {
|
|
35355
35462
|
tmp_2 = this_1;
|
|
35356
35463
|
} else {
|
|
35357
35464
|
tmp_2 = null;
|
|
@@ -35367,18 +35474,18 @@
|
|
|
35367
35474
|
}
|
|
35368
35475
|
var tmp_5 = tmp_4;
|
|
35369
35476
|
// Inline function 'kotlin.takeIf' call
|
|
35370
|
-
var this_3 = 'transition=' + toString_0(this.
|
|
35477
|
+
var this_3 = 'transition=' + toString_0(this.l42_1);
|
|
35371
35478
|
var tmp_6;
|
|
35372
|
-
if (!(this.
|
|
35479
|
+
if (!(this.l42_1 == null)) {
|
|
35373
35480
|
tmp_6 = this_3;
|
|
35374
35481
|
} else {
|
|
35375
35482
|
tmp_6 = null;
|
|
35376
35483
|
}
|
|
35377
35484
|
var tmp_7 = tmp_6;
|
|
35378
35485
|
// Inline function 'kotlin.takeIf' call
|
|
35379
|
-
var this_4 = 'aid=' + this.
|
|
35486
|
+
var this_4 = 'aid=' + this.m42_1;
|
|
35380
35487
|
var tmp_8;
|
|
35381
|
-
if (!(this.
|
|
35488
|
+
if (!(this.m42_1 == null)) {
|
|
35382
35489
|
tmp_8 = this_4;
|
|
35383
35490
|
} else {
|
|
35384
35491
|
tmp_8 = null;
|
|
@@ -35387,13 +35494,13 @@
|
|
|
35387
35494
|
return 'FinishingGameMechanicAction(' + joinToString(listOfNotNull([tmp, tmp_1, tmp_3, tmp_5, tmp_7, tmp$ret$9])) + ')';
|
|
35388
35495
|
};
|
|
35389
35496
|
protoOf(FinishingGameMechanicAction).sc = function () {
|
|
35390
|
-
return this.
|
|
35497
|
+
return this.j42_1;
|
|
35391
35498
|
};
|
|
35392
35499
|
protoOf(FinishingGameMechanicAction).tc = function () {
|
|
35393
|
-
return this.
|
|
35500
|
+
return this.k42_1;
|
|
35394
35501
|
};
|
|
35395
35502
|
protoOf(FinishingGameMechanicAction).ei = function () {
|
|
35396
|
-
return this.
|
|
35503
|
+
return this.l42_1;
|
|
35397
35504
|
};
|
|
35398
35505
|
protoOf(FinishingGameMechanicAction).u16 = function () {
|
|
35399
35506
|
return this.sessionAnalytics;
|
|
@@ -35405,29 +35512,29 @@
|
|
|
35405
35512
|
return this.isRoundHistorySaved;
|
|
35406
35513
|
};
|
|
35407
35514
|
protoOf(FinishingGameMechanicAction).l1q = function () {
|
|
35408
|
-
return this.
|
|
35515
|
+
return this.m42_1;
|
|
35409
35516
|
};
|
|
35410
|
-
protoOf(FinishingGameMechanicAction).
|
|
35517
|
+
protoOf(FinishingGameMechanicAction).p42 = function (reason, isGameFinished, transition, sessionAnalytics, gameHistory, isRoundHistorySaved, aid) {
|
|
35411
35518
|
return new FinishingGameMechanicAction(reason, isGameFinished, transition, sessionAnalytics, gameHistory, isRoundHistorySaved, aid);
|
|
35412
35519
|
};
|
|
35413
35520
|
protoOf(FinishingGameMechanicAction).copy = function (reason, isGameFinished, transition, sessionAnalytics, gameHistory, isRoundHistorySaved, aid, $super) {
|
|
35414
|
-
reason = reason === VOID ? this.
|
|
35415
|
-
isGameFinished = isGameFinished === VOID ? this.
|
|
35416
|
-
transition = transition === VOID ? this.
|
|
35521
|
+
reason = reason === VOID ? this.j42_1 : reason;
|
|
35522
|
+
isGameFinished = isGameFinished === VOID ? this.k42_1 : isGameFinished;
|
|
35523
|
+
transition = transition === VOID ? this.l42_1 : transition;
|
|
35417
35524
|
sessionAnalytics = sessionAnalytics === VOID ? this.sessionAnalytics : sessionAnalytics;
|
|
35418
35525
|
gameHistory = gameHistory === VOID ? this.gameHistory : gameHistory;
|
|
35419
35526
|
isRoundHistorySaved = isRoundHistorySaved === VOID ? this.isRoundHistorySaved : isRoundHistorySaved;
|
|
35420
|
-
aid = aid === VOID ? this.
|
|
35421
|
-
return $super === VOID ? this.
|
|
35527
|
+
aid = aid === VOID ? this.m42_1 : aid;
|
|
35528
|
+
return $super === VOID ? this.p42(reason, isGameFinished, transition, sessionAnalytics, gameHistory, isRoundHistorySaved, aid) : $super.p42.call(this, reason, isGameFinished, transition, sessionAnalytics, gameHistory, isRoundHistorySaved, aid);
|
|
35422
35529
|
};
|
|
35423
35530
|
protoOf(FinishingGameMechanicAction).hashCode = function () {
|
|
35424
|
-
var result = hashCode(this.
|
|
35425
|
-
result = imul(result, 31) + getBooleanHashCode(this.
|
|
35426
|
-
result = imul(result, 31) + (this.
|
|
35531
|
+
var result = hashCode(this.j42_1);
|
|
35532
|
+
result = imul(result, 31) + getBooleanHashCode(this.k42_1) | 0;
|
|
35533
|
+
result = imul(result, 31) + (this.l42_1 == null ? 0 : hashCode(this.l42_1)) | 0;
|
|
35427
35534
|
result = imul(result, 31) + (this.sessionAnalytics == null ? 0 : this.sessionAnalytics.hashCode()) | 0;
|
|
35428
35535
|
result = imul(result, 31) + (this.gameHistory == null ? 0 : this.gameHistory.hashCode()) | 0;
|
|
35429
35536
|
result = imul(result, 31) + getBooleanHashCode(this.isRoundHistorySaved) | 0;
|
|
35430
|
-
result = imul(result, 31) + (this.
|
|
35537
|
+
result = imul(result, 31) + (this.m42_1 == null ? 0 : getStringHashCode(this.m42_1)) | 0;
|
|
35431
35538
|
return result;
|
|
35432
35539
|
};
|
|
35433
35540
|
protoOf(FinishingGameMechanicAction).equals = function (other) {
|
|
@@ -35435,11 +35542,11 @@
|
|
|
35435
35542
|
return true;
|
|
35436
35543
|
if (!(other instanceof FinishingGameMechanicAction))
|
|
35437
35544
|
return false;
|
|
35438
|
-
if (!equals(this.
|
|
35545
|
+
if (!equals(this.j42_1, other.j42_1))
|
|
35439
35546
|
return false;
|
|
35440
|
-
if (!(this.
|
|
35547
|
+
if (!(this.k42_1 === other.k42_1))
|
|
35441
35548
|
return false;
|
|
35442
|
-
if (!equals(this.
|
|
35549
|
+
if (!equals(this.l42_1, other.l42_1))
|
|
35443
35550
|
return false;
|
|
35444
35551
|
if (!equals(this.sessionAnalytics, other.sessionAnalytics))
|
|
35445
35552
|
return false;
|
|
@@ -35447,7 +35554,7 @@
|
|
|
35447
35554
|
return false;
|
|
35448
35555
|
if (!(this.isRoundHistorySaved === other.isRoundHistorySaved))
|
|
35449
35556
|
return false;
|
|
35450
|
-
if (!(this.
|
|
35557
|
+
if (!(this.m42_1 == other.m42_1))
|
|
35451
35558
|
return false;
|
|
35452
35559
|
return true;
|
|
35453
35560
|
};
|
|
@@ -35455,47 +35562,47 @@
|
|
|
35455
35562
|
aid = aid === VOID ? null : aid;
|
|
35456
35563
|
transition = transition === VOID ? null : transition;
|
|
35457
35564
|
MechanicAction.call(this);
|
|
35458
|
-
this.
|
|
35459
|
-
this.
|
|
35460
|
-
this.
|
|
35461
|
-
this.
|
|
35565
|
+
this.q42_1 = reason;
|
|
35566
|
+
this.r42_1 = isGameFinished;
|
|
35567
|
+
this.s42_1 = aid;
|
|
35568
|
+
this.t42_1 = transition;
|
|
35462
35569
|
}
|
|
35463
35570
|
protoOf(FinishGameMechanicAction).x1p = function () {
|
|
35464
|
-
return this.
|
|
35571
|
+
return this.q42_1;
|
|
35465
35572
|
};
|
|
35466
35573
|
protoOf(FinishGameMechanicAction).e3x = function () {
|
|
35467
|
-
return this.
|
|
35574
|
+
return this.r42_1;
|
|
35468
35575
|
};
|
|
35469
35576
|
protoOf(FinishGameMechanicAction).u40 = function () {
|
|
35470
|
-
return this.
|
|
35577
|
+
return this.s42_1;
|
|
35471
35578
|
};
|
|
35472
35579
|
protoOf(FinishGameMechanicAction).r40 = function () {
|
|
35473
|
-
return this.
|
|
35580
|
+
return this.t42_1;
|
|
35474
35581
|
};
|
|
35475
35582
|
protoOf(FinishGameMechanicAction).toString = function () {
|
|
35476
|
-
var tmp = 'reason=' + toString(this.
|
|
35583
|
+
var tmp = 'reason=' + toString(this.q42_1);
|
|
35477
35584
|
// Inline function 'kotlin.takeIf' call
|
|
35478
|
-
var this_0 = 'isGameFinished=' + this.
|
|
35585
|
+
var this_0 = 'isGameFinished=' + this.r42_1;
|
|
35479
35586
|
var tmp_0;
|
|
35480
|
-
if (this.
|
|
35587
|
+
if (this.r42_1) {
|
|
35481
35588
|
tmp_0 = this_0;
|
|
35482
35589
|
} else {
|
|
35483
35590
|
tmp_0 = null;
|
|
35484
35591
|
}
|
|
35485
35592
|
var tmp_1 = tmp_0;
|
|
35486
35593
|
// Inline function 'kotlin.takeIf' call
|
|
35487
|
-
var this_1 = 'hasTransition=' + !(this.
|
|
35594
|
+
var this_1 = 'hasTransition=' + !(this.t42_1 == null);
|
|
35488
35595
|
var tmp_2;
|
|
35489
|
-
if (!(this.
|
|
35596
|
+
if (!(this.t42_1 == null)) {
|
|
35490
35597
|
tmp_2 = this_1;
|
|
35491
35598
|
} else {
|
|
35492
35599
|
tmp_2 = null;
|
|
35493
35600
|
}
|
|
35494
35601
|
var tmp_3 = tmp_2;
|
|
35495
35602
|
// Inline function 'kotlin.takeIf' call
|
|
35496
|
-
var this_2 = 'aid=' + this.
|
|
35603
|
+
var this_2 = 'aid=' + this.s42_1;
|
|
35497
35604
|
var tmp_4;
|
|
35498
|
-
if (!(this.
|
|
35605
|
+
if (!(this.s42_1 == null)) {
|
|
35499
35606
|
tmp_4 = this_2;
|
|
35500
35607
|
} else {
|
|
35501
35608
|
tmp_4 = null;
|
|
@@ -35504,32 +35611,32 @@
|
|
|
35504
35611
|
return 'FinishGameMechanicAction(' + joinToString(listOfNotNull([tmp, tmp_1, tmp_3, tmp$ret$5])) + ')';
|
|
35505
35612
|
};
|
|
35506
35613
|
protoOf(FinishGameMechanicAction).sc = function () {
|
|
35507
|
-
return this.
|
|
35614
|
+
return this.q42_1;
|
|
35508
35615
|
};
|
|
35509
35616
|
protoOf(FinishGameMechanicAction).tc = function () {
|
|
35510
|
-
return this.
|
|
35617
|
+
return this.r42_1;
|
|
35511
35618
|
};
|
|
35512
35619
|
protoOf(FinishGameMechanicAction).ei = function () {
|
|
35513
|
-
return this.
|
|
35620
|
+
return this.s42_1;
|
|
35514
35621
|
};
|
|
35515
35622
|
protoOf(FinishGameMechanicAction).u16 = function () {
|
|
35516
|
-
return this.
|
|
35623
|
+
return this.t42_1;
|
|
35517
35624
|
};
|
|
35518
|
-
protoOf(FinishGameMechanicAction).
|
|
35625
|
+
protoOf(FinishGameMechanicAction).u42 = function (reason, isGameFinished, aid, transition) {
|
|
35519
35626
|
return new FinishGameMechanicAction(reason, isGameFinished, aid, transition);
|
|
35520
35627
|
};
|
|
35521
35628
|
protoOf(FinishGameMechanicAction).copy = function (reason, isGameFinished, aid, transition, $super) {
|
|
35522
|
-
reason = reason === VOID ? this.
|
|
35523
|
-
isGameFinished = isGameFinished === VOID ? this.
|
|
35524
|
-
aid = aid === VOID ? this.
|
|
35525
|
-
transition = transition === VOID ? this.
|
|
35526
|
-
return $super === VOID ? this.
|
|
35629
|
+
reason = reason === VOID ? this.q42_1 : reason;
|
|
35630
|
+
isGameFinished = isGameFinished === VOID ? this.r42_1 : isGameFinished;
|
|
35631
|
+
aid = aid === VOID ? this.s42_1 : aid;
|
|
35632
|
+
transition = transition === VOID ? this.t42_1 : transition;
|
|
35633
|
+
return $super === VOID ? this.u42(reason, isGameFinished, aid, transition) : $super.u42.call(this, reason, isGameFinished, aid, transition);
|
|
35527
35634
|
};
|
|
35528
35635
|
protoOf(FinishGameMechanicAction).hashCode = function () {
|
|
35529
|
-
var result = hashCode(this.
|
|
35530
|
-
result = imul(result, 31) + getBooleanHashCode(this.
|
|
35531
|
-
result = imul(result, 31) + (this.
|
|
35532
|
-
result = imul(result, 31) + (this.
|
|
35636
|
+
var result = hashCode(this.q42_1);
|
|
35637
|
+
result = imul(result, 31) + getBooleanHashCode(this.r42_1) | 0;
|
|
35638
|
+
result = imul(result, 31) + (this.s42_1 == null ? 0 : getStringHashCode(this.s42_1)) | 0;
|
|
35639
|
+
result = imul(result, 31) + (this.t42_1 == null ? 0 : hashCode(this.t42_1)) | 0;
|
|
35533
35640
|
return result;
|
|
35534
35641
|
};
|
|
35535
35642
|
protoOf(FinishGameMechanicAction).equals = function (other) {
|
|
@@ -35537,13 +35644,13 @@
|
|
|
35537
35644
|
return true;
|
|
35538
35645
|
if (!(other instanceof FinishGameMechanicAction))
|
|
35539
35646
|
return false;
|
|
35540
|
-
if (!equals(this.
|
|
35647
|
+
if (!equals(this.q42_1, other.q42_1))
|
|
35541
35648
|
return false;
|
|
35542
|
-
if (!(this.
|
|
35649
|
+
if (!(this.r42_1 === other.r42_1))
|
|
35543
35650
|
return false;
|
|
35544
|
-
if (!(this.
|
|
35651
|
+
if (!(this.s42_1 == other.s42_1))
|
|
35545
35652
|
return false;
|
|
35546
|
-
if (!equals(this.
|
|
35653
|
+
if (!equals(this.t42_1, other.t42_1))
|
|
35547
35654
|
return false;
|
|
35548
35655
|
return true;
|
|
35549
35656
|
};
|
|
@@ -35555,40 +35662,40 @@
|
|
|
35555
35662
|
actData = actData === VOID ? null : actData;
|
|
35556
35663
|
aid = aid === VOID ? null : aid;
|
|
35557
35664
|
MechanicAction.call(this);
|
|
35558
|
-
this.
|
|
35559
|
-
this.
|
|
35560
|
-
this.
|
|
35665
|
+
this.w42_1 = currentTurnPlayerId;
|
|
35666
|
+
this.x42_1 = sceneId;
|
|
35667
|
+
this.y42_1 = actId;
|
|
35561
35668
|
this.sceneData = sceneData;
|
|
35562
|
-
this.
|
|
35563
|
-
this.
|
|
35669
|
+
this.z42_1 = actData;
|
|
35670
|
+
this.a43_1 = aid;
|
|
35564
35671
|
}
|
|
35565
|
-
protoOf(SceneMechanicAction).
|
|
35566
|
-
return this.
|
|
35672
|
+
protoOf(SceneMechanicAction).b43 = function () {
|
|
35673
|
+
return this.w42_1;
|
|
35567
35674
|
};
|
|
35568
35675
|
protoOf(SceneMechanicAction).o2t = function () {
|
|
35569
|
-
return this.
|
|
35676
|
+
return this.x42_1;
|
|
35570
35677
|
};
|
|
35571
35678
|
protoOf(SceneMechanicAction).w2s = function () {
|
|
35572
|
-
return this.
|
|
35679
|
+
return this.y42_1;
|
|
35573
35680
|
};
|
|
35574
|
-
protoOf(SceneMechanicAction).
|
|
35681
|
+
protoOf(SceneMechanicAction).c43 = function () {
|
|
35575
35682
|
return this.sceneData;
|
|
35576
35683
|
};
|
|
35577
|
-
protoOf(SceneMechanicAction).
|
|
35578
|
-
return this.
|
|
35684
|
+
protoOf(SceneMechanicAction).v42 = function () {
|
|
35685
|
+
return this.z42_1;
|
|
35579
35686
|
};
|
|
35580
35687
|
protoOf(SceneMechanicAction).u40 = function () {
|
|
35581
|
-
return this.
|
|
35688
|
+
return this.a43_1;
|
|
35582
35689
|
};
|
|
35583
35690
|
protoOf(SceneMechanicAction).ignoreValidation = function () {
|
|
35584
|
-
return this.
|
|
35691
|
+
return this.x42_1 === 'WAITING';
|
|
35585
35692
|
};
|
|
35586
35693
|
protoOf(SceneMechanicAction).toString = function () {
|
|
35587
|
-
var tmp = "sceneId='" + this.
|
|
35694
|
+
var tmp = "sceneId='" + this.x42_1 + "'";
|
|
35588
35695
|
// Inline function 'kotlin.takeIf' call
|
|
35589
|
-
var this_0 = 'actId=' + this.
|
|
35696
|
+
var this_0 = 'actId=' + this.y42_1;
|
|
35590
35697
|
var tmp_0;
|
|
35591
|
-
if (!(this.
|
|
35698
|
+
if (!(this.y42_1 == null)) {
|
|
35592
35699
|
tmp_0 = this_0;
|
|
35593
35700
|
} else {
|
|
35594
35701
|
tmp_0 = null;
|
|
@@ -35604,18 +35711,18 @@
|
|
|
35604
35711
|
}
|
|
35605
35712
|
var tmp_3 = tmp_2;
|
|
35606
35713
|
// Inline function 'kotlin.takeIf' call
|
|
35607
|
-
var this_2 = 'actData=' + toString_0(this.
|
|
35714
|
+
var this_2 = 'actData=' + toString_0(this.z42_1);
|
|
35608
35715
|
var tmp_4;
|
|
35609
|
-
if (!(this.
|
|
35716
|
+
if (!(this.z42_1 == null)) {
|
|
35610
35717
|
tmp_4 = this_2;
|
|
35611
35718
|
} else {
|
|
35612
35719
|
tmp_4 = null;
|
|
35613
35720
|
}
|
|
35614
35721
|
var tmp_5 = tmp_4;
|
|
35615
35722
|
// Inline function 'kotlin.takeIf' call
|
|
35616
|
-
var this_3 = 'aid=' + this.
|
|
35723
|
+
var this_3 = 'aid=' + this.a43_1;
|
|
35617
35724
|
var tmp_6;
|
|
35618
|
-
if (!(this.
|
|
35725
|
+
if (!(this.a43_1 == null)) {
|
|
35619
35726
|
tmp_6 = this_3;
|
|
35620
35727
|
} else {
|
|
35621
35728
|
tmp_6 = null;
|
|
@@ -35623,20 +35730,20 @@
|
|
|
35623
35730
|
var tmp$ret$7 = tmp_6;
|
|
35624
35731
|
return 'SceneMechanicAction(' + joinToString(listOfNotNull([tmp, tmp_1, tmp_3, tmp_5, tmp$ret$7])) + ')';
|
|
35625
35732
|
};
|
|
35626
|
-
protoOf(SceneMechanicAction).
|
|
35733
|
+
protoOf(SceneMechanicAction).d43 = function () {
|
|
35627
35734
|
var tmp = this.sceneData;
|
|
35628
35735
|
if (!(tmp == null) ? isInterface(tmp, PlayerTurnSceneSupport) : false) {
|
|
35629
35736
|
return this.sceneData.x2s();
|
|
35630
35737
|
}
|
|
35631
|
-
var tmp_0 = this.
|
|
35738
|
+
var tmp_0 = this.z42_1;
|
|
35632
35739
|
if (!(tmp_0 == null) ? isInterface(tmp_0, PlayerTurnSceneSupport) : false) {
|
|
35633
|
-
return this.
|
|
35740
|
+
return this.z42_1.x2s();
|
|
35634
35741
|
}
|
|
35635
35742
|
return emptyList();
|
|
35636
35743
|
};
|
|
35637
35744
|
protoOf(SceneMechanicAction).o1p = function () {
|
|
35638
35745
|
// Inline function 'kotlin.requireNotNull' call
|
|
35639
|
-
var tmp0 = this.
|
|
35746
|
+
var tmp0 = this.w42_1;
|
|
35640
35747
|
var tmp$ret$1;
|
|
35641
35748
|
$l$block: {
|
|
35642
35749
|
// Inline function 'kotlin.requireNotNull' call
|
|
@@ -35651,42 +35758,42 @@
|
|
|
35651
35758
|
return tmp$ret$1;
|
|
35652
35759
|
};
|
|
35653
35760
|
protoOf(SceneMechanicAction).sc = function () {
|
|
35654
|
-
return this.
|
|
35761
|
+
return this.w42_1;
|
|
35655
35762
|
};
|
|
35656
35763
|
protoOf(SceneMechanicAction).tc = function () {
|
|
35657
|
-
return this.
|
|
35764
|
+
return this.x42_1;
|
|
35658
35765
|
};
|
|
35659
35766
|
protoOf(SceneMechanicAction).ei = function () {
|
|
35660
|
-
return this.
|
|
35767
|
+
return this.y42_1;
|
|
35661
35768
|
};
|
|
35662
35769
|
protoOf(SceneMechanicAction).u16 = function () {
|
|
35663
35770
|
return this.sceneData;
|
|
35664
35771
|
};
|
|
35665
35772
|
protoOf(SceneMechanicAction).j1q = function () {
|
|
35666
|
-
return this.
|
|
35773
|
+
return this.z42_1;
|
|
35667
35774
|
};
|
|
35668
35775
|
protoOf(SceneMechanicAction).k1q = function () {
|
|
35669
|
-
return this.
|
|
35776
|
+
return this.a43_1;
|
|
35670
35777
|
};
|
|
35671
|
-
protoOf(SceneMechanicAction).
|
|
35778
|
+
protoOf(SceneMechanicAction).e43 = function (currentTurnPlayerId, sceneId, actId, sceneData, actData, aid) {
|
|
35672
35779
|
return new SceneMechanicAction(currentTurnPlayerId, sceneId, actId, sceneData, actData, aid);
|
|
35673
35780
|
};
|
|
35674
35781
|
protoOf(SceneMechanicAction).copy = function (currentTurnPlayerId, sceneId, actId, sceneData, actData, aid, $super) {
|
|
35675
|
-
currentTurnPlayerId = currentTurnPlayerId === VOID ? this.
|
|
35676
|
-
sceneId = sceneId === VOID ? this.
|
|
35677
|
-
actId = actId === VOID ? this.
|
|
35782
|
+
currentTurnPlayerId = currentTurnPlayerId === VOID ? this.w42_1 : currentTurnPlayerId;
|
|
35783
|
+
sceneId = sceneId === VOID ? this.x42_1 : sceneId;
|
|
35784
|
+
actId = actId === VOID ? this.y42_1 : actId;
|
|
35678
35785
|
sceneData = sceneData === VOID ? this.sceneData : sceneData;
|
|
35679
|
-
actData = actData === VOID ? this.
|
|
35680
|
-
aid = aid === VOID ? this.
|
|
35681
|
-
return $super === VOID ? this.
|
|
35786
|
+
actData = actData === VOID ? this.z42_1 : actData;
|
|
35787
|
+
aid = aid === VOID ? this.a43_1 : aid;
|
|
35788
|
+
return $super === VOID ? this.e43(currentTurnPlayerId, sceneId, actId, sceneData, actData, aid) : $super.e43.call(this, currentTurnPlayerId, sceneId, actId, sceneData, actData, aid);
|
|
35682
35789
|
};
|
|
35683
35790
|
protoOf(SceneMechanicAction).hashCode = function () {
|
|
35684
|
-
var result = this.
|
|
35685
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
35686
|
-
result = imul(result, 31) + (this.w42_1 == null ? 0 : getStringHashCode(this.w42_1)) | 0;
|
|
35687
|
-
result = imul(result, 31) + (this.sceneData == null ? 0 : hashCode(this.sceneData)) | 0;
|
|
35688
|
-
result = imul(result, 31) + (this.x42_1 == null ? 0 : hashCode(this.x42_1)) | 0;
|
|
35791
|
+
var result = this.w42_1 == null ? 0 : getStringHashCode(this.w42_1);
|
|
35792
|
+
result = imul(result, 31) + getStringHashCode(this.x42_1) | 0;
|
|
35689
35793
|
result = imul(result, 31) + (this.y42_1 == null ? 0 : getStringHashCode(this.y42_1)) | 0;
|
|
35794
|
+
result = imul(result, 31) + (this.sceneData == null ? 0 : hashCode(this.sceneData)) | 0;
|
|
35795
|
+
result = imul(result, 31) + (this.z42_1 == null ? 0 : hashCode(this.z42_1)) | 0;
|
|
35796
|
+
result = imul(result, 31) + (this.a43_1 == null ? 0 : getStringHashCode(this.a43_1)) | 0;
|
|
35690
35797
|
return result;
|
|
35691
35798
|
};
|
|
35692
35799
|
protoOf(SceneMechanicAction).equals = function (other) {
|
|
@@ -35694,17 +35801,17 @@
|
|
|
35694
35801
|
return true;
|
|
35695
35802
|
if (!(other instanceof SceneMechanicAction))
|
|
35696
35803
|
return false;
|
|
35697
|
-
if (!(this.
|
|
35804
|
+
if (!(this.w42_1 == other.w42_1))
|
|
35698
35805
|
return false;
|
|
35699
|
-
if (!(this.
|
|
35806
|
+
if (!(this.x42_1 === other.x42_1))
|
|
35700
35807
|
return false;
|
|
35701
|
-
if (!(this.
|
|
35808
|
+
if (!(this.y42_1 == other.y42_1))
|
|
35702
35809
|
return false;
|
|
35703
35810
|
if (!equals(this.sceneData, other.sceneData))
|
|
35704
35811
|
return false;
|
|
35705
|
-
if (!equals(this.
|
|
35812
|
+
if (!equals(this.z42_1, other.z42_1))
|
|
35706
35813
|
return false;
|
|
35707
|
-
if (!(this.
|
|
35814
|
+
if (!(this.a43_1 == other.a43_1))
|
|
35708
35815
|
return false;
|
|
35709
35816
|
return true;
|
|
35710
35817
|
};
|
|
@@ -35715,26 +35822,26 @@
|
|
|
35715
35822
|
MechanicAction.call(this);
|
|
35716
35823
|
this.team1 = team1;
|
|
35717
35824
|
this.team2 = team2;
|
|
35718
|
-
this.
|
|
35825
|
+
this.f43_1 = aid;
|
|
35719
35826
|
var tmp = this;
|
|
35720
35827
|
// Inline function 'kotlin.arrayOf' call
|
|
35721
35828
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
35722
35829
|
// Inline function 'kotlin.js.asDynamic' call
|
|
35723
|
-
tmp.
|
|
35830
|
+
tmp.g43_1 = [this.team1.first, this.team2.first, this.team1.second, this.team2.second];
|
|
35724
35831
|
}
|
|
35725
|
-
protoOf(TeamsDataMechanicAction).
|
|
35832
|
+
protoOf(TeamsDataMechanicAction).h43 = function () {
|
|
35726
35833
|
return this.team1;
|
|
35727
35834
|
};
|
|
35728
|
-
protoOf(TeamsDataMechanicAction).
|
|
35835
|
+
protoOf(TeamsDataMechanicAction).i43 = function () {
|
|
35729
35836
|
return this.team2;
|
|
35730
35837
|
};
|
|
35731
35838
|
protoOf(TeamsDataMechanicAction).u40 = function () {
|
|
35732
|
-
return this.
|
|
35839
|
+
return this.f43_1;
|
|
35733
35840
|
};
|
|
35734
35841
|
protoOf(TeamsDataMechanicAction).v41 = function () {
|
|
35735
|
-
return this.
|
|
35842
|
+
return this.g43_1;
|
|
35736
35843
|
};
|
|
35737
|
-
protoOf(TeamsDataMechanicAction).
|
|
35844
|
+
protoOf(TeamsDataMechanicAction).j43 = function (sceneId) {
|
|
35738
35845
|
return 'CHOOSE_PARTNER' === sceneId;
|
|
35739
35846
|
};
|
|
35740
35847
|
protoOf(TeamsDataMechanicAction).l1v = function () {
|
|
@@ -35784,24 +35891,24 @@
|
|
|
35784
35891
|
return this.team2;
|
|
35785
35892
|
};
|
|
35786
35893
|
protoOf(TeamsDataMechanicAction).ei = function () {
|
|
35787
|
-
return this.
|
|
35894
|
+
return this.f43_1;
|
|
35788
35895
|
};
|
|
35789
|
-
protoOf(TeamsDataMechanicAction).
|
|
35896
|
+
protoOf(TeamsDataMechanicAction).k43 = function (team1, team2, aid) {
|
|
35790
35897
|
return new TeamsDataMechanicAction(team1, team2, aid);
|
|
35791
35898
|
};
|
|
35792
35899
|
protoOf(TeamsDataMechanicAction).copy = function (team1, team2, aid, $super) {
|
|
35793
35900
|
team1 = team1 === VOID ? this.team1 : team1;
|
|
35794
35901
|
team2 = team2 === VOID ? this.team2 : team2;
|
|
35795
|
-
aid = aid === VOID ? this.
|
|
35796
|
-
return $super === VOID ? this.
|
|
35902
|
+
aid = aid === VOID ? this.f43_1 : aid;
|
|
35903
|
+
return $super === VOID ? this.k43(team1, team2, aid) : $super.k43.call(this, team1, team2, aid);
|
|
35797
35904
|
};
|
|
35798
35905
|
protoOf(TeamsDataMechanicAction).toString = function () {
|
|
35799
|
-
return 'TeamsDataMechanicAction(team1=' + this.team1.toString() + ', team2=' + this.team2.toString() + ', aid=' + this.
|
|
35906
|
+
return 'TeamsDataMechanicAction(team1=' + this.team1.toString() + ', team2=' + this.team2.toString() + ', aid=' + this.f43_1 + ')';
|
|
35800
35907
|
};
|
|
35801
35908
|
protoOf(TeamsDataMechanicAction).hashCode = function () {
|
|
35802
35909
|
var result = this.team1.hashCode();
|
|
35803
35910
|
result = imul(result, 31) + this.team2.hashCode() | 0;
|
|
35804
|
-
result = imul(result, 31) + (this.
|
|
35911
|
+
result = imul(result, 31) + (this.f43_1 == null ? 0 : getStringHashCode(this.f43_1)) | 0;
|
|
35805
35912
|
return result;
|
|
35806
35913
|
};
|
|
35807
35914
|
protoOf(TeamsDataMechanicAction).equals = function (other) {
|
|
@@ -35813,7 +35920,7 @@
|
|
|
35813
35920
|
return false;
|
|
35814
35921
|
if (!this.team2.equals(other.team2))
|
|
35815
35922
|
return false;
|
|
35816
|
-
if (!(this.
|
|
35923
|
+
if (!(this.f43_1 == other.f43_1))
|
|
35817
35924
|
return false;
|
|
35818
35925
|
return true;
|
|
35819
35926
|
};
|
|
@@ -35828,7 +35935,7 @@
|
|
|
35828
35935
|
this.causeState = causeState;
|
|
35829
35936
|
this.isNoneActivePlayers = isNoneActivePlayers;
|
|
35830
35937
|
this.reconnectUntilTime = reconnectUntilTime;
|
|
35831
|
-
this.
|
|
35938
|
+
this.l43_1 = aid;
|
|
35832
35939
|
}
|
|
35833
35940
|
protoOf(PlayerConnectionChangedMechanicAction).o1p = function () {
|
|
35834
35941
|
return this.playerId;
|
|
@@ -35836,19 +35943,19 @@
|
|
|
35836
35943
|
protoOf(PlayerConnectionChangedMechanicAction).p1q = function () {
|
|
35837
35944
|
return this.state;
|
|
35838
35945
|
};
|
|
35839
|
-
protoOf(PlayerConnectionChangedMechanicAction).
|
|
35946
|
+
protoOf(PlayerConnectionChangedMechanicAction).m43 = function () {
|
|
35840
35947
|
return this.causeState;
|
|
35841
35948
|
};
|
|
35842
|
-
protoOf(PlayerConnectionChangedMechanicAction).
|
|
35949
|
+
protoOf(PlayerConnectionChangedMechanicAction).n43 = function () {
|
|
35843
35950
|
return this.isNoneActivePlayers;
|
|
35844
35951
|
};
|
|
35845
|
-
protoOf(PlayerConnectionChangedMechanicAction).
|
|
35952
|
+
protoOf(PlayerConnectionChangedMechanicAction).o43 = function () {
|
|
35846
35953
|
return this.reconnectUntilTime;
|
|
35847
35954
|
};
|
|
35848
35955
|
protoOf(PlayerConnectionChangedMechanicAction).u40 = function () {
|
|
35849
|
-
return this.
|
|
35956
|
+
return this.l43_1;
|
|
35850
35957
|
};
|
|
35851
|
-
protoOf(PlayerConnectionChangedMechanicAction).
|
|
35958
|
+
protoOf(PlayerConnectionChangedMechanicAction).p43 = function () {
|
|
35852
35959
|
var tmp;
|
|
35853
35960
|
if (this.state.isDisconnecting) {
|
|
35854
35961
|
tmp = (!(this.causeState == null) && this.causeState.isClientDisconnectReason);
|
|
@@ -35891,9 +35998,9 @@
|
|
|
35891
35998
|
}
|
|
35892
35999
|
var tmp_6 = tmp_5;
|
|
35893
36000
|
// Inline function 'kotlin.takeIf' call
|
|
35894
|
-
var this_3 = 'aid=' + this.
|
|
36001
|
+
var this_3 = 'aid=' + this.l43_1;
|
|
35895
36002
|
var tmp_7;
|
|
35896
|
-
if (!(this.
|
|
36003
|
+
if (!(this.l43_1 == null)) {
|
|
35897
36004
|
tmp_7 = this_3;
|
|
35898
36005
|
} else {
|
|
35899
36006
|
tmp_7 = null;
|
|
@@ -35917,9 +36024,9 @@
|
|
|
35917
36024
|
return this.reconnectUntilTime;
|
|
35918
36025
|
};
|
|
35919
36026
|
protoOf(PlayerConnectionChangedMechanicAction).k1q = function () {
|
|
35920
|
-
return this.
|
|
36027
|
+
return this.l43_1;
|
|
35921
36028
|
};
|
|
35922
|
-
protoOf(PlayerConnectionChangedMechanicAction).
|
|
36029
|
+
protoOf(PlayerConnectionChangedMechanicAction).q43 = function (playerId, state, causeState, isNoneActivePlayers, reconnectUntilTime, aid) {
|
|
35923
36030
|
return new PlayerConnectionChangedMechanicAction(playerId, state, causeState, isNoneActivePlayers, reconnectUntilTime, aid);
|
|
35924
36031
|
};
|
|
35925
36032
|
protoOf(PlayerConnectionChangedMechanicAction).copy = function (playerId, state, causeState, isNoneActivePlayers, reconnectUntilTime, aid, $super) {
|
|
@@ -35928,8 +36035,8 @@
|
|
|
35928
36035
|
causeState = causeState === VOID ? this.causeState : causeState;
|
|
35929
36036
|
isNoneActivePlayers = isNoneActivePlayers === VOID ? this.isNoneActivePlayers : isNoneActivePlayers;
|
|
35930
36037
|
reconnectUntilTime = reconnectUntilTime === VOID ? this.reconnectUntilTime : reconnectUntilTime;
|
|
35931
|
-
aid = aid === VOID ? this.
|
|
35932
|
-
return $super === VOID ? this.
|
|
36038
|
+
aid = aid === VOID ? this.l43_1 : aid;
|
|
36039
|
+
return $super === VOID ? this.q43(playerId, state, causeState, isNoneActivePlayers, reconnectUntilTime, aid) : $super.q43.call(this, playerId, state, causeState, isNoneActivePlayers, reconnectUntilTime, aid);
|
|
35933
36040
|
};
|
|
35934
36041
|
protoOf(PlayerConnectionChangedMechanicAction).hashCode = function () {
|
|
35935
36042
|
var result = getStringHashCode(this.playerId);
|
|
@@ -35937,7 +36044,7 @@
|
|
|
35937
36044
|
result = imul(result, 31) + (this.causeState == null ? 0 : this.causeState.hashCode()) | 0;
|
|
35938
36045
|
result = imul(result, 31) + getBooleanHashCode(this.isNoneActivePlayers) | 0;
|
|
35939
36046
|
result = imul(result, 31) + (this.reconnectUntilTime == null ? 0 : getStringHashCode(this.reconnectUntilTime)) | 0;
|
|
35940
|
-
result = imul(result, 31) + (this.
|
|
36047
|
+
result = imul(result, 31) + (this.l43_1 == null ? 0 : getStringHashCode(this.l43_1)) | 0;
|
|
35941
36048
|
return result;
|
|
35942
36049
|
};
|
|
35943
36050
|
protoOf(PlayerConnectionChangedMechanicAction).equals = function (other) {
|
|
@@ -35955,7 +36062,7 @@
|
|
|
35955
36062
|
return false;
|
|
35956
36063
|
if (!(this.reconnectUntilTime == other.reconnectUntilTime))
|
|
35957
36064
|
return false;
|
|
35958
|
-
if (!(this.
|
|
36065
|
+
if (!(this.l43_1 == other.l43_1))
|
|
35959
36066
|
return false;
|
|
35960
36067
|
return true;
|
|
35961
36068
|
};
|
|
@@ -35963,34 +36070,34 @@
|
|
|
35963
36070
|
aid = aid === VOID ? null : aid;
|
|
35964
36071
|
MechanicAction.call(this);
|
|
35965
36072
|
this.message = message;
|
|
35966
|
-
this.
|
|
36073
|
+
this.r43_1 = aid;
|
|
35967
36074
|
}
|
|
35968
36075
|
protoOf(MessageMechanicAction).e = function () {
|
|
35969
36076
|
return this.message;
|
|
35970
36077
|
};
|
|
35971
36078
|
protoOf(MessageMechanicAction).u40 = function () {
|
|
35972
|
-
return this.
|
|
36079
|
+
return this.r43_1;
|
|
35973
36080
|
};
|
|
35974
36081
|
protoOf(MessageMechanicAction).sc = function () {
|
|
35975
36082
|
return this.message;
|
|
35976
36083
|
};
|
|
35977
36084
|
protoOf(MessageMechanicAction).tc = function () {
|
|
35978
|
-
return this.
|
|
36085
|
+
return this.r43_1;
|
|
35979
36086
|
};
|
|
35980
|
-
protoOf(MessageMechanicAction).
|
|
36087
|
+
protoOf(MessageMechanicAction).s43 = function (message, aid) {
|
|
35981
36088
|
return new MessageMechanicAction(message, aid);
|
|
35982
36089
|
};
|
|
35983
36090
|
protoOf(MessageMechanicAction).copy = function (message, aid, $super) {
|
|
35984
36091
|
message = message === VOID ? this.message : message;
|
|
35985
|
-
aid = aid === VOID ? this.
|
|
35986
|
-
return $super === VOID ? this.
|
|
36092
|
+
aid = aid === VOID ? this.r43_1 : aid;
|
|
36093
|
+
return $super === VOID ? this.s43(message, aid) : $super.s43.call(this, message, aid);
|
|
35987
36094
|
};
|
|
35988
36095
|
protoOf(MessageMechanicAction).toString = function () {
|
|
35989
|
-
return 'MessageMechanicAction(message=' + toString(this.message) + ', aid=' + this.
|
|
36096
|
+
return 'MessageMechanicAction(message=' + toString(this.message) + ', aid=' + this.r43_1 + ')';
|
|
35990
36097
|
};
|
|
35991
36098
|
protoOf(MessageMechanicAction).hashCode = function () {
|
|
35992
36099
|
var result = hashCode(this.message);
|
|
35993
|
-
result = imul(result, 31) + (this.
|
|
36100
|
+
result = imul(result, 31) + (this.r43_1 == null ? 0 : getStringHashCode(this.r43_1)) | 0;
|
|
35994
36101
|
return result;
|
|
35995
36102
|
};
|
|
35996
36103
|
protoOf(MessageMechanicAction).equals = function (other) {
|
|
@@ -36000,101 +36107,25 @@
|
|
|
36000
36107
|
return false;
|
|
36001
36108
|
if (!equals(this.message, other.message))
|
|
36002
36109
|
return false;
|
|
36003
|
-
if (!(this.
|
|
36004
|
-
return false;
|
|
36005
|
-
return true;
|
|
36006
|
-
};
|
|
36007
|
-
function ContinueGameMechanicAction(table, reason, payload, aid) {
|
|
36008
|
-
payload = payload === VOID ? null : payload;
|
|
36009
|
-
aid = aid === VOID ? null : aid;
|
|
36010
|
-
MechanicAction.call(this);
|
|
36011
|
-
this.r43_1 = table;
|
|
36012
|
-
this.s43_1 = reason;
|
|
36013
|
-
this.t43_1 = payload;
|
|
36014
|
-
this.u43_1 = aid;
|
|
36015
|
-
}
|
|
36016
|
-
protoOf(ContinueGameMechanicAction).u40 = function () {
|
|
36017
|
-
return this.u43_1;
|
|
36018
|
-
};
|
|
36019
|
-
protoOf(ContinueGameMechanicAction).j16 = function () {
|
|
36020
|
-
return this.r43_1.id;
|
|
36021
|
-
};
|
|
36022
|
-
protoOf(ContinueGameMechanicAction).a3x = function () {
|
|
36023
|
-
// Inline function 'kotlin.collections.map' call
|
|
36024
|
-
var this_0 = this.r43_1.players;
|
|
36025
|
-
// Inline function 'kotlin.collections.mapTo' call
|
|
36026
|
-
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_0, 10));
|
|
36027
|
-
var _iterator__ex2g4s = this_0.l();
|
|
36028
|
-
while (_iterator__ex2g4s.m()) {
|
|
36029
|
-
var item = _iterator__ex2g4s.n();
|
|
36030
|
-
var tmp$ret$0 = item.c2m_1;
|
|
36031
|
-
destination.j(tmp$ret$0);
|
|
36032
|
-
}
|
|
36033
|
-
return destination;
|
|
36034
|
-
};
|
|
36035
|
-
protoOf(ContinueGameMechanicAction).v41 = function () {
|
|
36036
|
-
// Inline function 'kotlin.collections.map' call
|
|
36037
|
-
var this_0 = this.users;
|
|
36038
|
-
// Inline function 'kotlin.collections.mapTo' call
|
|
36039
|
-
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_0, 10));
|
|
36040
|
-
var _iterator__ex2g4s = this_0.l();
|
|
36041
|
-
while (_iterator__ex2g4s.m()) {
|
|
36042
|
-
var item = _iterator__ex2g4s.n();
|
|
36043
|
-
var tmp$ret$0 = item.d1q_1;
|
|
36044
|
-
destination.j(tmp$ret$0);
|
|
36045
|
-
}
|
|
36046
|
-
// Inline function 'kotlin.collections.toTypedArray' call
|
|
36047
|
-
return copyToArray(destination);
|
|
36048
|
-
};
|
|
36049
|
-
protoOf(ContinueGameMechanicAction).u41 = function () {
|
|
36050
|
-
return getGameCreator(this.r43_1.players).playerId;
|
|
36051
|
-
};
|
|
36052
|
-
protoOf(ContinueGameMechanicAction).k17 = function () {
|
|
36053
|
-
return this.r43_1.version;
|
|
36054
|
-
};
|
|
36055
|
-
protoOf(ContinueGameMechanicAction).n3w = function () {
|
|
36056
|
-
return this.r43_1.config;
|
|
36057
|
-
};
|
|
36058
|
-
protoOf(ContinueGameMechanicAction).toString = function () {
|
|
36059
|
-
return 'ContinueGameMechanicAction(reason = ' + toString(this.s43_1) + ', aid = ' + this.u43_1 + ')';
|
|
36060
|
-
};
|
|
36061
|
-
protoOf(ContinueGameMechanicAction).hashCode = function () {
|
|
36062
|
-
var result = this.r43_1.hashCode();
|
|
36063
|
-
result = imul(result, 31) + hashCode(this.s43_1) | 0;
|
|
36064
|
-
result = imul(result, 31) + (this.t43_1 == null ? 0 : hashCode(this.t43_1)) | 0;
|
|
36065
|
-
result = imul(result, 31) + (this.u43_1 == null ? 0 : getStringHashCode(this.u43_1)) | 0;
|
|
36066
|
-
return result;
|
|
36067
|
-
};
|
|
36068
|
-
protoOf(ContinueGameMechanicAction).equals = function (other) {
|
|
36069
|
-
if (this === other)
|
|
36070
|
-
return true;
|
|
36071
|
-
if (!(other instanceof ContinueGameMechanicAction))
|
|
36072
|
-
return false;
|
|
36073
|
-
if (!this.r43_1.equals(other.r43_1))
|
|
36074
|
-
return false;
|
|
36075
|
-
if (!equals(this.s43_1, other.s43_1))
|
|
36076
|
-
return false;
|
|
36077
|
-
if (!equals(this.t43_1, other.t43_1))
|
|
36078
|
-
return false;
|
|
36079
|
-
if (!(this.u43_1 == other.u43_1))
|
|
36110
|
+
if (!(this.r43_1 == other.r43_1))
|
|
36080
36111
|
return false;
|
|
36081
36112
|
return true;
|
|
36082
36113
|
};
|
|
36083
36114
|
function RestartGameMechanicAction(reason, aid) {
|
|
36084
36115
|
aid = aid === VOID ? null : aid;
|
|
36085
36116
|
MechanicAction.call(this);
|
|
36086
|
-
this.
|
|
36087
|
-
this.
|
|
36117
|
+
this.t43_1 = reason;
|
|
36118
|
+
this.u43_1 = aid;
|
|
36088
36119
|
}
|
|
36089
36120
|
protoOf(RestartGameMechanicAction).u40 = function () {
|
|
36090
|
-
return this.
|
|
36121
|
+
return this.u43_1;
|
|
36091
36122
|
};
|
|
36092
36123
|
protoOf(RestartGameMechanicAction).toString = function () {
|
|
36093
|
-
return 'RestartGameMechanicAction(reason=' + this.
|
|
36124
|
+
return 'RestartGameMechanicAction(reason=' + this.t43_1.toString() + ', aid=' + this.u43_1 + ')';
|
|
36094
36125
|
};
|
|
36095
36126
|
protoOf(RestartGameMechanicAction).hashCode = function () {
|
|
36096
|
-
var result = this.
|
|
36097
|
-
result = imul(result, 31) + (this.
|
|
36127
|
+
var result = this.t43_1.hashCode();
|
|
36128
|
+
result = imul(result, 31) + (this.u43_1 == null ? 0 : getStringHashCode(this.u43_1)) | 0;
|
|
36098
36129
|
return result;
|
|
36099
36130
|
};
|
|
36100
36131
|
protoOf(RestartGameMechanicAction).equals = function (other) {
|
|
@@ -36102,9 +36133,9 @@
|
|
|
36102
36133
|
return true;
|
|
36103
36134
|
if (!(other instanceof RestartGameMechanicAction))
|
|
36104
36135
|
return false;
|
|
36105
|
-
if (!this.
|
|
36136
|
+
if (!this.t43_1.equals(other.t43_1))
|
|
36106
36137
|
return false;
|
|
36107
|
-
if (!(this.
|
|
36138
|
+
if (!(this.u43_1 == other.u43_1))
|
|
36108
36139
|
return false;
|
|
36109
36140
|
return true;
|
|
36110
36141
|
};
|
|
@@ -36112,31 +36143,31 @@
|
|
|
36112
36143
|
actData = actData === VOID ? null : actData;
|
|
36113
36144
|
aid = aid === VOID ? null : aid;
|
|
36114
36145
|
MechanicAction.call(this);
|
|
36115
|
-
this.
|
|
36116
|
-
this.
|
|
36117
|
-
this.
|
|
36118
|
-
this.
|
|
36146
|
+
this.v43_1 = sceneId;
|
|
36147
|
+
this.w43_1 = actId;
|
|
36148
|
+
this.x43_1 = actData;
|
|
36149
|
+
this.y43_1 = aid;
|
|
36119
36150
|
}
|
|
36120
36151
|
protoOf(SceneActMechanicAction).o2t = function () {
|
|
36121
|
-
return this.
|
|
36152
|
+
return this.v43_1;
|
|
36122
36153
|
};
|
|
36123
36154
|
protoOf(SceneActMechanicAction).w2s = function () {
|
|
36124
|
-
return this.
|
|
36155
|
+
return this.w43_1;
|
|
36125
36156
|
};
|
|
36126
|
-
protoOf(SceneActMechanicAction).
|
|
36127
|
-
return this.
|
|
36157
|
+
protoOf(SceneActMechanicAction).v42 = function () {
|
|
36158
|
+
return this.x43_1;
|
|
36128
36159
|
};
|
|
36129
36160
|
protoOf(SceneActMechanicAction).u40 = function () {
|
|
36130
|
-
return this.
|
|
36161
|
+
return this.y43_1;
|
|
36131
36162
|
};
|
|
36132
36163
|
protoOf(SceneActMechanicAction).toString = function () {
|
|
36133
|
-
return 'SceneActMechanicAction(sceneId=' + this.
|
|
36164
|
+
return 'SceneActMechanicAction(sceneId=' + this.v43_1 + ', actId=' + this.w43_1 + ', actData=' + toString_0(this.x43_1) + ', aid=' + this.y43_1 + ')';
|
|
36134
36165
|
};
|
|
36135
36166
|
protoOf(SceneActMechanicAction).hashCode = function () {
|
|
36136
|
-
var result = getStringHashCode(this.
|
|
36137
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
36138
|
-
result = imul(result, 31) + (this.
|
|
36139
|
-
result = imul(result, 31) + (this.
|
|
36167
|
+
var result = getStringHashCode(this.v43_1);
|
|
36168
|
+
result = imul(result, 31) + getStringHashCode(this.w43_1) | 0;
|
|
36169
|
+
result = imul(result, 31) + (this.x43_1 == null ? 0 : hashCode(this.x43_1)) | 0;
|
|
36170
|
+
result = imul(result, 31) + (this.y43_1 == null ? 0 : getStringHashCode(this.y43_1)) | 0;
|
|
36140
36171
|
return result;
|
|
36141
36172
|
};
|
|
36142
36173
|
protoOf(SceneActMechanicAction).equals = function (other) {
|
|
@@ -36144,34 +36175,34 @@
|
|
|
36144
36175
|
return true;
|
|
36145
36176
|
if (!(other instanceof SceneActMechanicAction))
|
|
36146
36177
|
return false;
|
|
36147
|
-
if (!(this.
|
|
36178
|
+
if (!(this.v43_1 === other.v43_1))
|
|
36148
36179
|
return false;
|
|
36149
|
-
if (!(this.
|
|
36180
|
+
if (!(this.w43_1 === other.w43_1))
|
|
36150
36181
|
return false;
|
|
36151
|
-
if (!equals(this.
|
|
36182
|
+
if (!equals(this.x43_1, other.x43_1))
|
|
36152
36183
|
return false;
|
|
36153
|
-
if (!(this.
|
|
36184
|
+
if (!(this.y43_1 == other.y43_1))
|
|
36154
36185
|
return false;
|
|
36155
36186
|
return true;
|
|
36156
36187
|
};
|
|
36157
36188
|
function PlayerReadyMechanicAction(currentTurnPlayerId, aid) {
|
|
36158
36189
|
aid = aid === VOID ? null : aid;
|
|
36159
36190
|
MechanicAction.call(this);
|
|
36160
|
-
this.
|
|
36161
|
-
this.
|
|
36191
|
+
this.z43_1 = currentTurnPlayerId;
|
|
36192
|
+
this.a44_1 = aid;
|
|
36162
36193
|
}
|
|
36163
36194
|
protoOf(PlayerReadyMechanicAction).u40 = function () {
|
|
36164
|
-
return this.
|
|
36195
|
+
return this.a44_1;
|
|
36165
36196
|
};
|
|
36166
36197
|
protoOf(PlayerReadyMechanicAction).o1p = function () {
|
|
36167
|
-
return this.
|
|
36198
|
+
return this.z43_1;
|
|
36168
36199
|
};
|
|
36169
36200
|
protoOf(PlayerReadyMechanicAction).toString = function () {
|
|
36170
|
-
return 'PlayerReadyMechanicAction(currentTurnPlayerId=' + this.
|
|
36201
|
+
return 'PlayerReadyMechanicAction(currentTurnPlayerId=' + this.z43_1 + ', aid=' + this.a44_1 + ')';
|
|
36171
36202
|
};
|
|
36172
36203
|
protoOf(PlayerReadyMechanicAction).hashCode = function () {
|
|
36173
|
-
var result = getStringHashCode(this.
|
|
36174
|
-
result = imul(result, 31) + (this.
|
|
36204
|
+
var result = getStringHashCode(this.z43_1);
|
|
36205
|
+
result = imul(result, 31) + (this.a44_1 == null ? 0 : getStringHashCode(this.a44_1)) | 0;
|
|
36175
36206
|
return result;
|
|
36176
36207
|
};
|
|
36177
36208
|
protoOf(PlayerReadyMechanicAction).equals = function (other) {
|
|
@@ -36179,9 +36210,9 @@
|
|
|
36179
36210
|
return true;
|
|
36180
36211
|
if (!(other instanceof PlayerReadyMechanicAction))
|
|
36181
36212
|
return false;
|
|
36182
|
-
if (!(this.
|
|
36213
|
+
if (!(this.z43_1 === other.z43_1))
|
|
36183
36214
|
return false;
|
|
36184
|
-
if (!(this.
|
|
36215
|
+
if (!(this.a44_1 == other.a44_1))
|
|
36185
36216
|
return false;
|
|
36186
36217
|
return true;
|
|
36187
36218
|
};
|
|
@@ -36189,27 +36220,27 @@
|
|
|
36189
36220
|
restartRound = restartRound === VOID ? false : restartRound;
|
|
36190
36221
|
aid = aid === VOID ? null : aid;
|
|
36191
36222
|
MechanicAction.call(this);
|
|
36192
|
-
this.
|
|
36193
|
-
this.
|
|
36194
|
-
this.
|
|
36195
|
-
this.
|
|
36196
|
-
this.
|
|
36223
|
+
this.b44_1 = suit;
|
|
36224
|
+
this.c44_1 = restartRound;
|
|
36225
|
+
this.d44_1 = currentTurnPlayerId;
|
|
36226
|
+
this.e44_1 = nextTurnPlayerIds;
|
|
36227
|
+
this.f44_1 = aid;
|
|
36197
36228
|
}
|
|
36198
36229
|
protoOf(SuitChoiceMechanicAction).u40 = function () {
|
|
36199
|
-
return this.
|
|
36230
|
+
return this.f44_1;
|
|
36200
36231
|
};
|
|
36201
36232
|
protoOf(SuitChoiceMechanicAction).o1p = function () {
|
|
36202
|
-
return this.
|
|
36233
|
+
return this.d44_1;
|
|
36203
36234
|
};
|
|
36204
36235
|
protoOf(SuitChoiceMechanicAction).toString = function () {
|
|
36205
|
-
return 'SuitChoiceMechanicAction(suit=' + toString_0(this.
|
|
36236
|
+
return 'SuitChoiceMechanicAction(suit=' + toString_0(this.b44_1) + ', restartRound=' + this.c44_1 + ', currentTurnPlayerId=' + this.d44_1 + ', nextTurnPlayerIds=' + toString(this.e44_1) + ', aid=' + this.f44_1 + ')';
|
|
36206
36237
|
};
|
|
36207
36238
|
protoOf(SuitChoiceMechanicAction).hashCode = function () {
|
|
36208
|
-
var result = this.
|
|
36209
|
-
result = imul(result, 31) + getBooleanHashCode(this.
|
|
36210
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
36211
|
-
result = imul(result, 31) + hashCode(this.
|
|
36212
|
-
result = imul(result, 31) + (this.
|
|
36239
|
+
var result = this.b44_1 == null ? 0 : this.b44_1.hashCode();
|
|
36240
|
+
result = imul(result, 31) + getBooleanHashCode(this.c44_1) | 0;
|
|
36241
|
+
result = imul(result, 31) + getStringHashCode(this.d44_1) | 0;
|
|
36242
|
+
result = imul(result, 31) + hashCode(this.e44_1) | 0;
|
|
36243
|
+
result = imul(result, 31) + (this.f44_1 == null ? 0 : getStringHashCode(this.f44_1)) | 0;
|
|
36213
36244
|
return result;
|
|
36214
36245
|
};
|
|
36215
36246
|
protoOf(SuitChoiceMechanicAction).equals = function (other) {
|
|
@@ -36217,43 +36248,43 @@
|
|
|
36217
36248
|
return true;
|
|
36218
36249
|
if (!(other instanceof SuitChoiceMechanicAction))
|
|
36219
36250
|
return false;
|
|
36220
|
-
if (!equals(this.
|
|
36251
|
+
if (!equals(this.b44_1, other.b44_1))
|
|
36221
36252
|
return false;
|
|
36222
|
-
if (!(this.
|
|
36253
|
+
if (!(this.c44_1 === other.c44_1))
|
|
36223
36254
|
return false;
|
|
36224
|
-
if (!(this.
|
|
36255
|
+
if (!(this.d44_1 === other.d44_1))
|
|
36225
36256
|
return false;
|
|
36226
|
-
if (!equals(this.
|
|
36257
|
+
if (!equals(this.e44_1, other.e44_1))
|
|
36227
36258
|
return false;
|
|
36228
|
-
if (!(this.
|
|
36259
|
+
if (!(this.f44_1 == other.f44_1))
|
|
36229
36260
|
return false;
|
|
36230
36261
|
return true;
|
|
36231
36262
|
};
|
|
36232
36263
|
function CombinationChoiceMechanicAction(isAnnounced, combinations, currentTurnPlayerId, aid) {
|
|
36233
36264
|
aid = aid === VOID ? null : aid;
|
|
36234
36265
|
MechanicAction.call(this);
|
|
36235
|
-
this.
|
|
36236
|
-
this.
|
|
36237
|
-
this.
|
|
36238
|
-
this.
|
|
36266
|
+
this.g44_1 = isAnnounced;
|
|
36267
|
+
this.h44_1 = combinations;
|
|
36268
|
+
this.i44_1 = currentTurnPlayerId;
|
|
36269
|
+
this.j44_1 = aid;
|
|
36239
36270
|
}
|
|
36240
36271
|
protoOf(CombinationChoiceMechanicAction).u40 = function () {
|
|
36241
|
-
return this.
|
|
36272
|
+
return this.j44_1;
|
|
36242
36273
|
};
|
|
36243
36274
|
protoOf(CombinationChoiceMechanicAction).k1v = function () {
|
|
36244
36275
|
return true;
|
|
36245
36276
|
};
|
|
36246
36277
|
protoOf(CombinationChoiceMechanicAction).o1p = function () {
|
|
36247
|
-
return this.
|
|
36278
|
+
return this.i44_1;
|
|
36248
36279
|
};
|
|
36249
36280
|
protoOf(CombinationChoiceMechanicAction).toString = function () {
|
|
36250
|
-
return 'CombinationChoiceMechanicAction(isAnnounced=' + this.
|
|
36281
|
+
return 'CombinationChoiceMechanicAction(isAnnounced=' + this.g44_1 + ', combinations=' + toString(this.h44_1) + ', currentTurnPlayerId=' + this.i44_1 + ', aid=' + this.j44_1 + ')';
|
|
36251
36282
|
};
|
|
36252
36283
|
protoOf(CombinationChoiceMechanicAction).hashCode = function () {
|
|
36253
|
-
var result = getBooleanHashCode(this.
|
|
36254
|
-
result = imul(result, 31) + hashCode(this.
|
|
36255
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
36256
|
-
result = imul(result, 31) + (this.
|
|
36284
|
+
var result = getBooleanHashCode(this.g44_1);
|
|
36285
|
+
result = imul(result, 31) + hashCode(this.h44_1) | 0;
|
|
36286
|
+
result = imul(result, 31) + getStringHashCode(this.i44_1) | 0;
|
|
36287
|
+
result = imul(result, 31) + (this.j44_1 == null ? 0 : getStringHashCode(this.j44_1)) | 0;
|
|
36257
36288
|
return result;
|
|
36258
36289
|
};
|
|
36259
36290
|
protoOf(CombinationChoiceMechanicAction).equals = function (other) {
|
|
@@ -36261,13 +36292,13 @@
|
|
|
36261
36292
|
return true;
|
|
36262
36293
|
if (!(other instanceof CombinationChoiceMechanicAction))
|
|
36263
36294
|
return false;
|
|
36264
|
-
if (!(this.
|
|
36295
|
+
if (!(this.g44_1 === other.g44_1))
|
|
36265
36296
|
return false;
|
|
36266
|
-
if (!equals(this.
|
|
36297
|
+
if (!equals(this.h44_1, other.h44_1))
|
|
36267
36298
|
return false;
|
|
36268
|
-
if (!(this.
|
|
36299
|
+
if (!(this.i44_1 === other.i44_1))
|
|
36269
36300
|
return false;
|
|
36270
|
-
if (!(this.
|
|
36301
|
+
if (!(this.j44_1 == other.j44_1))
|
|
36271
36302
|
return false;
|
|
36272
36303
|
return true;
|
|
36273
36304
|
};
|
|
@@ -36275,36 +36306,36 @@
|
|
|
36275
36306
|
combinations = combinations === VOID ? null : combinations;
|
|
36276
36307
|
aid = aid === VOID ? null : aid;
|
|
36277
36308
|
MechanicAction.call(this);
|
|
36278
|
-
this.
|
|
36279
|
-
this.
|
|
36280
|
-
this.
|
|
36281
|
-
this.
|
|
36282
|
-
this.
|
|
36283
|
-
this.
|
|
36309
|
+
this.k44_1 = card;
|
|
36310
|
+
this.l44_1 = combinations;
|
|
36311
|
+
this.m44_1 = canNextPlayerTakeAllCards;
|
|
36312
|
+
this.n44_1 = currentTurnPlayerId;
|
|
36313
|
+
this.o44_1 = nextTurnPlayerIds;
|
|
36314
|
+
this.p44_1 = aid;
|
|
36284
36315
|
}
|
|
36285
36316
|
protoOf(PutCardMechanicAction).u40 = function () {
|
|
36286
|
-
return this.
|
|
36317
|
+
return this.p44_1;
|
|
36287
36318
|
};
|
|
36288
36319
|
protoOf(PutCardMechanicAction).o1p = function () {
|
|
36289
|
-
return this.
|
|
36320
|
+
return this.n44_1;
|
|
36290
36321
|
};
|
|
36291
36322
|
protoOf(PutCardMechanicAction).toString = function () {
|
|
36292
|
-
var tmp = "currentTurnPlayerId='" + this.
|
|
36323
|
+
var tmp = "currentTurnPlayerId='" + this.n44_1 + "'";
|
|
36293
36324
|
// Inline function 'kotlin.takeIf' call
|
|
36294
|
-
var this_0 = 'nextTurnPlayerIds=' + toString(this.
|
|
36325
|
+
var this_0 = 'nextTurnPlayerIds=' + toString(this.o44_1);
|
|
36295
36326
|
var tmp_0;
|
|
36296
36327
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
36297
|
-
if (!this.
|
|
36328
|
+
if (!this.o44_1.r()) {
|
|
36298
36329
|
tmp_0 = this_0;
|
|
36299
36330
|
} else {
|
|
36300
36331
|
tmp_0 = null;
|
|
36301
36332
|
}
|
|
36302
36333
|
var tmp_1 = tmp_0;
|
|
36303
|
-
var tmp_2 = 'card=' + this.
|
|
36334
|
+
var tmp_2 = 'card=' + this.k44_1.toString();
|
|
36304
36335
|
// Inline function 'kotlin.takeIf' call
|
|
36305
|
-
var this_1 = 'combinations=' + toString_0(this.
|
|
36336
|
+
var this_1 = 'combinations=' + toString_0(this.l44_1);
|
|
36306
36337
|
var tmp_3;
|
|
36307
|
-
var tmp0_safe_receiver = this.
|
|
36338
|
+
var tmp0_safe_receiver = this.l44_1;
|
|
36308
36339
|
var tmp_4;
|
|
36309
36340
|
if (tmp0_safe_receiver == null) {
|
|
36310
36341
|
tmp_4 = null;
|
|
@@ -36319,9 +36350,9 @@
|
|
|
36319
36350
|
}
|
|
36320
36351
|
var tmp_5 = tmp_3;
|
|
36321
36352
|
// Inline function 'kotlin.takeIf' call
|
|
36322
|
-
var this_2 = 'aid=' + this.
|
|
36353
|
+
var this_2 = 'aid=' + this.p44_1;
|
|
36323
36354
|
var tmp_6;
|
|
36324
|
-
if (!(this.
|
|
36355
|
+
if (!(this.p44_1 == null)) {
|
|
36325
36356
|
tmp_6 = this_2;
|
|
36326
36357
|
} else {
|
|
36327
36358
|
tmp_6 = null;
|
|
@@ -36330,12 +36361,12 @@
|
|
|
36330
36361
|
return 'PutCardMechanicAction(' + joinToString(listOfNotNull([tmp, tmp_1, tmp_2, tmp_5, tmp$ret$7])) + ')';
|
|
36331
36362
|
};
|
|
36332
36363
|
protoOf(PutCardMechanicAction).hashCode = function () {
|
|
36333
|
-
var result = this.
|
|
36334
|
-
result = imul(result, 31) + (this.
|
|
36335
|
-
result = imul(result, 31) + getBooleanHashCode(this.
|
|
36336
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
36337
|
-
result = imul(result, 31) + hashCode(this.
|
|
36338
|
-
result = imul(result, 31) + (this.
|
|
36364
|
+
var result = this.k44_1.hashCode();
|
|
36365
|
+
result = imul(result, 31) + (this.l44_1 == null ? 0 : hashCode(this.l44_1)) | 0;
|
|
36366
|
+
result = imul(result, 31) + getBooleanHashCode(this.m44_1) | 0;
|
|
36367
|
+
result = imul(result, 31) + getStringHashCode(this.n44_1) | 0;
|
|
36368
|
+
result = imul(result, 31) + hashCode(this.o44_1) | 0;
|
|
36369
|
+
result = imul(result, 31) + (this.p44_1 == null ? 0 : getStringHashCode(this.p44_1)) | 0;
|
|
36339
36370
|
return result;
|
|
36340
36371
|
};
|
|
36341
36372
|
protoOf(PutCardMechanicAction).equals = function (other) {
|
|
@@ -36343,35 +36374,35 @@
|
|
|
36343
36374
|
return true;
|
|
36344
36375
|
if (!(other instanceof PutCardMechanicAction))
|
|
36345
36376
|
return false;
|
|
36346
|
-
if (!this.
|
|
36377
|
+
if (!this.k44_1.equals(other.k44_1))
|
|
36347
36378
|
return false;
|
|
36348
|
-
if (!equals(this.
|
|
36379
|
+
if (!equals(this.l44_1, other.l44_1))
|
|
36349
36380
|
return false;
|
|
36350
|
-
if (!(this.
|
|
36381
|
+
if (!(this.m44_1 === other.m44_1))
|
|
36351
36382
|
return false;
|
|
36352
|
-
if (!(this.
|
|
36383
|
+
if (!(this.n44_1 === other.n44_1))
|
|
36353
36384
|
return false;
|
|
36354
|
-
if (!equals(this.
|
|
36385
|
+
if (!equals(this.o44_1, other.o44_1))
|
|
36355
36386
|
return false;
|
|
36356
|
-
if (!(this.
|
|
36387
|
+
if (!(this.p44_1 == other.p44_1))
|
|
36357
36388
|
return false;
|
|
36358
36389
|
return true;
|
|
36359
36390
|
};
|
|
36360
36391
|
function TrumpMechanicAction(suit, aid) {
|
|
36361
36392
|
aid = aid === VOID ? null : aid;
|
|
36362
36393
|
MechanicAction.call(this);
|
|
36363
|
-
this.
|
|
36364
|
-
this.
|
|
36394
|
+
this.q44_1 = suit;
|
|
36395
|
+
this.r44_1 = aid;
|
|
36365
36396
|
}
|
|
36366
36397
|
protoOf(TrumpMechanicAction).u40 = function () {
|
|
36367
|
-
return this.
|
|
36398
|
+
return this.r44_1;
|
|
36368
36399
|
};
|
|
36369
36400
|
protoOf(TrumpMechanicAction).toString = function () {
|
|
36370
|
-
return 'TrumpMechanicAction(suit=' + this.
|
|
36401
|
+
return 'TrumpMechanicAction(suit=' + this.q44_1.toString() + ', aid=' + this.r44_1 + ')';
|
|
36371
36402
|
};
|
|
36372
36403
|
protoOf(TrumpMechanicAction).hashCode = function () {
|
|
36373
|
-
var result = this.
|
|
36374
|
-
result = imul(result, 31) + (this.
|
|
36404
|
+
var result = this.q44_1.hashCode();
|
|
36405
|
+
result = imul(result, 31) + (this.r44_1 == null ? 0 : getStringHashCode(this.r44_1)) | 0;
|
|
36375
36406
|
return result;
|
|
36376
36407
|
};
|
|
36377
36408
|
protoOf(TrumpMechanicAction).equals = function (other) {
|
|
@@ -36379,34 +36410,34 @@
|
|
|
36379
36410
|
return true;
|
|
36380
36411
|
if (!(other instanceof TrumpMechanicAction))
|
|
36381
36412
|
return false;
|
|
36382
|
-
if (!this.
|
|
36413
|
+
if (!this.q44_1.equals(other.q44_1))
|
|
36383
36414
|
return false;
|
|
36384
|
-
if (!(this.
|
|
36415
|
+
if (!(this.r44_1 == other.r44_1))
|
|
36385
36416
|
return false;
|
|
36386
36417
|
return true;
|
|
36387
36418
|
};
|
|
36388
36419
|
function PickUpBribeMechanicAction(whoGotBribePlayerId, numberOfBribe, canNextPlayerTakeAllCards, aid) {
|
|
36389
36420
|
aid = aid === VOID ? null : aid;
|
|
36390
36421
|
MechanicAction.call(this);
|
|
36391
|
-
this.
|
|
36392
|
-
this.
|
|
36393
|
-
this.
|
|
36394
|
-
this.
|
|
36422
|
+
this.s44_1 = whoGotBribePlayerId;
|
|
36423
|
+
this.t44_1 = numberOfBribe;
|
|
36424
|
+
this.u44_1 = canNextPlayerTakeAllCards;
|
|
36425
|
+
this.v44_1 = aid;
|
|
36395
36426
|
}
|
|
36396
36427
|
protoOf(PickUpBribeMechanicAction).u40 = function () {
|
|
36397
|
-
return this.
|
|
36428
|
+
return this.v44_1;
|
|
36398
36429
|
};
|
|
36399
36430
|
protoOf(PickUpBribeMechanicAction).k1v = function () {
|
|
36400
36431
|
return true;
|
|
36401
36432
|
};
|
|
36402
36433
|
protoOf(PickUpBribeMechanicAction).toString = function () {
|
|
36403
|
-
return 'PickUpBribeMechanicAction(whoGotBribePlayerId=' + this.
|
|
36434
|
+
return 'PickUpBribeMechanicAction(whoGotBribePlayerId=' + this.s44_1 + ', numberOfBribe=' + this.t44_1 + ', canNextPlayerTakeAllCards=' + this.u44_1 + ', aid=' + this.v44_1 + ')';
|
|
36404
36435
|
};
|
|
36405
36436
|
protoOf(PickUpBribeMechanicAction).hashCode = function () {
|
|
36406
|
-
var result = getStringHashCode(this.
|
|
36407
|
-
result = imul(result, 31) + this.
|
|
36408
|
-
result = imul(result, 31) + getBooleanHashCode(this.
|
|
36409
|
-
result = imul(result, 31) + (this.
|
|
36437
|
+
var result = getStringHashCode(this.s44_1);
|
|
36438
|
+
result = imul(result, 31) + this.t44_1 | 0;
|
|
36439
|
+
result = imul(result, 31) + getBooleanHashCode(this.u44_1) | 0;
|
|
36440
|
+
result = imul(result, 31) + (this.v44_1 == null ? 0 : getStringHashCode(this.v44_1)) | 0;
|
|
36410
36441
|
return result;
|
|
36411
36442
|
};
|
|
36412
36443
|
protoOf(PickUpBribeMechanicAction).equals = function (other) {
|
|
@@ -36414,36 +36445,36 @@
|
|
|
36414
36445
|
return true;
|
|
36415
36446
|
if (!(other instanceof PickUpBribeMechanicAction))
|
|
36416
36447
|
return false;
|
|
36417
|
-
if (!(this.
|
|
36448
|
+
if (!(this.s44_1 === other.s44_1))
|
|
36418
36449
|
return false;
|
|
36419
|
-
if (!(this.
|
|
36450
|
+
if (!(this.t44_1 === other.t44_1))
|
|
36420
36451
|
return false;
|
|
36421
|
-
if (!(this.
|
|
36452
|
+
if (!(this.u44_1 === other.u44_1))
|
|
36422
36453
|
return false;
|
|
36423
|
-
if (!(this.
|
|
36454
|
+
if (!(this.v44_1 == other.v44_1))
|
|
36424
36455
|
return false;
|
|
36425
36456
|
return true;
|
|
36426
36457
|
};
|
|
36427
36458
|
function TakeAllRemainingCardsMechanicAction(currentTurnPlayerId, playersCards, aid) {
|
|
36428
36459
|
aid = aid === VOID ? null : aid;
|
|
36429
36460
|
MechanicAction.call(this);
|
|
36430
|
-
this.
|
|
36431
|
-
this.
|
|
36432
|
-
this.
|
|
36461
|
+
this.w44_1 = currentTurnPlayerId;
|
|
36462
|
+
this.x44_1 = playersCards;
|
|
36463
|
+
this.y44_1 = aid;
|
|
36433
36464
|
}
|
|
36434
36465
|
protoOf(TakeAllRemainingCardsMechanicAction).u40 = function () {
|
|
36435
|
-
return this.
|
|
36466
|
+
return this.y44_1;
|
|
36436
36467
|
};
|
|
36437
36468
|
protoOf(TakeAllRemainingCardsMechanicAction).o1p = function () {
|
|
36438
|
-
return this.
|
|
36469
|
+
return this.w44_1;
|
|
36439
36470
|
};
|
|
36440
36471
|
protoOf(TakeAllRemainingCardsMechanicAction).toString = function () {
|
|
36441
|
-
return 'TakeAllRemainingCardsMechanicAction(currentTurnPlayerId=' + this.
|
|
36472
|
+
return 'TakeAllRemainingCardsMechanicAction(currentTurnPlayerId=' + this.w44_1 + ', playersCards=' + toString(this.x44_1) + ', aid=' + this.y44_1 + ')';
|
|
36442
36473
|
};
|
|
36443
36474
|
protoOf(TakeAllRemainingCardsMechanicAction).hashCode = function () {
|
|
36444
|
-
var result = getStringHashCode(this.
|
|
36445
|
-
result = imul(result, 31) + hashCode(this.
|
|
36446
|
-
result = imul(result, 31) + (this.
|
|
36475
|
+
var result = getStringHashCode(this.w44_1);
|
|
36476
|
+
result = imul(result, 31) + hashCode(this.x44_1) | 0;
|
|
36477
|
+
result = imul(result, 31) + (this.y44_1 == null ? 0 : getStringHashCode(this.y44_1)) | 0;
|
|
36447
36478
|
return result;
|
|
36448
36479
|
};
|
|
36449
36480
|
protoOf(TakeAllRemainingCardsMechanicAction).equals = function (other) {
|
|
@@ -36451,32 +36482,32 @@
|
|
|
36451
36482
|
return true;
|
|
36452
36483
|
if (!(other instanceof TakeAllRemainingCardsMechanicAction))
|
|
36453
36484
|
return false;
|
|
36454
|
-
if (!(this.
|
|
36485
|
+
if (!(this.w44_1 === other.w44_1))
|
|
36455
36486
|
return false;
|
|
36456
|
-
if (!equals(this.
|
|
36487
|
+
if (!equals(this.x44_1, other.x44_1))
|
|
36457
36488
|
return false;
|
|
36458
|
-
if (!(this.
|
|
36489
|
+
if (!(this.y44_1 == other.y44_1))
|
|
36459
36490
|
return false;
|
|
36460
36491
|
return true;
|
|
36461
36492
|
};
|
|
36462
36493
|
function WinnerCombinationsMechanicAction(winnerCombinations, aid) {
|
|
36463
36494
|
aid = aid === VOID ? null : aid;
|
|
36464
36495
|
MechanicAction.call(this);
|
|
36465
|
-
this.
|
|
36466
|
-
this.
|
|
36496
|
+
this.z44_1 = winnerCombinations;
|
|
36497
|
+
this.a45_1 = aid;
|
|
36467
36498
|
}
|
|
36468
36499
|
protoOf(WinnerCombinationsMechanicAction).u40 = function () {
|
|
36469
|
-
return this.
|
|
36500
|
+
return this.a45_1;
|
|
36470
36501
|
};
|
|
36471
36502
|
protoOf(WinnerCombinationsMechanicAction).k1v = function () {
|
|
36472
36503
|
return true;
|
|
36473
36504
|
};
|
|
36474
36505
|
protoOf(WinnerCombinationsMechanicAction).toString = function () {
|
|
36475
|
-
return 'WinnerCombinationsMechanicAction(winnerCombinations=' + toString(this.
|
|
36506
|
+
return 'WinnerCombinationsMechanicAction(winnerCombinations=' + toString(this.z44_1) + ', aid=' + this.a45_1 + ')';
|
|
36476
36507
|
};
|
|
36477
36508
|
protoOf(WinnerCombinationsMechanicAction).hashCode = function () {
|
|
36478
|
-
var result = hashCode(this.
|
|
36479
|
-
result = imul(result, 31) + (this.
|
|
36509
|
+
var result = hashCode(this.z44_1);
|
|
36510
|
+
result = imul(result, 31) + (this.a45_1 == null ? 0 : getStringHashCode(this.a45_1)) | 0;
|
|
36480
36511
|
return result;
|
|
36481
36512
|
};
|
|
36482
36513
|
protoOf(WinnerCombinationsMechanicAction).equals = function (other) {
|
|
@@ -36484,27 +36515,27 @@
|
|
|
36484
36515
|
return true;
|
|
36485
36516
|
if (!(other instanceof WinnerCombinationsMechanicAction))
|
|
36486
36517
|
return false;
|
|
36487
|
-
if (!equals(this.
|
|
36518
|
+
if (!equals(this.z44_1, other.z44_1))
|
|
36488
36519
|
return false;
|
|
36489
|
-
if (!(this.
|
|
36520
|
+
if (!(this.a45_1 == other.a45_1))
|
|
36490
36521
|
return false;
|
|
36491
36522
|
return true;
|
|
36492
36523
|
};
|
|
36493
36524
|
function ErrorAction(error, aid) {
|
|
36494
36525
|
aid = aid === VOID ? null : aid;
|
|
36495
36526
|
MechanicAction.call(this);
|
|
36496
|
-
this.
|
|
36497
|
-
this.
|
|
36527
|
+
this.b45_1 = error;
|
|
36528
|
+
this.c45_1 = aid;
|
|
36498
36529
|
}
|
|
36499
36530
|
protoOf(ErrorAction).u40 = function () {
|
|
36500
|
-
return this.
|
|
36531
|
+
return this.c45_1;
|
|
36501
36532
|
};
|
|
36502
36533
|
protoOf(ErrorAction).toString = function () {
|
|
36503
|
-
return 'ErrorAction(error=' + this.
|
|
36534
|
+
return 'ErrorAction(error=' + this.b45_1.toString() + ', aid=' + this.c45_1 + ')';
|
|
36504
36535
|
};
|
|
36505
36536
|
protoOf(ErrorAction).hashCode = function () {
|
|
36506
|
-
var result = this.
|
|
36507
|
-
result = imul(result, 31) + (this.
|
|
36537
|
+
var result = this.b45_1.hashCode();
|
|
36538
|
+
result = imul(result, 31) + (this.c45_1 == null ? 0 : getStringHashCode(this.c45_1)) | 0;
|
|
36508
36539
|
return result;
|
|
36509
36540
|
};
|
|
36510
36541
|
protoOf(ErrorAction).equals = function (other) {
|
|
@@ -36512,9 +36543,9 @@
|
|
|
36512
36543
|
return true;
|
|
36513
36544
|
if (!(other instanceof ErrorAction))
|
|
36514
36545
|
return false;
|
|
36515
|
-
if (!this.
|
|
36546
|
+
if (!this.b45_1.equals(other.b45_1))
|
|
36516
36547
|
return false;
|
|
36517
|
-
if (!(this.
|
|
36548
|
+
if (!(this.c45_1 == other.c45_1))
|
|
36518
36549
|
return false;
|
|
36519
36550
|
return true;
|
|
36520
36551
|
};
|
|
@@ -37047,9 +37078,9 @@
|
|
|
37047
37078
|
}
|
|
37048
37079
|
}
|
|
37049
37080
|
function GameHelperImpl(logger) {
|
|
37050
|
-
this.
|
|
37081
|
+
this.g45_1 = logger;
|
|
37051
37082
|
}
|
|
37052
|
-
protoOf(GameHelperImpl).
|
|
37083
|
+
protoOf(GameHelperImpl).d45 = function (store, playerIds, includeBots) {
|
|
37053
37084
|
var state = store.state;
|
|
37054
37085
|
var tmp;
|
|
37055
37086
|
if (!state.x2e()) {
|
|
@@ -37095,7 +37126,7 @@
|
|
|
37095
37126
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
37096
37127
|
return copyToArray(destination_1);
|
|
37097
37128
|
};
|
|
37098
|
-
protoOf(GameHelperImpl).
|
|
37129
|
+
protoOf(GameHelperImpl).e45 = function (store, playerIds, includeBots) {
|
|
37099
37130
|
var state = store.state;
|
|
37100
37131
|
var tmp;
|
|
37101
37132
|
if (!state.x2e()) {
|
|
@@ -37266,10 +37297,10 @@
|
|
|
37266
37297
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
37267
37298
|
return copyToArray(destination);
|
|
37268
37299
|
};
|
|
37269
|
-
protoOf(GameHelperImpl).
|
|
37300
|
+
protoOf(GameHelperImpl).f45 = function (mode, points, players, timeoutTimeMillis, rulesSetType, rules, isEnableChat, isBotsEnabled, isPrivate, dealerStrategy, transition, league) {
|
|
37270
37301
|
var roomMode = mapToRoomMode(mode);
|
|
37271
37302
|
var isEnableChoosePartnerScreen = (transition == null || transition.isEnableChoosePartnerScreen) && roomMode.isEnableChoosePartnerScreen;
|
|
37272
|
-
this.
|
|
37303
|
+
this.g45_1.v(VOID, 'createConfig: ' + ('mode = ' + roomMode.toString() + ', ') + ('transition = ' + toString_0(transition) + ', ') + ('isPrivate = ' + isPrivate + ', ') + ('dealerStrategy = ' + dealerStrategy + ', ') + ('league = ' + league + ', ') + ('isEnableChoosePartnerScreen = ' + isEnableChoosePartnerScreen + ' '));
|
|
37273
37304
|
var options = Companion_instance_153.getServerOptions(isEnableChat, isBotsEnabled, isEnableChoosePartnerScreen);
|
|
37274
37305
|
var playersMode = this.mapPlayers(players);
|
|
37275
37306
|
var pointsMode = this.mapPoints(points);
|
|
@@ -37704,40 +37735,40 @@
|
|
|
37704
37735
|
function getRandomAvatarData_0($this) {
|
|
37705
37736
|
var avatarSetNumber = Default_getInstance().wd(get_entries_5().o());
|
|
37706
37737
|
var avatarSet = get_entries_5().p(avatarSetNumber);
|
|
37707
|
-
return new AvatarData(Default_getInstance().wd(avatarSet.
|
|
37738
|
+
return new AvatarData(Default_getInstance().wd(avatarSet.m45()), avatarSet);
|
|
37708
37739
|
}
|
|
37709
37740
|
function getAvatarUrlByIndex($this, data) {
|
|
37710
37741
|
return mapToPattern($this, data);
|
|
37711
37742
|
}
|
|
37712
37743
|
function getNicknameByIndex($this, data) {
|
|
37713
|
-
return data.
|
|
37744
|
+
return data.o45_1.p45(data.n45_1);
|
|
37714
37745
|
}
|
|
37715
37746
|
function mapToPattern($this, data) {
|
|
37716
|
-
return 'debertz://raspberry.games/' + data.
|
|
37747
|
+
return 'debertz://raspberry.games/' + data.o45_1.h2_1 + '/' + data.n45_1;
|
|
37717
37748
|
}
|
|
37718
37749
|
function Companion_160() {
|
|
37719
37750
|
Companion_instance_164 = this;
|
|
37720
|
-
this.
|
|
37751
|
+
this.q45_1 = 'debertz://raspberry.games';
|
|
37721
37752
|
var tmp = this;
|
|
37722
37753
|
// Inline function 'kotlin.arrayOf' call
|
|
37723
37754
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
37724
37755
|
// Inline function 'kotlin.js.asDynamic' call
|
|
37725
|
-
tmp.
|
|
37756
|
+
tmp.r45_1 = ['Helen', 'Kelvin', 'Josh', 'Cler', 'Anna', 'Emily', 'Tom', 'Peter', 'Kate', 'Lucy', 'Bob', 'Holly', 'Alex', 'Mark', 'Sarah', 'Naomi'];
|
|
37726
37757
|
var tmp_0 = this;
|
|
37727
37758
|
// Inline function 'kotlin.arrayOf' call
|
|
37728
37759
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
37729
37760
|
// Inline function 'kotlin.js.asDynamic' call
|
|
37730
|
-
tmp_0.
|
|
37761
|
+
tmp_0.s45_1 = ['\u0422\u0430\u043D\u044F', 'TheBest', '\u0425\u0430\u0440\u043A\u0456\u0432\u041C\u0456\u0441\u0442\u043E\u0413\u0435\u0440\u043E\u0439', '\u0412\u0430\u043B\u044F', '\u041C\u0430\u0440\u0433\u0430\u0440\u0438\u0442\u0430', 'Dasha', '\u0410\u0440\u0442\u0435\u043C', '\u041F\u0435\u0442\u0440\u043E\u0432\u0438\u0447', '\u041A\u0440\u0438\u0441', '\u041C\u0430\u0440\u0456\u0430\u043D\u0430', '\u0421\u0430\u043B\u0442\u0456\u0432\u043A\u0430', '\u042F\u043D\u0430', 'Alex', '\u041E\u0434\u0435\u0441\u0441\u0430\u041C\u0430\u043C\u0430', 'Vika', '\u0421\u0432\u0456\u0442\u043B\u0430\u043D\u0430'];
|
|
37731
37762
|
var tmp_1 = this;
|
|
37732
37763
|
// Inline function 'kotlin.arrayOf' call
|
|
37733
37764
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
37734
37765
|
// Inline function 'kotlin.js.asDynamic' call
|
|
37735
|
-
tmp_1.
|
|
37766
|
+
tmp_1.t45_1 = ['Fedya', 'Shurik', 'Student', 'Student girl', 'District policeman', 'George', 'Zina', 'Shuller', 'Tanya', 'Katerina', 'Innocent', 'Lyolik', 'Nina', 'Experienced', 'Jigid', 'Just a Tsar'];
|
|
37736
37767
|
var tmp_2 = this;
|
|
37737
37768
|
// Inline function 'kotlin.arrayOf' call
|
|
37738
37769
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
37739
37770
|
// Inline function 'kotlin.js.asDynamic' call
|
|
37740
|
-
tmp_2.
|
|
37771
|
+
tmp_2.u45_1 = ['\u0423\u0441\u0456\u043C\u0414\u043E\u0431\u0440\u0430', '\u0410\u043B\u0435\u043A\u0441', 'MOLOTOK', '\u041B\u042F\u041B\u042F', '\u0406\u0412\u0410\u041D', '\u041C\u0438\u043A\u0438\u0442\u0430', '\u0410\u043B\u0456\u0441\u0430', '\u041C\u0430\u043A\u0441\u0438\u043C', '\u0421\u043E\u043B\u043E\u043C\u0456\u044F', '\u0414\u0436\u0435\u0432\u0435\u043B\u0456\u043D\u0430', '\u041A\u0441\u044E\u0445\u0430', '\u0422\u0410\u0420\u0410\u0421', '\u041E\u043B\u044F', '\u0414\u043E\u0420\u043E\u0431\u043E\u0442\u0438', '\u0421\u043B\u0430\u0432\u0430\u0417\u0421\u0423!', '\u0426\u0430\u0440\u044C\u0414\u0435\u0431\u0430'];
|
|
37741
37772
|
}
|
|
37742
37773
|
var Companion_instance_164;
|
|
37743
37774
|
function Companion_getInstance_167() {
|
|
@@ -37748,14 +37779,14 @@
|
|
|
37748
37779
|
function AvatarSet(name, ordinal) {
|
|
37749
37780
|
Enum.call(this, name, ordinal);
|
|
37750
37781
|
}
|
|
37751
|
-
protoOf(AvatarSet).
|
|
37782
|
+
protoOf(AvatarSet).m45 = function () {
|
|
37752
37783
|
var tmp;
|
|
37753
37784
|
switch (this.h2_1) {
|
|
37754
37785
|
case 0:
|
|
37755
|
-
tmp = Companion_getInstance_167().
|
|
37786
|
+
tmp = Companion_getInstance_167().s45_1.length;
|
|
37756
37787
|
break;
|
|
37757
37788
|
case 1:
|
|
37758
|
-
tmp = Companion_getInstance_167().
|
|
37789
|
+
tmp = Companion_getInstance_167().u45_1.length;
|
|
37759
37790
|
break;
|
|
37760
37791
|
default:
|
|
37761
37792
|
noWhenBranchMatchedException();
|
|
@@ -37763,14 +37794,14 @@
|
|
|
37763
37794
|
}
|
|
37764
37795
|
return tmp;
|
|
37765
37796
|
};
|
|
37766
|
-
protoOf(AvatarSet).
|
|
37797
|
+
protoOf(AvatarSet).p45 = function (index) {
|
|
37767
37798
|
var tmp;
|
|
37768
37799
|
switch (this.h2_1) {
|
|
37769
37800
|
case 0:
|
|
37770
|
-
tmp = Companion_getInstance_167().
|
|
37801
|
+
tmp = Companion_getInstance_167().s45_1[index];
|
|
37771
37802
|
break;
|
|
37772
37803
|
case 1:
|
|
37773
|
-
tmp = Companion_getInstance_167().
|
|
37804
|
+
tmp = Companion_getInstance_167().u45_1[index];
|
|
37774
37805
|
break;
|
|
37775
37806
|
default:
|
|
37776
37807
|
noWhenBranchMatchedException();
|
|
@@ -37779,8 +37810,8 @@
|
|
|
37779
37810
|
return tmp;
|
|
37780
37811
|
};
|
|
37781
37812
|
function AvatarData(index, avatarSet) {
|
|
37782
|
-
this.
|
|
37783
|
-
this.
|
|
37813
|
+
this.n45_1 = index;
|
|
37814
|
+
this.o45_1 = avatarSet;
|
|
37784
37815
|
}
|
|
37785
37816
|
function AvatarSet_ORIGIN_getInstance() {
|
|
37786
37817
|
AvatarSet_initEntries();
|
|
@@ -37793,7 +37824,7 @@
|
|
|
37793
37824
|
function GameResourcesImpl() {
|
|
37794
37825
|
Companion_getInstance_167();
|
|
37795
37826
|
}
|
|
37796
|
-
protoOf(GameResourcesImpl).
|
|
37827
|
+
protoOf(GameResourcesImpl).j45 = function (playerId, existingNicknames) {
|
|
37797
37828
|
return createUser(this, playerId, existingNicknames);
|
|
37798
37829
|
};
|
|
37799
37830
|
protoOf(GameResourcesImpl).createBotUsers = function (playerIds) {
|
|
@@ -37834,45 +37865,45 @@
|
|
|
37834
37865
|
}
|
|
37835
37866
|
var WARN;
|
|
37836
37867
|
function LoggerCallbacksWrapperLoggerOutput(loggerCallback) {
|
|
37837
|
-
this.
|
|
37868
|
+
this.v45_1 = loggerCallback;
|
|
37838
37869
|
}
|
|
37839
37870
|
protoOf(LoggerCallbacksWrapperLoggerOutput).i15 = function (tag, message, payload) {
|
|
37840
|
-
this.
|
|
37871
|
+
this.v45_1('debug', tag, message, null, payload);
|
|
37841
37872
|
};
|
|
37842
37873
|
protoOf(LoggerCallbacksWrapperLoggerOutput).j15 = function (tag, message, exception, payload) {
|
|
37843
|
-
this.
|
|
37874
|
+
this.v45_1('error', tag, generateMsg(message, exception), exception, payload);
|
|
37844
37875
|
};
|
|
37845
37876
|
protoOf(LoggerCallbacksWrapperLoggerOutput).m15 = function (tag, message, payload) {
|
|
37846
|
-
this.
|
|
37877
|
+
this.v45_1('debug', tag, message, null, payload);
|
|
37847
37878
|
};
|
|
37848
37879
|
protoOf(LoggerCallbacksWrapperLoggerOutput).l15 = function (tag, message, exception, payload) {
|
|
37849
|
-
this.
|
|
37880
|
+
this.v45_1('debug', tag, generateMsg(message, exception), exception, payload);
|
|
37850
37881
|
};
|
|
37851
37882
|
protoOf(LoggerCallbacksWrapperLoggerOutput).k15 = function (tag, message, exception, payload) {
|
|
37852
|
-
this.
|
|
37883
|
+
this.v45_1('warn', tag, generateMsg(message, exception), exception, payload);
|
|
37853
37884
|
};
|
|
37854
37885
|
function ParserHelper() {
|
|
37855
37886
|
}
|
|
37856
37887
|
function ParserHelperImpl(json, encoderDecoderProvider) {
|
|
37857
|
-
this.
|
|
37858
|
-
this.
|
|
37888
|
+
this.w45_1 = json;
|
|
37889
|
+
this.x45_1 = encoderDecoderProvider;
|
|
37859
37890
|
}
|
|
37860
37891
|
protoOf(ParserHelperImpl).encodeFromClientEvent = function (action) {
|
|
37861
|
-
return this.
|
|
37892
|
+
return this.x45_1.f40(mapToDto_20(action));
|
|
37862
37893
|
};
|
|
37863
37894
|
protoOf(ParserHelperImpl).decodeFromClientEvent = function (fromPlayerId, json) {
|
|
37864
|
-
return mapFromDto_16(this.
|
|
37895
|
+
return mapFromDto_16(this.x45_1.i40(json), fromPlayerId);
|
|
37865
37896
|
};
|
|
37866
37897
|
protoOf(ParserHelperImpl).encodeToClientEvent = function (action) {
|
|
37867
|
-
return this.
|
|
37898
|
+
return this.x45_1.g40(mapToDto_78(action));
|
|
37868
37899
|
};
|
|
37869
37900
|
protoOf(ParserHelperImpl).decodeToClientEventToMechanicActions = function (playerId, engine, json) {
|
|
37870
37901
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
37871
|
-
var this_0 = mapFromClientDtoListWithPayload(this.
|
|
37902
|
+
var this_0 = mapFromClientDtoListWithPayload(this.x45_1.j40(json), playerId, engine);
|
|
37872
37903
|
return copyToArray(this_0);
|
|
37873
37904
|
};
|
|
37874
37905
|
protoOf(ParserHelperImpl).encodeGameRound = function (round) {
|
|
37875
|
-
var tmp0 = this.
|
|
37906
|
+
var tmp0 = this.w45_1;
|
|
37876
37907
|
// Inline function 'kotlinx.serialization.json.Json.encodeToString' call
|
|
37877
37908
|
var value = mapToDto_35(round);
|
|
37878
37909
|
// Inline function 'kotlinx.serialization.serializer' call
|
|
@@ -37883,7 +37914,7 @@
|
|
|
37883
37914
|
return tmp0.o23(tmp$ret$1, value);
|
|
37884
37915
|
};
|
|
37885
37916
|
protoOf(ParserHelperImpl).encodeGameRoundItems = function (round) {
|
|
37886
|
-
var tmp0 = this.
|
|
37917
|
+
var tmp0 = this.w45_1;
|
|
37887
37918
|
// Inline function 'kotlin.collections.map' call
|
|
37888
37919
|
var this_0 = round.items;
|
|
37889
37920
|
// Inline function 'kotlin.collections.mapTo' call
|
|
@@ -37905,7 +37936,7 @@
|
|
|
37905
37936
|
return tmp0.o23(tmp$ret$4, destination);
|
|
37906
37937
|
};
|
|
37907
37938
|
protoOf(ParserHelperImpl).encodeGameMetadata = function (metadata) {
|
|
37908
|
-
var tmp0 = this.
|
|
37939
|
+
var tmp0 = this.w45_1;
|
|
37909
37940
|
// Inline function 'kotlinx.serialization.json.Json.encodeToString' call
|
|
37910
37941
|
var value = mapToDto_34(metadata);
|
|
37911
37942
|
// Inline function 'kotlinx.serialization.serializer' call
|
|
@@ -37916,7 +37947,7 @@
|
|
|
37916
37947
|
return tmp0.o23(tmp$ret$1, value);
|
|
37917
37948
|
};
|
|
37918
37949
|
protoOf(ParserHelperImpl).encodeRoomConfig = function (config) {
|
|
37919
|
-
var tmp0 = this.
|
|
37950
|
+
var tmp0 = this.w45_1;
|
|
37920
37951
|
// Inline function 'kotlinx.serialization.json.Json.encodeToString' call
|
|
37921
37952
|
var value = mapToDto_63(config);
|
|
37922
37953
|
// Inline function 'kotlinx.serialization.serializer' call
|
|
@@ -37927,7 +37958,7 @@
|
|
|
37927
37958
|
return tmp0.o23(tmp$ret$1, value);
|
|
37928
37959
|
};
|
|
37929
37960
|
protoOf(ParserHelperImpl).encodeGameToRoomTransition = function (transition) {
|
|
37930
|
-
var tmp0 = this.
|
|
37961
|
+
var tmp0 = this.w45_1;
|
|
37931
37962
|
// Inline function 'kotlinx.serialization.json.Json.encodeToString' call
|
|
37932
37963
|
var value = mapToDto_100(transition);
|
|
37933
37964
|
// Inline function 'kotlinx.serialization.serializer' call
|
|
@@ -37939,7 +37970,7 @@
|
|
|
37939
37970
|
};
|
|
37940
37971
|
protoOf(ParserHelperImpl).decodeGameToRoomTransition = function (json) {
|
|
37941
37972
|
// Inline function 'kotlinx.serialization.json.Json.decodeFromString' call
|
|
37942
|
-
var this_0 = this.
|
|
37973
|
+
var this_0 = this.w45_1;
|
|
37943
37974
|
// Inline function 'kotlinx.serialization.serializer' call
|
|
37944
37975
|
var this_1 = this_0.zn();
|
|
37945
37976
|
// Inline function 'kotlinx.serialization.internal.cast' call
|
|
@@ -37950,7 +37981,7 @@
|
|
|
37950
37981
|
};
|
|
37951
37982
|
protoOf(ParserHelperImpl).decodeTableStateWithActions = function (json) {
|
|
37952
37983
|
// Inline function 'kotlinx.serialization.json.Json.decodeFromString' call
|
|
37953
|
-
var this_0 = this.
|
|
37984
|
+
var this_0 = this.w45_1;
|
|
37954
37985
|
// Inline function 'kotlinx.serialization.serializer' call
|
|
37955
37986
|
var this_1 = this_0.zn();
|
|
37956
37987
|
// Inline function 'kotlinx.serialization.internal.cast' call
|
|
@@ -37960,7 +37991,7 @@
|
|
|
37960
37991
|
return mapFromDto_99(tmp$ret$2);
|
|
37961
37992
|
};
|
|
37962
37993
|
protoOf(ParserHelperImpl).encodeTableStateWithActions = function (table) {
|
|
37963
|
-
var tmp0 = this.
|
|
37994
|
+
var tmp0 = this.w45_1;
|
|
37964
37995
|
// Inline function 'kotlinx.serialization.json.Json.encodeToString' call
|
|
37965
37996
|
var value = mapToDto_131(table);
|
|
37966
37997
|
// Inline function 'kotlinx.serialization.serializer' call
|
|
@@ -37971,11 +38002,11 @@
|
|
|
37971
38002
|
return tmp0.o23(tmp$ret$1, value);
|
|
37972
38003
|
};
|
|
37973
38004
|
protoOf(ParserHelperImpl).decodeTableLite = function (json) {
|
|
37974
|
-
return mapFromDto_66(this.
|
|
38005
|
+
return mapFromDto_66(this.x45_1.h40(json));
|
|
37975
38006
|
};
|
|
37976
38007
|
protoOf(ParserHelperImpl).decodeFullGameHistoryToTableLite = function (json, round) {
|
|
37977
38008
|
// Inline function 'kotlinx.serialization.json.Json.decodeFromString' call
|
|
37978
|
-
var this_0 = this.
|
|
38009
|
+
var this_0 = this.w45_1;
|
|
37979
38010
|
// Inline function 'kotlinx.serialization.serializer' call
|
|
37980
38011
|
var this_1 = this_0.zn();
|
|
37981
38012
|
// Inline function 'kotlinx.serialization.internal.cast' call
|
|
@@ -37988,20 +38019,20 @@
|
|
|
37988
38019
|
function RatingHelper() {
|
|
37989
38020
|
}
|
|
37990
38021
|
function RatingHelperImpl(json, userRatingInteractor) {
|
|
37991
|
-
this.
|
|
37992
|
-
this.
|
|
38022
|
+
this.y45_1 = json;
|
|
38023
|
+
this.z45_1 = userRatingInteractor;
|
|
37993
38024
|
}
|
|
37994
38025
|
protoOf(RatingHelperImpl).isValidRatingForLeague = function (league, rating) {
|
|
37995
|
-
return this.
|
|
38026
|
+
return this.z45_1.o40(league, rating);
|
|
37996
38027
|
};
|
|
37997
38028
|
protoOf(RatingHelperImpl).mapRatingToLeague = function (rating) {
|
|
37998
|
-
return this.
|
|
38029
|
+
return this.z45_1.q40(rating);
|
|
37999
38030
|
};
|
|
38000
38031
|
protoOf(RatingHelperImpl).getLeaguesConfig = function () {
|
|
38001
|
-
return this.
|
|
38032
|
+
return this.z45_1.p40();
|
|
38002
38033
|
};
|
|
38003
38034
|
protoOf(RatingHelperImpl).getLeaguesConfigJson = function () {
|
|
38004
|
-
var tmp0 = this.
|
|
38035
|
+
var tmp0 = this.y45_1;
|
|
38005
38036
|
// Inline function 'kotlinx.serialization.json.Json.encodeToString' call
|
|
38006
38037
|
var value = mapToDto_47(this.getLeaguesConfig());
|
|
38007
38038
|
// Inline function 'kotlinx.serialization.serializer' call
|
|
@@ -38120,14 +38151,14 @@
|
|
|
38120
38151
|
return new GameResourcesImpl();
|
|
38121
38152
|
}
|
|
38122
38153
|
function _get_logger__rkp4sl($this) {
|
|
38123
|
-
var tmp0 = $this.
|
|
38154
|
+
var tmp0 = $this.b46_1;
|
|
38124
38155
|
var tmp = KProperty1;
|
|
38125
38156
|
// Inline function 'kotlin.getValue' call
|
|
38126
38157
|
getPropertyCallableRef('logger', 1, tmp, EngineHelpersFactory$_get_logger_$ref_np7wt5(), null);
|
|
38127
38158
|
return tmp0.v1();
|
|
38128
38159
|
}
|
|
38129
38160
|
function _get_di__ndbzja($this) {
|
|
38130
|
-
var tmp0 = $this.
|
|
38161
|
+
var tmp0 = $this.c46_1;
|
|
38131
38162
|
var tmp = KProperty1;
|
|
38132
38163
|
// Inline function 'kotlin.getValue' call
|
|
38133
38164
|
getPropertyCallableRef('di', 1, tmp, EngineHelpersFactory$_get_di_$ref_w4qz4i(), null);
|
|
@@ -38136,11 +38167,11 @@
|
|
|
38136
38167
|
function EngineHelpersFactory$logger$delegate$lambda(this$0) {
|
|
38137
38168
|
return function () {
|
|
38138
38169
|
var tmp;
|
|
38139
|
-
if (this$0.
|
|
38170
|
+
if (this$0.a46_1 == null) {
|
|
38140
38171
|
tmp = null;
|
|
38141
38172
|
} else {
|
|
38142
38173
|
// Inline function 'kotlin.let' call
|
|
38143
|
-
tmp = new CombinedRaspberryLogger(mutableListOf([new LoggerCallbacksWrapperLoggerOutput(this$0.
|
|
38174
|
+
tmp = new CombinedRaspberryLogger(mutableListOf([new LoggerCallbacksWrapperLoggerOutput(this$0.a46_1)]));
|
|
38144
38175
|
}
|
|
38145
38176
|
var tmp1_elvis_lhs = tmp;
|
|
38146
38177
|
return tmp1_elvis_lhs == null ? new PlatformRaspberryLogger() : tmp1_elvis_lhs;
|
|
@@ -38230,11 +38261,11 @@
|
|
|
38230
38261
|
}
|
|
38231
38262
|
function EngineHelpersFactory(loggerCallback) {
|
|
38232
38263
|
loggerCallback = loggerCallback === VOID ? null : loggerCallback;
|
|
38233
|
-
this.
|
|
38264
|
+
this.a46_1 = loggerCallback;
|
|
38234
38265
|
var tmp = this;
|
|
38235
|
-
tmp.
|
|
38266
|
+
tmp.b46_1 = lazy_0(EngineHelpersFactory$logger$delegate$lambda(this));
|
|
38236
38267
|
var tmp_0 = this;
|
|
38237
|
-
tmp_0.
|
|
38268
|
+
tmp_0.c46_1 = lazy_0(EngineHelpersFactory$di$delegate$lambda(this));
|
|
38238
38269
|
var tmp_1 = this;
|
|
38239
38270
|
// Inline function 'org.kodein.di.instance' call
|
|
38240
38271
|
var this_0 = _get_di__ndbzja(this);
|
|
@@ -38243,7 +38274,7 @@
|
|
|
38243
38274
|
var tmp$ret$0 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
38244
38275
|
var tmp_3 = Instance(this_0, tmp$ret$0, null);
|
|
38245
38276
|
var tmp_4 = KProperty1;
|
|
38246
|
-
tmp_1.
|
|
38277
|
+
tmp_1.d46_1 = tmp_3.j23(this, getPropertyCallableRef('ratingHelper', 1, tmp_4, EngineHelpersFactory$_get_ratingHelper_$ref_pl08ks(), null));
|
|
38247
38278
|
var tmp_5 = this;
|
|
38248
38279
|
// Inline function 'org.kodein.di.instance' call
|
|
38249
38280
|
var this_1 = _get_di__ndbzja(this);
|
|
@@ -38252,7 +38283,7 @@
|
|
|
38252
38283
|
var tmp$ret$2 = isInterface(tmp_6, TypeToken) ? tmp_6 : THROW_CCE();
|
|
38253
38284
|
var tmp_7 = Instance(this_1, tmp$ret$2, null);
|
|
38254
38285
|
var tmp_8 = KProperty1;
|
|
38255
|
-
tmp_5.
|
|
38286
|
+
tmp_5.e46_1 = tmp_7.j23(this, getPropertyCallableRef('parserHelper', 1, tmp_8, EngineHelpersFactory$_get_parserHelper_$ref_egvg46(), null));
|
|
38256
38287
|
var tmp_9 = this;
|
|
38257
38288
|
// Inline function 'org.kodein.di.instance' call
|
|
38258
38289
|
var this_2 = _get_di__ndbzja(this);
|
|
@@ -38261,7 +38292,7 @@
|
|
|
38261
38292
|
var tmp$ret$4 = isInterface(tmp_10, TypeToken) ? tmp_10 : THROW_CCE();
|
|
38262
38293
|
var tmp_11 = Instance(this_2, tmp$ret$4, null);
|
|
38263
38294
|
var tmp_12 = KProperty1;
|
|
38264
|
-
tmp_9.
|
|
38295
|
+
tmp_9.f46_1 = tmp_11.j23(this, getPropertyCallableRef('gameHelper', 1, tmp_12, EngineHelpersFactory$_get_gameHelper_$ref_7u8j93(), null));
|
|
38265
38296
|
var tmp_13 = this;
|
|
38266
38297
|
// Inline function 'org.kodein.di.instance' call
|
|
38267
38298
|
var this_3 = _get_di__ndbzja(this);
|
|
@@ -38270,31 +38301,31 @@
|
|
|
38270
38301
|
var tmp$ret$6 = isInterface(tmp_14, TypeToken) ? tmp_14 : THROW_CCE();
|
|
38271
38302
|
var tmp_15 = Instance(this_3, tmp$ret$6, null);
|
|
38272
38303
|
var tmp_16 = KProperty1;
|
|
38273
|
-
tmp_13.
|
|
38304
|
+
tmp_13.g46_1 = tmp_15.j23(this, getPropertyCallableRef('gameResources', 1, tmp_16, EngineHelpersFactory$_get_gameResources_$ref_kynd2o(), null));
|
|
38274
38305
|
}
|
|
38275
|
-
protoOf(EngineHelpersFactory).
|
|
38276
|
-
var tmp0 = this.
|
|
38306
|
+
protoOf(EngineHelpersFactory).h46 = function () {
|
|
38307
|
+
var tmp0 = this.d46_1;
|
|
38277
38308
|
var tmp = KProperty1;
|
|
38278
38309
|
// Inline function 'kotlin.getValue' call
|
|
38279
38310
|
getPropertyCallableRef('ratingHelper', 1, tmp, EngineHelpersFactory$_get_ratingHelper_$ref_pl08ks_0(), null);
|
|
38280
38311
|
return tmp0.v1();
|
|
38281
38312
|
};
|
|
38282
|
-
protoOf(EngineHelpersFactory).
|
|
38283
|
-
var tmp0 = this.
|
|
38313
|
+
protoOf(EngineHelpersFactory).i46 = function () {
|
|
38314
|
+
var tmp0 = this.e46_1;
|
|
38284
38315
|
var tmp = KProperty1;
|
|
38285
38316
|
// Inline function 'kotlin.getValue' call
|
|
38286
38317
|
getPropertyCallableRef('parserHelper', 1, tmp, EngineHelpersFactory$_get_parserHelper_$ref_egvg46_0(), null);
|
|
38287
38318
|
return tmp0.v1();
|
|
38288
38319
|
};
|
|
38289
|
-
protoOf(EngineHelpersFactory).
|
|
38290
|
-
var tmp0 = this.
|
|
38320
|
+
protoOf(EngineHelpersFactory).j46 = function () {
|
|
38321
|
+
var tmp0 = this.f46_1;
|
|
38291
38322
|
var tmp = KProperty1;
|
|
38292
38323
|
// Inline function 'kotlin.getValue' call
|
|
38293
38324
|
getPropertyCallableRef('gameHelper', 1, tmp, EngineHelpersFactory$_get_gameHelper_$ref_7u8j93_0(), null);
|
|
38294
38325
|
return tmp0.v1();
|
|
38295
38326
|
};
|
|
38296
|
-
protoOf(EngineHelpersFactory).
|
|
38297
|
-
var tmp0 = this.
|
|
38327
|
+
protoOf(EngineHelpersFactory).k46 = function () {
|
|
38328
|
+
var tmp0 = this.g46_1;
|
|
38298
38329
|
var tmp = KProperty1;
|
|
38299
38330
|
// Inline function 'kotlin.getValue' call
|
|
38300
38331
|
getPropertyCallableRef('gameResources', 1, tmp, EngineHelpersFactory$_get_gameResources_$ref_kynd2o_0(), null);
|
|
@@ -38972,6 +39003,28 @@
|
|
|
38972
39003
|
defineProp(protoOf(StartNewGameMechanicAction), 'actionTag', function () {
|
|
38973
39004
|
return this.i1v();
|
|
38974
39005
|
});
|
|
39006
|
+
protoOf(ContinueGameMechanicAction).ignoreValidation = ignoreValidation;
|
|
39007
|
+
defineProp(protoOf(ContinueGameMechanicAction), 'id', function () {
|
|
39008
|
+
return this.j16();
|
|
39009
|
+
});
|
|
39010
|
+
defineProp(protoOf(ContinueGameMechanicAction), 'users', function () {
|
|
39011
|
+
return this.a3x();
|
|
39012
|
+
});
|
|
39013
|
+
defineProp(protoOf(ContinueGameMechanicAction), 'usersOrder', function () {
|
|
39014
|
+
return this.v41();
|
|
39015
|
+
});
|
|
39016
|
+
defineProp(protoOf(ContinueGameMechanicAction), 'gameCreatorPlayerId', function () {
|
|
39017
|
+
return this.u41();
|
|
39018
|
+
});
|
|
39019
|
+
defineProp(protoOf(ContinueGameMechanicAction), 'version', function () {
|
|
39020
|
+
return this.k17();
|
|
39021
|
+
});
|
|
39022
|
+
defineProp(protoOf(ContinueGameMechanicAction), 'config', function () {
|
|
39023
|
+
return this.n3w();
|
|
39024
|
+
});
|
|
39025
|
+
defineProp(protoOf(ContinueGameMechanicAction), 'actionTag', function () {
|
|
39026
|
+
return this.i1v();
|
|
39027
|
+
});
|
|
38975
39028
|
protoOf(FinishingGameMechanicAction).ignoreValidation = ignoreValidation_0;
|
|
38976
39029
|
defineProp(protoOf(FinishingGameMechanicAction), 'reason', function () {
|
|
38977
39030
|
return this.x1p();
|
|
@@ -39005,7 +39058,7 @@
|
|
|
39005
39058
|
return this.w2s();
|
|
39006
39059
|
});
|
|
39007
39060
|
defineProp(protoOf(SceneMechanicAction), 'actData', function () {
|
|
39008
|
-
return this.
|
|
39061
|
+
return this.v42();
|
|
39009
39062
|
});
|
|
39010
39063
|
defineProp(protoOf(SceneMechanicAction), 'playerId', function () {
|
|
39011
39064
|
return this.o1p();
|
|
@@ -39023,7 +39076,7 @@
|
|
|
39023
39076
|
return this.i1v();
|
|
39024
39077
|
});
|
|
39025
39078
|
protoOf(PlayerConnectionChangedMechanicAction).ignoreValidation = ignoreValidation;
|
|
39026
|
-
defineProp(protoOf(PlayerConnectionChangedMechanicAction), 'isShouldBeDisconnectedFromSockets', protoOf(PlayerConnectionChangedMechanicAction).
|
|
39079
|
+
defineProp(protoOf(PlayerConnectionChangedMechanicAction), 'isShouldBeDisconnectedFromSockets', protoOf(PlayerConnectionChangedMechanicAction).p43);
|
|
39027
39080
|
defineProp(protoOf(PlayerConnectionChangedMechanicAction), 'isDeleted', protoOf(PlayerConnectionChangedMechanicAction).r1r);
|
|
39028
39081
|
defineProp(protoOf(PlayerConnectionChangedMechanicAction), 'actionTag', function () {
|
|
39029
39082
|
return this.i1v();
|
|
@@ -39031,28 +39084,6 @@
|
|
|
39031
39084
|
defineProp(protoOf(MessageMechanicAction), 'actionTag', function () {
|
|
39032
39085
|
return this.i1v();
|
|
39033
39086
|
});
|
|
39034
|
-
protoOf(ContinueGameMechanicAction).ignoreValidation = ignoreValidation;
|
|
39035
|
-
defineProp(protoOf(ContinueGameMechanicAction), 'id', function () {
|
|
39036
|
-
return this.j16();
|
|
39037
|
-
});
|
|
39038
|
-
defineProp(protoOf(ContinueGameMechanicAction), 'users', function () {
|
|
39039
|
-
return this.a3x();
|
|
39040
|
-
});
|
|
39041
|
-
defineProp(protoOf(ContinueGameMechanicAction), 'usersOrder', function () {
|
|
39042
|
-
return this.v41();
|
|
39043
|
-
});
|
|
39044
|
-
defineProp(protoOf(ContinueGameMechanicAction), 'gameCreatorPlayerId', function () {
|
|
39045
|
-
return this.u41();
|
|
39046
|
-
});
|
|
39047
|
-
defineProp(protoOf(ContinueGameMechanicAction), 'version', function () {
|
|
39048
|
-
return this.k17();
|
|
39049
|
-
});
|
|
39050
|
-
defineProp(protoOf(ContinueGameMechanicAction), 'config', function () {
|
|
39051
|
-
return this.n3w();
|
|
39052
|
-
});
|
|
39053
|
-
defineProp(protoOf(ContinueGameMechanicAction), 'actionTag', function () {
|
|
39054
|
-
return this.i1v();
|
|
39055
|
-
});
|
|
39056
39087
|
protoOf(RestartGameMechanicAction).k1v = manualExpectantHandling;
|
|
39057
39088
|
protoOf(RestartGameMechanicAction).l1v = waitForExpectantAnimation;
|
|
39058
39089
|
defineProp(protoOf(RestartGameMechanicAction), 'actionTag', function () {
|
|
@@ -39065,7 +39096,7 @@
|
|
|
39065
39096
|
return this.w2s();
|
|
39066
39097
|
});
|
|
39067
39098
|
defineProp(protoOf(SceneActMechanicAction), 'actData', function () {
|
|
39068
|
-
return this.
|
|
39099
|
+
return this.v42();
|
|
39069
39100
|
});
|
|
39070
39101
|
defineProp(protoOf(SceneActMechanicAction), 'actionTag', function () {
|
|
39071
39102
|
return this.i1v();
|
|
@@ -39127,10 +39158,10 @@
|
|
|
39127
39158
|
protoOf(LoggerCallbacksWrapperLoggerOutput).i = i;
|
|
39128
39159
|
protoOf(LoggerCallbacksWrapperLoggerOutput).v = v;
|
|
39129
39160
|
protoOf(LoggerCallbacksWrapperLoggerOutput).w = w;
|
|
39130
|
-
defineProp(protoOf(EngineHelpersFactory), 'ratingHelper', protoOf(EngineHelpersFactory).
|
|
39131
|
-
defineProp(protoOf(EngineHelpersFactory), 'parserHelper', protoOf(EngineHelpersFactory).
|
|
39132
|
-
defineProp(protoOf(EngineHelpersFactory), 'gameHelper', protoOf(EngineHelpersFactory).
|
|
39133
|
-
defineProp(protoOf(EngineHelpersFactory), 'gameResources', protoOf(EngineHelpersFactory).
|
|
39161
|
+
defineProp(protoOf(EngineHelpersFactory), 'ratingHelper', protoOf(EngineHelpersFactory).h46);
|
|
39162
|
+
defineProp(protoOf(EngineHelpersFactory), 'parserHelper', protoOf(EngineHelpersFactory).i46);
|
|
39163
|
+
defineProp(protoOf(EngineHelpersFactory), 'gameHelper', protoOf(EngineHelpersFactory).j46);
|
|
39164
|
+
defineProp(protoOf(EngineHelpersFactory), 'gameResources', protoOf(EngineHelpersFactory).k46);
|
|
39134
39165
|
//endregion
|
|
39135
39166
|
//region block: init
|
|
39136
39167
|
Companion_instance_3 = new Companion();
|
|
@@ -39840,6 +39871,7 @@
|
|
|
39840
39871
|
$games$jass$logic$redux$actions$mechanic.MechanicAction = MechanicAction;
|
|
39841
39872
|
$games$jass$logic$redux$actions$mechanic.StartGameMechanicAction = StartGameMechanicAction;
|
|
39842
39873
|
$games$jass$logic$redux$actions$mechanic.StartNewGameMechanicAction = StartNewGameMechanicAction;
|
|
39874
|
+
$games$jass$logic$redux$actions$mechanic.ContinueGameMechanicAction = ContinueGameMechanicAction;
|
|
39843
39875
|
$games$jass$logic$redux$actions$mechanic.FinishingGameMechanicAction = FinishingGameMechanicAction;
|
|
39844
39876
|
defineProp($games$jass$logic$redux$actions$mechanic.FinishingGameMechanicAction, 'Companion', Companion_getInstance_166, VOID, true);
|
|
39845
39877
|
$games$jass$logic$redux$actions$mechanic.FinishGameMechanicAction = FinishGameMechanicAction;
|