raspberry_games_engine_helpers 1.8.416 → 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, 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,87 +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).u41 = function () {
|
|
36036
|
-
return getGameCreator(this.r43_1.players).playerId;
|
|
36037
|
-
};
|
|
36038
|
-
protoOf(ContinueGameMechanicAction).k17 = function () {
|
|
36039
|
-
return this.r43_1.version;
|
|
36040
|
-
};
|
|
36041
|
-
protoOf(ContinueGameMechanicAction).n3w = function () {
|
|
36042
|
-
return this.r43_1.config;
|
|
36043
|
-
};
|
|
36044
|
-
protoOf(ContinueGameMechanicAction).toString = function () {
|
|
36045
|
-
return 'ContinueGameMechanicAction(reason = ' + toString(this.s43_1) + ', aid = ' + this.u43_1 + ')';
|
|
36046
|
-
};
|
|
36047
|
-
protoOf(ContinueGameMechanicAction).hashCode = function () {
|
|
36048
|
-
var result = this.r43_1.hashCode();
|
|
36049
|
-
result = imul(result, 31) + hashCode(this.s43_1) | 0;
|
|
36050
|
-
result = imul(result, 31) + (this.t43_1 == null ? 0 : hashCode(this.t43_1)) | 0;
|
|
36051
|
-
result = imul(result, 31) + (this.u43_1 == null ? 0 : getStringHashCode(this.u43_1)) | 0;
|
|
36052
|
-
return result;
|
|
36053
|
-
};
|
|
36054
|
-
protoOf(ContinueGameMechanicAction).equals = function (other) {
|
|
36055
|
-
if (this === other)
|
|
36056
|
-
return true;
|
|
36057
|
-
if (!(other instanceof ContinueGameMechanicAction))
|
|
36058
|
-
return false;
|
|
36059
|
-
if (!this.r43_1.equals(other.r43_1))
|
|
36060
|
-
return false;
|
|
36061
|
-
if (!equals(this.s43_1, other.s43_1))
|
|
36062
|
-
return false;
|
|
36063
|
-
if (!equals(this.t43_1, other.t43_1))
|
|
36064
|
-
return false;
|
|
36065
|
-
if (!(this.u43_1 == other.u43_1))
|
|
36110
|
+
if (!(this.r43_1 == other.r43_1))
|
|
36066
36111
|
return false;
|
|
36067
36112
|
return true;
|
|
36068
36113
|
};
|
|
36069
36114
|
function RestartGameMechanicAction(reason, aid) {
|
|
36070
36115
|
aid = aid === VOID ? null : aid;
|
|
36071
36116
|
MechanicAction.call(this);
|
|
36072
|
-
this.
|
|
36073
|
-
this.
|
|
36117
|
+
this.t43_1 = reason;
|
|
36118
|
+
this.u43_1 = aid;
|
|
36074
36119
|
}
|
|
36075
36120
|
protoOf(RestartGameMechanicAction).u40 = function () {
|
|
36076
|
-
return this.
|
|
36121
|
+
return this.u43_1;
|
|
36077
36122
|
};
|
|
36078
36123
|
protoOf(RestartGameMechanicAction).toString = function () {
|
|
36079
|
-
return 'RestartGameMechanicAction(reason=' + this.
|
|
36124
|
+
return 'RestartGameMechanicAction(reason=' + this.t43_1.toString() + ', aid=' + this.u43_1 + ')';
|
|
36080
36125
|
};
|
|
36081
36126
|
protoOf(RestartGameMechanicAction).hashCode = function () {
|
|
36082
|
-
var result = this.
|
|
36083
|
-
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;
|
|
36084
36129
|
return result;
|
|
36085
36130
|
};
|
|
36086
36131
|
protoOf(RestartGameMechanicAction).equals = function (other) {
|
|
@@ -36088,9 +36133,9 @@
|
|
|
36088
36133
|
return true;
|
|
36089
36134
|
if (!(other instanceof RestartGameMechanicAction))
|
|
36090
36135
|
return false;
|
|
36091
|
-
if (!this.
|
|
36136
|
+
if (!this.t43_1.equals(other.t43_1))
|
|
36092
36137
|
return false;
|
|
36093
|
-
if (!(this.
|
|
36138
|
+
if (!(this.u43_1 == other.u43_1))
|
|
36094
36139
|
return false;
|
|
36095
36140
|
return true;
|
|
36096
36141
|
};
|
|
@@ -36098,31 +36143,31 @@
|
|
|
36098
36143
|
actData = actData === VOID ? null : actData;
|
|
36099
36144
|
aid = aid === VOID ? null : aid;
|
|
36100
36145
|
MechanicAction.call(this);
|
|
36101
|
-
this.
|
|
36102
|
-
this.
|
|
36103
|
-
this.
|
|
36104
|
-
this.
|
|
36146
|
+
this.v43_1 = sceneId;
|
|
36147
|
+
this.w43_1 = actId;
|
|
36148
|
+
this.x43_1 = actData;
|
|
36149
|
+
this.y43_1 = aid;
|
|
36105
36150
|
}
|
|
36106
36151
|
protoOf(SceneActMechanicAction).o2t = function () {
|
|
36107
|
-
return this.
|
|
36152
|
+
return this.v43_1;
|
|
36108
36153
|
};
|
|
36109
36154
|
protoOf(SceneActMechanicAction).w2s = function () {
|
|
36110
|
-
return this.
|
|
36155
|
+
return this.w43_1;
|
|
36111
36156
|
};
|
|
36112
|
-
protoOf(SceneActMechanicAction).
|
|
36113
|
-
return this.
|
|
36157
|
+
protoOf(SceneActMechanicAction).v42 = function () {
|
|
36158
|
+
return this.x43_1;
|
|
36114
36159
|
};
|
|
36115
36160
|
protoOf(SceneActMechanicAction).u40 = function () {
|
|
36116
|
-
return this.
|
|
36161
|
+
return this.y43_1;
|
|
36117
36162
|
};
|
|
36118
36163
|
protoOf(SceneActMechanicAction).toString = function () {
|
|
36119
|
-
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 + ')';
|
|
36120
36165
|
};
|
|
36121
36166
|
protoOf(SceneActMechanicAction).hashCode = function () {
|
|
36122
|
-
var result = getStringHashCode(this.
|
|
36123
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
36124
|
-
result = imul(result, 31) + (this.
|
|
36125
|
-
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;
|
|
36126
36171
|
return result;
|
|
36127
36172
|
};
|
|
36128
36173
|
protoOf(SceneActMechanicAction).equals = function (other) {
|
|
@@ -36130,34 +36175,34 @@
|
|
|
36130
36175
|
return true;
|
|
36131
36176
|
if (!(other instanceof SceneActMechanicAction))
|
|
36132
36177
|
return false;
|
|
36133
|
-
if (!(this.
|
|
36178
|
+
if (!(this.v43_1 === other.v43_1))
|
|
36134
36179
|
return false;
|
|
36135
|
-
if (!(this.
|
|
36180
|
+
if (!(this.w43_1 === other.w43_1))
|
|
36136
36181
|
return false;
|
|
36137
|
-
if (!equals(this.
|
|
36182
|
+
if (!equals(this.x43_1, other.x43_1))
|
|
36138
36183
|
return false;
|
|
36139
|
-
if (!(this.
|
|
36184
|
+
if (!(this.y43_1 == other.y43_1))
|
|
36140
36185
|
return false;
|
|
36141
36186
|
return true;
|
|
36142
36187
|
};
|
|
36143
36188
|
function PlayerReadyMechanicAction(currentTurnPlayerId, aid) {
|
|
36144
36189
|
aid = aid === VOID ? null : aid;
|
|
36145
36190
|
MechanicAction.call(this);
|
|
36146
|
-
this.
|
|
36147
|
-
this.
|
|
36191
|
+
this.z43_1 = currentTurnPlayerId;
|
|
36192
|
+
this.a44_1 = aid;
|
|
36148
36193
|
}
|
|
36149
36194
|
protoOf(PlayerReadyMechanicAction).u40 = function () {
|
|
36150
|
-
return this.
|
|
36195
|
+
return this.a44_1;
|
|
36151
36196
|
};
|
|
36152
36197
|
protoOf(PlayerReadyMechanicAction).o1p = function () {
|
|
36153
|
-
return this.
|
|
36198
|
+
return this.z43_1;
|
|
36154
36199
|
};
|
|
36155
36200
|
protoOf(PlayerReadyMechanicAction).toString = function () {
|
|
36156
|
-
return 'PlayerReadyMechanicAction(currentTurnPlayerId=' + this.
|
|
36201
|
+
return 'PlayerReadyMechanicAction(currentTurnPlayerId=' + this.z43_1 + ', aid=' + this.a44_1 + ')';
|
|
36157
36202
|
};
|
|
36158
36203
|
protoOf(PlayerReadyMechanicAction).hashCode = function () {
|
|
36159
|
-
var result = getStringHashCode(this.
|
|
36160
|
-
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;
|
|
36161
36206
|
return result;
|
|
36162
36207
|
};
|
|
36163
36208
|
protoOf(PlayerReadyMechanicAction).equals = function (other) {
|
|
@@ -36165,9 +36210,9 @@
|
|
|
36165
36210
|
return true;
|
|
36166
36211
|
if (!(other instanceof PlayerReadyMechanicAction))
|
|
36167
36212
|
return false;
|
|
36168
|
-
if (!(this.
|
|
36213
|
+
if (!(this.z43_1 === other.z43_1))
|
|
36169
36214
|
return false;
|
|
36170
|
-
if (!(this.
|
|
36215
|
+
if (!(this.a44_1 == other.a44_1))
|
|
36171
36216
|
return false;
|
|
36172
36217
|
return true;
|
|
36173
36218
|
};
|
|
@@ -36175,27 +36220,27 @@
|
|
|
36175
36220
|
restartRound = restartRound === VOID ? false : restartRound;
|
|
36176
36221
|
aid = aid === VOID ? null : aid;
|
|
36177
36222
|
MechanicAction.call(this);
|
|
36178
|
-
this.
|
|
36179
|
-
this.
|
|
36180
|
-
this.
|
|
36181
|
-
this.
|
|
36182
|
-
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;
|
|
36183
36228
|
}
|
|
36184
36229
|
protoOf(SuitChoiceMechanicAction).u40 = function () {
|
|
36185
|
-
return this.
|
|
36230
|
+
return this.f44_1;
|
|
36186
36231
|
};
|
|
36187
36232
|
protoOf(SuitChoiceMechanicAction).o1p = function () {
|
|
36188
|
-
return this.
|
|
36233
|
+
return this.d44_1;
|
|
36189
36234
|
};
|
|
36190
36235
|
protoOf(SuitChoiceMechanicAction).toString = function () {
|
|
36191
|
-
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 + ')';
|
|
36192
36237
|
};
|
|
36193
36238
|
protoOf(SuitChoiceMechanicAction).hashCode = function () {
|
|
36194
|
-
var result = this.
|
|
36195
|
-
result = imul(result, 31) + getBooleanHashCode(this.
|
|
36196
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
36197
|
-
result = imul(result, 31) + hashCode(this.
|
|
36198
|
-
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;
|
|
36199
36244
|
return result;
|
|
36200
36245
|
};
|
|
36201
36246
|
protoOf(SuitChoiceMechanicAction).equals = function (other) {
|
|
@@ -36203,43 +36248,43 @@
|
|
|
36203
36248
|
return true;
|
|
36204
36249
|
if (!(other instanceof SuitChoiceMechanicAction))
|
|
36205
36250
|
return false;
|
|
36206
|
-
if (!equals(this.
|
|
36251
|
+
if (!equals(this.b44_1, other.b44_1))
|
|
36207
36252
|
return false;
|
|
36208
|
-
if (!(this.
|
|
36253
|
+
if (!(this.c44_1 === other.c44_1))
|
|
36209
36254
|
return false;
|
|
36210
|
-
if (!(this.
|
|
36255
|
+
if (!(this.d44_1 === other.d44_1))
|
|
36211
36256
|
return false;
|
|
36212
|
-
if (!equals(this.
|
|
36257
|
+
if (!equals(this.e44_1, other.e44_1))
|
|
36213
36258
|
return false;
|
|
36214
|
-
if (!(this.
|
|
36259
|
+
if (!(this.f44_1 == other.f44_1))
|
|
36215
36260
|
return false;
|
|
36216
36261
|
return true;
|
|
36217
36262
|
};
|
|
36218
36263
|
function CombinationChoiceMechanicAction(isAnnounced, combinations, currentTurnPlayerId, aid) {
|
|
36219
36264
|
aid = aid === VOID ? null : aid;
|
|
36220
36265
|
MechanicAction.call(this);
|
|
36221
|
-
this.
|
|
36222
|
-
this.
|
|
36223
|
-
this.
|
|
36224
|
-
this.
|
|
36266
|
+
this.g44_1 = isAnnounced;
|
|
36267
|
+
this.h44_1 = combinations;
|
|
36268
|
+
this.i44_1 = currentTurnPlayerId;
|
|
36269
|
+
this.j44_1 = aid;
|
|
36225
36270
|
}
|
|
36226
36271
|
protoOf(CombinationChoiceMechanicAction).u40 = function () {
|
|
36227
|
-
return this.
|
|
36272
|
+
return this.j44_1;
|
|
36228
36273
|
};
|
|
36229
36274
|
protoOf(CombinationChoiceMechanicAction).k1v = function () {
|
|
36230
36275
|
return true;
|
|
36231
36276
|
};
|
|
36232
36277
|
protoOf(CombinationChoiceMechanicAction).o1p = function () {
|
|
36233
|
-
return this.
|
|
36278
|
+
return this.i44_1;
|
|
36234
36279
|
};
|
|
36235
36280
|
protoOf(CombinationChoiceMechanicAction).toString = function () {
|
|
36236
|
-
return 'CombinationChoiceMechanicAction(isAnnounced=' + this.
|
|
36281
|
+
return 'CombinationChoiceMechanicAction(isAnnounced=' + this.g44_1 + ', combinations=' + toString(this.h44_1) + ', currentTurnPlayerId=' + this.i44_1 + ', aid=' + this.j44_1 + ')';
|
|
36237
36282
|
};
|
|
36238
36283
|
protoOf(CombinationChoiceMechanicAction).hashCode = function () {
|
|
36239
|
-
var result = getBooleanHashCode(this.
|
|
36240
|
-
result = imul(result, 31) + hashCode(this.
|
|
36241
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
36242
|
-
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;
|
|
36243
36288
|
return result;
|
|
36244
36289
|
};
|
|
36245
36290
|
protoOf(CombinationChoiceMechanicAction).equals = function (other) {
|
|
@@ -36247,13 +36292,13 @@
|
|
|
36247
36292
|
return true;
|
|
36248
36293
|
if (!(other instanceof CombinationChoiceMechanicAction))
|
|
36249
36294
|
return false;
|
|
36250
|
-
if (!(this.
|
|
36295
|
+
if (!(this.g44_1 === other.g44_1))
|
|
36251
36296
|
return false;
|
|
36252
|
-
if (!equals(this.
|
|
36297
|
+
if (!equals(this.h44_1, other.h44_1))
|
|
36253
36298
|
return false;
|
|
36254
|
-
if (!(this.
|
|
36299
|
+
if (!(this.i44_1 === other.i44_1))
|
|
36255
36300
|
return false;
|
|
36256
|
-
if (!(this.
|
|
36301
|
+
if (!(this.j44_1 == other.j44_1))
|
|
36257
36302
|
return false;
|
|
36258
36303
|
return true;
|
|
36259
36304
|
};
|
|
@@ -36261,36 +36306,36 @@
|
|
|
36261
36306
|
combinations = combinations === VOID ? null : combinations;
|
|
36262
36307
|
aid = aid === VOID ? null : aid;
|
|
36263
36308
|
MechanicAction.call(this);
|
|
36264
|
-
this.
|
|
36265
|
-
this.
|
|
36266
|
-
this.
|
|
36267
|
-
this.
|
|
36268
|
-
this.
|
|
36269
|
-
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;
|
|
36270
36315
|
}
|
|
36271
36316
|
protoOf(PutCardMechanicAction).u40 = function () {
|
|
36272
|
-
return this.
|
|
36317
|
+
return this.p44_1;
|
|
36273
36318
|
};
|
|
36274
36319
|
protoOf(PutCardMechanicAction).o1p = function () {
|
|
36275
|
-
return this.
|
|
36320
|
+
return this.n44_1;
|
|
36276
36321
|
};
|
|
36277
36322
|
protoOf(PutCardMechanicAction).toString = function () {
|
|
36278
|
-
var tmp = "currentTurnPlayerId='" + this.
|
|
36323
|
+
var tmp = "currentTurnPlayerId='" + this.n44_1 + "'";
|
|
36279
36324
|
// Inline function 'kotlin.takeIf' call
|
|
36280
|
-
var this_0 = 'nextTurnPlayerIds=' + toString(this.
|
|
36325
|
+
var this_0 = 'nextTurnPlayerIds=' + toString(this.o44_1);
|
|
36281
36326
|
var tmp_0;
|
|
36282
36327
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
36283
|
-
if (!this.
|
|
36328
|
+
if (!this.o44_1.r()) {
|
|
36284
36329
|
tmp_0 = this_0;
|
|
36285
36330
|
} else {
|
|
36286
36331
|
tmp_0 = null;
|
|
36287
36332
|
}
|
|
36288
36333
|
var tmp_1 = tmp_0;
|
|
36289
|
-
var tmp_2 = 'card=' + this.
|
|
36334
|
+
var tmp_2 = 'card=' + this.k44_1.toString();
|
|
36290
36335
|
// Inline function 'kotlin.takeIf' call
|
|
36291
|
-
var this_1 = 'combinations=' + toString_0(this.
|
|
36336
|
+
var this_1 = 'combinations=' + toString_0(this.l44_1);
|
|
36292
36337
|
var tmp_3;
|
|
36293
|
-
var tmp0_safe_receiver = this.
|
|
36338
|
+
var tmp0_safe_receiver = this.l44_1;
|
|
36294
36339
|
var tmp_4;
|
|
36295
36340
|
if (tmp0_safe_receiver == null) {
|
|
36296
36341
|
tmp_4 = null;
|
|
@@ -36305,9 +36350,9 @@
|
|
|
36305
36350
|
}
|
|
36306
36351
|
var tmp_5 = tmp_3;
|
|
36307
36352
|
// Inline function 'kotlin.takeIf' call
|
|
36308
|
-
var this_2 = 'aid=' + this.
|
|
36353
|
+
var this_2 = 'aid=' + this.p44_1;
|
|
36309
36354
|
var tmp_6;
|
|
36310
|
-
if (!(this.
|
|
36355
|
+
if (!(this.p44_1 == null)) {
|
|
36311
36356
|
tmp_6 = this_2;
|
|
36312
36357
|
} else {
|
|
36313
36358
|
tmp_6 = null;
|
|
@@ -36316,12 +36361,12 @@
|
|
|
36316
36361
|
return 'PutCardMechanicAction(' + joinToString(listOfNotNull([tmp, tmp_1, tmp_2, tmp_5, tmp$ret$7])) + ')';
|
|
36317
36362
|
};
|
|
36318
36363
|
protoOf(PutCardMechanicAction).hashCode = function () {
|
|
36319
|
-
var result = this.
|
|
36320
|
-
result = imul(result, 31) + (this.
|
|
36321
|
-
result = imul(result, 31) + getBooleanHashCode(this.
|
|
36322
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
36323
|
-
result = imul(result, 31) + hashCode(this.
|
|
36324
|
-
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;
|
|
36325
36370
|
return result;
|
|
36326
36371
|
};
|
|
36327
36372
|
protoOf(PutCardMechanicAction).equals = function (other) {
|
|
@@ -36329,35 +36374,35 @@
|
|
|
36329
36374
|
return true;
|
|
36330
36375
|
if (!(other instanceof PutCardMechanicAction))
|
|
36331
36376
|
return false;
|
|
36332
|
-
if (!this.
|
|
36377
|
+
if (!this.k44_1.equals(other.k44_1))
|
|
36333
36378
|
return false;
|
|
36334
|
-
if (!equals(this.
|
|
36379
|
+
if (!equals(this.l44_1, other.l44_1))
|
|
36335
36380
|
return false;
|
|
36336
|
-
if (!(this.
|
|
36381
|
+
if (!(this.m44_1 === other.m44_1))
|
|
36337
36382
|
return false;
|
|
36338
|
-
if (!(this.
|
|
36383
|
+
if (!(this.n44_1 === other.n44_1))
|
|
36339
36384
|
return false;
|
|
36340
|
-
if (!equals(this.
|
|
36385
|
+
if (!equals(this.o44_1, other.o44_1))
|
|
36341
36386
|
return false;
|
|
36342
|
-
if (!(this.
|
|
36387
|
+
if (!(this.p44_1 == other.p44_1))
|
|
36343
36388
|
return false;
|
|
36344
36389
|
return true;
|
|
36345
36390
|
};
|
|
36346
36391
|
function TrumpMechanicAction(suit, aid) {
|
|
36347
36392
|
aid = aid === VOID ? null : aid;
|
|
36348
36393
|
MechanicAction.call(this);
|
|
36349
|
-
this.
|
|
36350
|
-
this.
|
|
36394
|
+
this.q44_1 = suit;
|
|
36395
|
+
this.r44_1 = aid;
|
|
36351
36396
|
}
|
|
36352
36397
|
protoOf(TrumpMechanicAction).u40 = function () {
|
|
36353
|
-
return this.
|
|
36398
|
+
return this.r44_1;
|
|
36354
36399
|
};
|
|
36355
36400
|
protoOf(TrumpMechanicAction).toString = function () {
|
|
36356
|
-
return 'TrumpMechanicAction(suit=' + this.
|
|
36401
|
+
return 'TrumpMechanicAction(suit=' + this.q44_1.toString() + ', aid=' + this.r44_1 + ')';
|
|
36357
36402
|
};
|
|
36358
36403
|
protoOf(TrumpMechanicAction).hashCode = function () {
|
|
36359
|
-
var result = this.
|
|
36360
|
-
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;
|
|
36361
36406
|
return result;
|
|
36362
36407
|
};
|
|
36363
36408
|
protoOf(TrumpMechanicAction).equals = function (other) {
|
|
@@ -36365,34 +36410,34 @@
|
|
|
36365
36410
|
return true;
|
|
36366
36411
|
if (!(other instanceof TrumpMechanicAction))
|
|
36367
36412
|
return false;
|
|
36368
|
-
if (!this.
|
|
36413
|
+
if (!this.q44_1.equals(other.q44_1))
|
|
36369
36414
|
return false;
|
|
36370
|
-
if (!(this.
|
|
36415
|
+
if (!(this.r44_1 == other.r44_1))
|
|
36371
36416
|
return false;
|
|
36372
36417
|
return true;
|
|
36373
36418
|
};
|
|
36374
36419
|
function PickUpBribeMechanicAction(whoGotBribePlayerId, numberOfBribe, canNextPlayerTakeAllCards, aid) {
|
|
36375
36420
|
aid = aid === VOID ? null : aid;
|
|
36376
36421
|
MechanicAction.call(this);
|
|
36377
|
-
this.
|
|
36378
|
-
this.
|
|
36379
|
-
this.
|
|
36380
|
-
this.
|
|
36422
|
+
this.s44_1 = whoGotBribePlayerId;
|
|
36423
|
+
this.t44_1 = numberOfBribe;
|
|
36424
|
+
this.u44_1 = canNextPlayerTakeAllCards;
|
|
36425
|
+
this.v44_1 = aid;
|
|
36381
36426
|
}
|
|
36382
36427
|
protoOf(PickUpBribeMechanicAction).u40 = function () {
|
|
36383
|
-
return this.
|
|
36428
|
+
return this.v44_1;
|
|
36384
36429
|
};
|
|
36385
36430
|
protoOf(PickUpBribeMechanicAction).k1v = function () {
|
|
36386
36431
|
return true;
|
|
36387
36432
|
};
|
|
36388
36433
|
protoOf(PickUpBribeMechanicAction).toString = function () {
|
|
36389
|
-
return 'PickUpBribeMechanicAction(whoGotBribePlayerId=' + this.
|
|
36434
|
+
return 'PickUpBribeMechanicAction(whoGotBribePlayerId=' + this.s44_1 + ', numberOfBribe=' + this.t44_1 + ', canNextPlayerTakeAllCards=' + this.u44_1 + ', aid=' + this.v44_1 + ')';
|
|
36390
36435
|
};
|
|
36391
36436
|
protoOf(PickUpBribeMechanicAction).hashCode = function () {
|
|
36392
|
-
var result = getStringHashCode(this.
|
|
36393
|
-
result = imul(result, 31) + this.
|
|
36394
|
-
result = imul(result, 31) + getBooleanHashCode(this.
|
|
36395
|
-
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;
|
|
36396
36441
|
return result;
|
|
36397
36442
|
};
|
|
36398
36443
|
protoOf(PickUpBribeMechanicAction).equals = function (other) {
|
|
@@ -36400,36 +36445,36 @@
|
|
|
36400
36445
|
return true;
|
|
36401
36446
|
if (!(other instanceof PickUpBribeMechanicAction))
|
|
36402
36447
|
return false;
|
|
36403
|
-
if (!(this.
|
|
36448
|
+
if (!(this.s44_1 === other.s44_1))
|
|
36404
36449
|
return false;
|
|
36405
|
-
if (!(this.
|
|
36450
|
+
if (!(this.t44_1 === other.t44_1))
|
|
36406
36451
|
return false;
|
|
36407
|
-
if (!(this.
|
|
36452
|
+
if (!(this.u44_1 === other.u44_1))
|
|
36408
36453
|
return false;
|
|
36409
|
-
if (!(this.
|
|
36454
|
+
if (!(this.v44_1 == other.v44_1))
|
|
36410
36455
|
return false;
|
|
36411
36456
|
return true;
|
|
36412
36457
|
};
|
|
36413
36458
|
function TakeAllRemainingCardsMechanicAction(currentTurnPlayerId, playersCards, aid) {
|
|
36414
36459
|
aid = aid === VOID ? null : aid;
|
|
36415
36460
|
MechanicAction.call(this);
|
|
36416
|
-
this.
|
|
36417
|
-
this.
|
|
36418
|
-
this.
|
|
36461
|
+
this.w44_1 = currentTurnPlayerId;
|
|
36462
|
+
this.x44_1 = playersCards;
|
|
36463
|
+
this.y44_1 = aid;
|
|
36419
36464
|
}
|
|
36420
36465
|
protoOf(TakeAllRemainingCardsMechanicAction).u40 = function () {
|
|
36421
|
-
return this.
|
|
36466
|
+
return this.y44_1;
|
|
36422
36467
|
};
|
|
36423
36468
|
protoOf(TakeAllRemainingCardsMechanicAction).o1p = function () {
|
|
36424
|
-
return this.
|
|
36469
|
+
return this.w44_1;
|
|
36425
36470
|
};
|
|
36426
36471
|
protoOf(TakeAllRemainingCardsMechanicAction).toString = function () {
|
|
36427
|
-
return 'TakeAllRemainingCardsMechanicAction(currentTurnPlayerId=' + this.
|
|
36472
|
+
return 'TakeAllRemainingCardsMechanicAction(currentTurnPlayerId=' + this.w44_1 + ', playersCards=' + toString(this.x44_1) + ', aid=' + this.y44_1 + ')';
|
|
36428
36473
|
};
|
|
36429
36474
|
protoOf(TakeAllRemainingCardsMechanicAction).hashCode = function () {
|
|
36430
|
-
var result = getStringHashCode(this.
|
|
36431
|
-
result = imul(result, 31) + hashCode(this.
|
|
36432
|
-
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;
|
|
36433
36478
|
return result;
|
|
36434
36479
|
};
|
|
36435
36480
|
protoOf(TakeAllRemainingCardsMechanicAction).equals = function (other) {
|
|
@@ -36437,32 +36482,32 @@
|
|
|
36437
36482
|
return true;
|
|
36438
36483
|
if (!(other instanceof TakeAllRemainingCardsMechanicAction))
|
|
36439
36484
|
return false;
|
|
36440
|
-
if (!(this.
|
|
36485
|
+
if (!(this.w44_1 === other.w44_1))
|
|
36441
36486
|
return false;
|
|
36442
|
-
if (!equals(this.
|
|
36487
|
+
if (!equals(this.x44_1, other.x44_1))
|
|
36443
36488
|
return false;
|
|
36444
|
-
if (!(this.
|
|
36489
|
+
if (!(this.y44_1 == other.y44_1))
|
|
36445
36490
|
return false;
|
|
36446
36491
|
return true;
|
|
36447
36492
|
};
|
|
36448
36493
|
function WinnerCombinationsMechanicAction(winnerCombinations, aid) {
|
|
36449
36494
|
aid = aid === VOID ? null : aid;
|
|
36450
36495
|
MechanicAction.call(this);
|
|
36451
|
-
this.
|
|
36452
|
-
this.
|
|
36496
|
+
this.z44_1 = winnerCombinations;
|
|
36497
|
+
this.a45_1 = aid;
|
|
36453
36498
|
}
|
|
36454
36499
|
protoOf(WinnerCombinationsMechanicAction).u40 = function () {
|
|
36455
|
-
return this.
|
|
36500
|
+
return this.a45_1;
|
|
36456
36501
|
};
|
|
36457
36502
|
protoOf(WinnerCombinationsMechanicAction).k1v = function () {
|
|
36458
36503
|
return true;
|
|
36459
36504
|
};
|
|
36460
36505
|
protoOf(WinnerCombinationsMechanicAction).toString = function () {
|
|
36461
|
-
return 'WinnerCombinationsMechanicAction(winnerCombinations=' + toString(this.
|
|
36506
|
+
return 'WinnerCombinationsMechanicAction(winnerCombinations=' + toString(this.z44_1) + ', aid=' + this.a45_1 + ')';
|
|
36462
36507
|
};
|
|
36463
36508
|
protoOf(WinnerCombinationsMechanicAction).hashCode = function () {
|
|
36464
|
-
var result = hashCode(this.
|
|
36465
|
-
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;
|
|
36466
36511
|
return result;
|
|
36467
36512
|
};
|
|
36468
36513
|
protoOf(WinnerCombinationsMechanicAction).equals = function (other) {
|
|
@@ -36470,27 +36515,27 @@
|
|
|
36470
36515
|
return true;
|
|
36471
36516
|
if (!(other instanceof WinnerCombinationsMechanicAction))
|
|
36472
36517
|
return false;
|
|
36473
|
-
if (!equals(this.
|
|
36518
|
+
if (!equals(this.z44_1, other.z44_1))
|
|
36474
36519
|
return false;
|
|
36475
|
-
if (!(this.
|
|
36520
|
+
if (!(this.a45_1 == other.a45_1))
|
|
36476
36521
|
return false;
|
|
36477
36522
|
return true;
|
|
36478
36523
|
};
|
|
36479
36524
|
function ErrorAction(error, aid) {
|
|
36480
36525
|
aid = aid === VOID ? null : aid;
|
|
36481
36526
|
MechanicAction.call(this);
|
|
36482
|
-
this.
|
|
36483
|
-
this.
|
|
36527
|
+
this.b45_1 = error;
|
|
36528
|
+
this.c45_1 = aid;
|
|
36484
36529
|
}
|
|
36485
36530
|
protoOf(ErrorAction).u40 = function () {
|
|
36486
|
-
return this.
|
|
36531
|
+
return this.c45_1;
|
|
36487
36532
|
};
|
|
36488
36533
|
protoOf(ErrorAction).toString = function () {
|
|
36489
|
-
return 'ErrorAction(error=' + this.
|
|
36534
|
+
return 'ErrorAction(error=' + this.b45_1.toString() + ', aid=' + this.c45_1 + ')';
|
|
36490
36535
|
};
|
|
36491
36536
|
protoOf(ErrorAction).hashCode = function () {
|
|
36492
|
-
var result = this.
|
|
36493
|
-
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;
|
|
36494
36539
|
return result;
|
|
36495
36540
|
};
|
|
36496
36541
|
protoOf(ErrorAction).equals = function (other) {
|
|
@@ -36498,9 +36543,9 @@
|
|
|
36498
36543
|
return true;
|
|
36499
36544
|
if (!(other instanceof ErrorAction))
|
|
36500
36545
|
return false;
|
|
36501
|
-
if (!this.
|
|
36546
|
+
if (!this.b45_1.equals(other.b45_1))
|
|
36502
36547
|
return false;
|
|
36503
|
-
if (!(this.
|
|
36548
|
+
if (!(this.c45_1 == other.c45_1))
|
|
36504
36549
|
return false;
|
|
36505
36550
|
return true;
|
|
36506
36551
|
};
|
|
@@ -37033,9 +37078,9 @@
|
|
|
37033
37078
|
}
|
|
37034
37079
|
}
|
|
37035
37080
|
function GameHelperImpl(logger) {
|
|
37036
|
-
this.
|
|
37081
|
+
this.g45_1 = logger;
|
|
37037
37082
|
}
|
|
37038
|
-
protoOf(GameHelperImpl).
|
|
37083
|
+
protoOf(GameHelperImpl).d45 = function (store, playerIds, includeBots) {
|
|
37039
37084
|
var state = store.state;
|
|
37040
37085
|
var tmp;
|
|
37041
37086
|
if (!state.x2e()) {
|
|
@@ -37081,7 +37126,7 @@
|
|
|
37081
37126
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
37082
37127
|
return copyToArray(destination_1);
|
|
37083
37128
|
};
|
|
37084
|
-
protoOf(GameHelperImpl).
|
|
37129
|
+
protoOf(GameHelperImpl).e45 = function (store, playerIds, includeBots) {
|
|
37085
37130
|
var state = store.state;
|
|
37086
37131
|
var tmp;
|
|
37087
37132
|
if (!state.x2e()) {
|
|
@@ -37252,10 +37297,10 @@
|
|
|
37252
37297
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
37253
37298
|
return copyToArray(destination);
|
|
37254
37299
|
};
|
|
37255
|
-
protoOf(GameHelperImpl).
|
|
37300
|
+
protoOf(GameHelperImpl).f45 = function (mode, points, players, timeoutTimeMillis, rulesSetType, rules, isEnableChat, isBotsEnabled, isPrivate, dealerStrategy, transition, league) {
|
|
37256
37301
|
var roomMode = mapToRoomMode(mode);
|
|
37257
37302
|
var isEnableChoosePartnerScreen = (transition == null || transition.isEnableChoosePartnerScreen) && roomMode.isEnableChoosePartnerScreen;
|
|
37258
|
-
this.
|
|
37303
|
+
this.g45_1.v(VOID, 'createConfig: ' + ('mode = ' + roomMode.toString() + ', ') + ('transition = ' + toString_0(transition) + ', ') + ('isPrivate = ' + isPrivate + ', ') + ('dealerStrategy = ' + dealerStrategy + ', ') + ('league = ' + league + ', ') + ('isEnableChoosePartnerScreen = ' + isEnableChoosePartnerScreen + ' '));
|
|
37259
37304
|
var options = Companion_instance_153.getServerOptions(isEnableChat, isBotsEnabled, isEnableChoosePartnerScreen);
|
|
37260
37305
|
var playersMode = this.mapPlayers(players);
|
|
37261
37306
|
var pointsMode = this.mapPoints(points);
|
|
@@ -37690,40 +37735,40 @@
|
|
|
37690
37735
|
function getRandomAvatarData_0($this) {
|
|
37691
37736
|
var avatarSetNumber = Default_getInstance().wd(get_entries_5().o());
|
|
37692
37737
|
var avatarSet = get_entries_5().p(avatarSetNumber);
|
|
37693
|
-
return new AvatarData(Default_getInstance().wd(avatarSet.
|
|
37738
|
+
return new AvatarData(Default_getInstance().wd(avatarSet.m45()), avatarSet);
|
|
37694
37739
|
}
|
|
37695
37740
|
function getAvatarUrlByIndex($this, data) {
|
|
37696
37741
|
return mapToPattern($this, data);
|
|
37697
37742
|
}
|
|
37698
37743
|
function getNicknameByIndex($this, data) {
|
|
37699
|
-
return data.
|
|
37744
|
+
return data.o45_1.p45(data.n45_1);
|
|
37700
37745
|
}
|
|
37701
37746
|
function mapToPattern($this, data) {
|
|
37702
|
-
return 'debertz://raspberry.games/' + data.
|
|
37747
|
+
return 'debertz://raspberry.games/' + data.o45_1.h2_1 + '/' + data.n45_1;
|
|
37703
37748
|
}
|
|
37704
37749
|
function Companion_160() {
|
|
37705
37750
|
Companion_instance_164 = this;
|
|
37706
|
-
this.
|
|
37751
|
+
this.q45_1 = 'debertz://raspberry.games';
|
|
37707
37752
|
var tmp = this;
|
|
37708
37753
|
// Inline function 'kotlin.arrayOf' call
|
|
37709
37754
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
37710
37755
|
// Inline function 'kotlin.js.asDynamic' call
|
|
37711
|
-
tmp.
|
|
37756
|
+
tmp.r45_1 = ['Helen', 'Kelvin', 'Josh', 'Cler', 'Anna', 'Emily', 'Tom', 'Peter', 'Kate', 'Lucy', 'Bob', 'Holly', 'Alex', 'Mark', 'Sarah', 'Naomi'];
|
|
37712
37757
|
var tmp_0 = this;
|
|
37713
37758
|
// Inline function 'kotlin.arrayOf' call
|
|
37714
37759
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
37715
37760
|
// Inline function 'kotlin.js.asDynamic' call
|
|
37716
|
-
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'];
|
|
37717
37762
|
var tmp_1 = this;
|
|
37718
37763
|
// Inline function 'kotlin.arrayOf' call
|
|
37719
37764
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
37720
37765
|
// Inline function 'kotlin.js.asDynamic' call
|
|
37721
|
-
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'];
|
|
37722
37767
|
var tmp_2 = this;
|
|
37723
37768
|
// Inline function 'kotlin.arrayOf' call
|
|
37724
37769
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
37725
37770
|
// Inline function 'kotlin.js.asDynamic' call
|
|
37726
|
-
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'];
|
|
37727
37772
|
}
|
|
37728
37773
|
var Companion_instance_164;
|
|
37729
37774
|
function Companion_getInstance_167() {
|
|
@@ -37734,14 +37779,14 @@
|
|
|
37734
37779
|
function AvatarSet(name, ordinal) {
|
|
37735
37780
|
Enum.call(this, name, ordinal);
|
|
37736
37781
|
}
|
|
37737
|
-
protoOf(AvatarSet).
|
|
37782
|
+
protoOf(AvatarSet).m45 = function () {
|
|
37738
37783
|
var tmp;
|
|
37739
37784
|
switch (this.h2_1) {
|
|
37740
37785
|
case 0:
|
|
37741
|
-
tmp = Companion_getInstance_167().
|
|
37786
|
+
tmp = Companion_getInstance_167().s45_1.length;
|
|
37742
37787
|
break;
|
|
37743
37788
|
case 1:
|
|
37744
|
-
tmp = Companion_getInstance_167().
|
|
37789
|
+
tmp = Companion_getInstance_167().u45_1.length;
|
|
37745
37790
|
break;
|
|
37746
37791
|
default:
|
|
37747
37792
|
noWhenBranchMatchedException();
|
|
@@ -37749,14 +37794,14 @@
|
|
|
37749
37794
|
}
|
|
37750
37795
|
return tmp;
|
|
37751
37796
|
};
|
|
37752
|
-
protoOf(AvatarSet).
|
|
37797
|
+
protoOf(AvatarSet).p45 = function (index) {
|
|
37753
37798
|
var tmp;
|
|
37754
37799
|
switch (this.h2_1) {
|
|
37755
37800
|
case 0:
|
|
37756
|
-
tmp = Companion_getInstance_167().
|
|
37801
|
+
tmp = Companion_getInstance_167().s45_1[index];
|
|
37757
37802
|
break;
|
|
37758
37803
|
case 1:
|
|
37759
|
-
tmp = Companion_getInstance_167().
|
|
37804
|
+
tmp = Companion_getInstance_167().u45_1[index];
|
|
37760
37805
|
break;
|
|
37761
37806
|
default:
|
|
37762
37807
|
noWhenBranchMatchedException();
|
|
@@ -37765,8 +37810,8 @@
|
|
|
37765
37810
|
return tmp;
|
|
37766
37811
|
};
|
|
37767
37812
|
function AvatarData(index, avatarSet) {
|
|
37768
|
-
this.
|
|
37769
|
-
this.
|
|
37813
|
+
this.n45_1 = index;
|
|
37814
|
+
this.o45_1 = avatarSet;
|
|
37770
37815
|
}
|
|
37771
37816
|
function AvatarSet_ORIGIN_getInstance() {
|
|
37772
37817
|
AvatarSet_initEntries();
|
|
@@ -37779,7 +37824,7 @@
|
|
|
37779
37824
|
function GameResourcesImpl() {
|
|
37780
37825
|
Companion_getInstance_167();
|
|
37781
37826
|
}
|
|
37782
|
-
protoOf(GameResourcesImpl).
|
|
37827
|
+
protoOf(GameResourcesImpl).j45 = function (playerId, existingNicknames) {
|
|
37783
37828
|
return createUser(this, playerId, existingNicknames);
|
|
37784
37829
|
};
|
|
37785
37830
|
protoOf(GameResourcesImpl).createBotUsers = function (playerIds) {
|
|
@@ -37820,45 +37865,45 @@
|
|
|
37820
37865
|
}
|
|
37821
37866
|
var WARN;
|
|
37822
37867
|
function LoggerCallbacksWrapperLoggerOutput(loggerCallback) {
|
|
37823
|
-
this.
|
|
37868
|
+
this.v45_1 = loggerCallback;
|
|
37824
37869
|
}
|
|
37825
37870
|
protoOf(LoggerCallbacksWrapperLoggerOutput).i15 = function (tag, message, payload) {
|
|
37826
|
-
this.
|
|
37871
|
+
this.v45_1('debug', tag, message, null, payload);
|
|
37827
37872
|
};
|
|
37828
37873
|
protoOf(LoggerCallbacksWrapperLoggerOutput).j15 = function (tag, message, exception, payload) {
|
|
37829
|
-
this.
|
|
37874
|
+
this.v45_1('error', tag, generateMsg(message, exception), exception, payload);
|
|
37830
37875
|
};
|
|
37831
37876
|
protoOf(LoggerCallbacksWrapperLoggerOutput).m15 = function (tag, message, payload) {
|
|
37832
|
-
this.
|
|
37877
|
+
this.v45_1('debug', tag, message, null, payload);
|
|
37833
37878
|
};
|
|
37834
37879
|
protoOf(LoggerCallbacksWrapperLoggerOutput).l15 = function (tag, message, exception, payload) {
|
|
37835
|
-
this.
|
|
37880
|
+
this.v45_1('debug', tag, generateMsg(message, exception), exception, payload);
|
|
37836
37881
|
};
|
|
37837
37882
|
protoOf(LoggerCallbacksWrapperLoggerOutput).k15 = function (tag, message, exception, payload) {
|
|
37838
|
-
this.
|
|
37883
|
+
this.v45_1('warn', tag, generateMsg(message, exception), exception, payload);
|
|
37839
37884
|
};
|
|
37840
37885
|
function ParserHelper() {
|
|
37841
37886
|
}
|
|
37842
37887
|
function ParserHelperImpl(json, encoderDecoderProvider) {
|
|
37843
|
-
this.
|
|
37844
|
-
this.
|
|
37888
|
+
this.w45_1 = json;
|
|
37889
|
+
this.x45_1 = encoderDecoderProvider;
|
|
37845
37890
|
}
|
|
37846
37891
|
protoOf(ParserHelperImpl).encodeFromClientEvent = function (action) {
|
|
37847
|
-
return this.
|
|
37892
|
+
return this.x45_1.f40(mapToDto_20(action));
|
|
37848
37893
|
};
|
|
37849
37894
|
protoOf(ParserHelperImpl).decodeFromClientEvent = function (fromPlayerId, json) {
|
|
37850
|
-
return mapFromDto_16(this.
|
|
37895
|
+
return mapFromDto_16(this.x45_1.i40(json), fromPlayerId);
|
|
37851
37896
|
};
|
|
37852
37897
|
protoOf(ParserHelperImpl).encodeToClientEvent = function (action) {
|
|
37853
|
-
return this.
|
|
37898
|
+
return this.x45_1.g40(mapToDto_78(action));
|
|
37854
37899
|
};
|
|
37855
37900
|
protoOf(ParserHelperImpl).decodeToClientEventToMechanicActions = function (playerId, engine, json) {
|
|
37856
37901
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
37857
|
-
var this_0 = mapFromClientDtoListWithPayload(this.
|
|
37902
|
+
var this_0 = mapFromClientDtoListWithPayload(this.x45_1.j40(json), playerId, engine);
|
|
37858
37903
|
return copyToArray(this_0);
|
|
37859
37904
|
};
|
|
37860
37905
|
protoOf(ParserHelperImpl).encodeGameRound = function (round) {
|
|
37861
|
-
var tmp0 = this.
|
|
37906
|
+
var tmp0 = this.w45_1;
|
|
37862
37907
|
// Inline function 'kotlinx.serialization.json.Json.encodeToString' call
|
|
37863
37908
|
var value = mapToDto_35(round);
|
|
37864
37909
|
// Inline function 'kotlinx.serialization.serializer' call
|
|
@@ -37869,7 +37914,7 @@
|
|
|
37869
37914
|
return tmp0.o23(tmp$ret$1, value);
|
|
37870
37915
|
};
|
|
37871
37916
|
protoOf(ParserHelperImpl).encodeGameRoundItems = function (round) {
|
|
37872
|
-
var tmp0 = this.
|
|
37917
|
+
var tmp0 = this.w45_1;
|
|
37873
37918
|
// Inline function 'kotlin.collections.map' call
|
|
37874
37919
|
var this_0 = round.items;
|
|
37875
37920
|
// Inline function 'kotlin.collections.mapTo' call
|
|
@@ -37891,7 +37936,7 @@
|
|
|
37891
37936
|
return tmp0.o23(tmp$ret$4, destination);
|
|
37892
37937
|
};
|
|
37893
37938
|
protoOf(ParserHelperImpl).encodeGameMetadata = function (metadata) {
|
|
37894
|
-
var tmp0 = this.
|
|
37939
|
+
var tmp0 = this.w45_1;
|
|
37895
37940
|
// Inline function 'kotlinx.serialization.json.Json.encodeToString' call
|
|
37896
37941
|
var value = mapToDto_34(metadata);
|
|
37897
37942
|
// Inline function 'kotlinx.serialization.serializer' call
|
|
@@ -37902,7 +37947,7 @@
|
|
|
37902
37947
|
return tmp0.o23(tmp$ret$1, value);
|
|
37903
37948
|
};
|
|
37904
37949
|
protoOf(ParserHelperImpl).encodeRoomConfig = function (config) {
|
|
37905
|
-
var tmp0 = this.
|
|
37950
|
+
var tmp0 = this.w45_1;
|
|
37906
37951
|
// Inline function 'kotlinx.serialization.json.Json.encodeToString' call
|
|
37907
37952
|
var value = mapToDto_63(config);
|
|
37908
37953
|
// Inline function 'kotlinx.serialization.serializer' call
|
|
@@ -37913,7 +37958,7 @@
|
|
|
37913
37958
|
return tmp0.o23(tmp$ret$1, value);
|
|
37914
37959
|
};
|
|
37915
37960
|
protoOf(ParserHelperImpl).encodeGameToRoomTransition = function (transition) {
|
|
37916
|
-
var tmp0 = this.
|
|
37961
|
+
var tmp0 = this.w45_1;
|
|
37917
37962
|
// Inline function 'kotlinx.serialization.json.Json.encodeToString' call
|
|
37918
37963
|
var value = mapToDto_100(transition);
|
|
37919
37964
|
// Inline function 'kotlinx.serialization.serializer' call
|
|
@@ -37925,7 +37970,7 @@
|
|
|
37925
37970
|
};
|
|
37926
37971
|
protoOf(ParserHelperImpl).decodeGameToRoomTransition = function (json) {
|
|
37927
37972
|
// Inline function 'kotlinx.serialization.json.Json.decodeFromString' call
|
|
37928
|
-
var this_0 = this.
|
|
37973
|
+
var this_0 = this.w45_1;
|
|
37929
37974
|
// Inline function 'kotlinx.serialization.serializer' call
|
|
37930
37975
|
var this_1 = this_0.zn();
|
|
37931
37976
|
// Inline function 'kotlinx.serialization.internal.cast' call
|
|
@@ -37936,7 +37981,7 @@
|
|
|
37936
37981
|
};
|
|
37937
37982
|
protoOf(ParserHelperImpl).decodeTableStateWithActions = function (json) {
|
|
37938
37983
|
// Inline function 'kotlinx.serialization.json.Json.decodeFromString' call
|
|
37939
|
-
var this_0 = this.
|
|
37984
|
+
var this_0 = this.w45_1;
|
|
37940
37985
|
// Inline function 'kotlinx.serialization.serializer' call
|
|
37941
37986
|
var this_1 = this_0.zn();
|
|
37942
37987
|
// Inline function 'kotlinx.serialization.internal.cast' call
|
|
@@ -37946,7 +37991,7 @@
|
|
|
37946
37991
|
return mapFromDto_99(tmp$ret$2);
|
|
37947
37992
|
};
|
|
37948
37993
|
protoOf(ParserHelperImpl).encodeTableStateWithActions = function (table) {
|
|
37949
|
-
var tmp0 = this.
|
|
37994
|
+
var tmp0 = this.w45_1;
|
|
37950
37995
|
// Inline function 'kotlinx.serialization.json.Json.encodeToString' call
|
|
37951
37996
|
var value = mapToDto_131(table);
|
|
37952
37997
|
// Inline function 'kotlinx.serialization.serializer' call
|
|
@@ -37957,11 +38002,11 @@
|
|
|
37957
38002
|
return tmp0.o23(tmp$ret$1, value);
|
|
37958
38003
|
};
|
|
37959
38004
|
protoOf(ParserHelperImpl).decodeTableLite = function (json) {
|
|
37960
|
-
return mapFromDto_66(this.
|
|
38005
|
+
return mapFromDto_66(this.x45_1.h40(json));
|
|
37961
38006
|
};
|
|
37962
38007
|
protoOf(ParserHelperImpl).decodeFullGameHistoryToTableLite = function (json, round) {
|
|
37963
38008
|
// Inline function 'kotlinx.serialization.json.Json.decodeFromString' call
|
|
37964
|
-
var this_0 = this.
|
|
38009
|
+
var this_0 = this.w45_1;
|
|
37965
38010
|
// Inline function 'kotlinx.serialization.serializer' call
|
|
37966
38011
|
var this_1 = this_0.zn();
|
|
37967
38012
|
// Inline function 'kotlinx.serialization.internal.cast' call
|
|
@@ -37974,20 +38019,20 @@
|
|
|
37974
38019
|
function RatingHelper() {
|
|
37975
38020
|
}
|
|
37976
38021
|
function RatingHelperImpl(json, userRatingInteractor) {
|
|
37977
|
-
this.
|
|
37978
|
-
this.
|
|
38022
|
+
this.y45_1 = json;
|
|
38023
|
+
this.z45_1 = userRatingInteractor;
|
|
37979
38024
|
}
|
|
37980
38025
|
protoOf(RatingHelperImpl).isValidRatingForLeague = function (league, rating) {
|
|
37981
|
-
return this.
|
|
38026
|
+
return this.z45_1.o40(league, rating);
|
|
37982
38027
|
};
|
|
37983
38028
|
protoOf(RatingHelperImpl).mapRatingToLeague = function (rating) {
|
|
37984
|
-
return this.
|
|
38029
|
+
return this.z45_1.q40(rating);
|
|
37985
38030
|
};
|
|
37986
38031
|
protoOf(RatingHelperImpl).getLeaguesConfig = function () {
|
|
37987
|
-
return this.
|
|
38032
|
+
return this.z45_1.p40();
|
|
37988
38033
|
};
|
|
37989
38034
|
protoOf(RatingHelperImpl).getLeaguesConfigJson = function () {
|
|
37990
|
-
var tmp0 = this.
|
|
38035
|
+
var tmp0 = this.y45_1;
|
|
37991
38036
|
// Inline function 'kotlinx.serialization.json.Json.encodeToString' call
|
|
37992
38037
|
var value = mapToDto_47(this.getLeaguesConfig());
|
|
37993
38038
|
// Inline function 'kotlinx.serialization.serializer' call
|
|
@@ -38106,14 +38151,14 @@
|
|
|
38106
38151
|
return new GameResourcesImpl();
|
|
38107
38152
|
}
|
|
38108
38153
|
function _get_logger__rkp4sl($this) {
|
|
38109
|
-
var tmp0 = $this.
|
|
38154
|
+
var tmp0 = $this.b46_1;
|
|
38110
38155
|
var tmp = KProperty1;
|
|
38111
38156
|
// Inline function 'kotlin.getValue' call
|
|
38112
38157
|
getPropertyCallableRef('logger', 1, tmp, EngineHelpersFactory$_get_logger_$ref_np7wt5(), null);
|
|
38113
38158
|
return tmp0.v1();
|
|
38114
38159
|
}
|
|
38115
38160
|
function _get_di__ndbzja($this) {
|
|
38116
|
-
var tmp0 = $this.
|
|
38161
|
+
var tmp0 = $this.c46_1;
|
|
38117
38162
|
var tmp = KProperty1;
|
|
38118
38163
|
// Inline function 'kotlin.getValue' call
|
|
38119
38164
|
getPropertyCallableRef('di', 1, tmp, EngineHelpersFactory$_get_di_$ref_w4qz4i(), null);
|
|
@@ -38122,11 +38167,11 @@
|
|
|
38122
38167
|
function EngineHelpersFactory$logger$delegate$lambda(this$0) {
|
|
38123
38168
|
return function () {
|
|
38124
38169
|
var tmp;
|
|
38125
|
-
if (this$0.
|
|
38170
|
+
if (this$0.a46_1 == null) {
|
|
38126
38171
|
tmp = null;
|
|
38127
38172
|
} else {
|
|
38128
38173
|
// Inline function 'kotlin.let' call
|
|
38129
|
-
tmp = new CombinedRaspberryLogger(mutableListOf([new LoggerCallbacksWrapperLoggerOutput(this$0.
|
|
38174
|
+
tmp = new CombinedRaspberryLogger(mutableListOf([new LoggerCallbacksWrapperLoggerOutput(this$0.a46_1)]));
|
|
38130
38175
|
}
|
|
38131
38176
|
var tmp1_elvis_lhs = tmp;
|
|
38132
38177
|
return tmp1_elvis_lhs == null ? new PlatformRaspberryLogger() : tmp1_elvis_lhs;
|
|
@@ -38216,11 +38261,11 @@
|
|
|
38216
38261
|
}
|
|
38217
38262
|
function EngineHelpersFactory(loggerCallback) {
|
|
38218
38263
|
loggerCallback = loggerCallback === VOID ? null : loggerCallback;
|
|
38219
|
-
this.
|
|
38264
|
+
this.a46_1 = loggerCallback;
|
|
38220
38265
|
var tmp = this;
|
|
38221
|
-
tmp.
|
|
38266
|
+
tmp.b46_1 = lazy_0(EngineHelpersFactory$logger$delegate$lambda(this));
|
|
38222
38267
|
var tmp_0 = this;
|
|
38223
|
-
tmp_0.
|
|
38268
|
+
tmp_0.c46_1 = lazy_0(EngineHelpersFactory$di$delegate$lambda(this));
|
|
38224
38269
|
var tmp_1 = this;
|
|
38225
38270
|
// Inline function 'org.kodein.di.instance' call
|
|
38226
38271
|
var this_0 = _get_di__ndbzja(this);
|
|
@@ -38229,7 +38274,7 @@
|
|
|
38229
38274
|
var tmp$ret$0 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
38230
38275
|
var tmp_3 = Instance(this_0, tmp$ret$0, null);
|
|
38231
38276
|
var tmp_4 = KProperty1;
|
|
38232
|
-
tmp_1.
|
|
38277
|
+
tmp_1.d46_1 = tmp_3.j23(this, getPropertyCallableRef('ratingHelper', 1, tmp_4, EngineHelpersFactory$_get_ratingHelper_$ref_pl08ks(), null));
|
|
38233
38278
|
var tmp_5 = this;
|
|
38234
38279
|
// Inline function 'org.kodein.di.instance' call
|
|
38235
38280
|
var this_1 = _get_di__ndbzja(this);
|
|
@@ -38238,7 +38283,7 @@
|
|
|
38238
38283
|
var tmp$ret$2 = isInterface(tmp_6, TypeToken) ? tmp_6 : THROW_CCE();
|
|
38239
38284
|
var tmp_7 = Instance(this_1, tmp$ret$2, null);
|
|
38240
38285
|
var tmp_8 = KProperty1;
|
|
38241
|
-
tmp_5.
|
|
38286
|
+
tmp_5.e46_1 = tmp_7.j23(this, getPropertyCallableRef('parserHelper', 1, tmp_8, EngineHelpersFactory$_get_parserHelper_$ref_egvg46(), null));
|
|
38242
38287
|
var tmp_9 = this;
|
|
38243
38288
|
// Inline function 'org.kodein.di.instance' call
|
|
38244
38289
|
var this_2 = _get_di__ndbzja(this);
|
|
@@ -38247,7 +38292,7 @@
|
|
|
38247
38292
|
var tmp$ret$4 = isInterface(tmp_10, TypeToken) ? tmp_10 : THROW_CCE();
|
|
38248
38293
|
var tmp_11 = Instance(this_2, tmp$ret$4, null);
|
|
38249
38294
|
var tmp_12 = KProperty1;
|
|
38250
|
-
tmp_9.
|
|
38295
|
+
tmp_9.f46_1 = tmp_11.j23(this, getPropertyCallableRef('gameHelper', 1, tmp_12, EngineHelpersFactory$_get_gameHelper_$ref_7u8j93(), null));
|
|
38251
38296
|
var tmp_13 = this;
|
|
38252
38297
|
// Inline function 'org.kodein.di.instance' call
|
|
38253
38298
|
var this_3 = _get_di__ndbzja(this);
|
|
@@ -38256,31 +38301,31 @@
|
|
|
38256
38301
|
var tmp$ret$6 = isInterface(tmp_14, TypeToken) ? tmp_14 : THROW_CCE();
|
|
38257
38302
|
var tmp_15 = Instance(this_3, tmp$ret$6, null);
|
|
38258
38303
|
var tmp_16 = KProperty1;
|
|
38259
|
-
tmp_13.
|
|
38304
|
+
tmp_13.g46_1 = tmp_15.j23(this, getPropertyCallableRef('gameResources', 1, tmp_16, EngineHelpersFactory$_get_gameResources_$ref_kynd2o(), null));
|
|
38260
38305
|
}
|
|
38261
|
-
protoOf(EngineHelpersFactory).
|
|
38262
|
-
var tmp0 = this.
|
|
38306
|
+
protoOf(EngineHelpersFactory).h46 = function () {
|
|
38307
|
+
var tmp0 = this.d46_1;
|
|
38263
38308
|
var tmp = KProperty1;
|
|
38264
38309
|
// Inline function 'kotlin.getValue' call
|
|
38265
38310
|
getPropertyCallableRef('ratingHelper', 1, tmp, EngineHelpersFactory$_get_ratingHelper_$ref_pl08ks_0(), null);
|
|
38266
38311
|
return tmp0.v1();
|
|
38267
38312
|
};
|
|
38268
|
-
protoOf(EngineHelpersFactory).
|
|
38269
|
-
var tmp0 = this.
|
|
38313
|
+
protoOf(EngineHelpersFactory).i46 = function () {
|
|
38314
|
+
var tmp0 = this.e46_1;
|
|
38270
38315
|
var tmp = KProperty1;
|
|
38271
38316
|
// Inline function 'kotlin.getValue' call
|
|
38272
38317
|
getPropertyCallableRef('parserHelper', 1, tmp, EngineHelpersFactory$_get_parserHelper_$ref_egvg46_0(), null);
|
|
38273
38318
|
return tmp0.v1();
|
|
38274
38319
|
};
|
|
38275
|
-
protoOf(EngineHelpersFactory).
|
|
38276
|
-
var tmp0 = this.
|
|
38320
|
+
protoOf(EngineHelpersFactory).j46 = function () {
|
|
38321
|
+
var tmp0 = this.f46_1;
|
|
38277
38322
|
var tmp = KProperty1;
|
|
38278
38323
|
// Inline function 'kotlin.getValue' call
|
|
38279
38324
|
getPropertyCallableRef('gameHelper', 1, tmp, EngineHelpersFactory$_get_gameHelper_$ref_7u8j93_0(), null);
|
|
38280
38325
|
return tmp0.v1();
|
|
38281
38326
|
};
|
|
38282
|
-
protoOf(EngineHelpersFactory).
|
|
38283
|
-
var tmp0 = this.
|
|
38327
|
+
protoOf(EngineHelpersFactory).k46 = function () {
|
|
38328
|
+
var tmp0 = this.g46_1;
|
|
38284
38329
|
var tmp = KProperty1;
|
|
38285
38330
|
// Inline function 'kotlin.getValue' call
|
|
38286
38331
|
getPropertyCallableRef('gameResources', 1, tmp, EngineHelpersFactory$_get_gameResources_$ref_kynd2o_0(), null);
|
|
@@ -38958,6 +39003,28 @@
|
|
|
38958
39003
|
defineProp(protoOf(StartNewGameMechanicAction), 'actionTag', function () {
|
|
38959
39004
|
return this.i1v();
|
|
38960
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
|
+
});
|
|
38961
39028
|
protoOf(FinishingGameMechanicAction).ignoreValidation = ignoreValidation_0;
|
|
38962
39029
|
defineProp(protoOf(FinishingGameMechanicAction), 'reason', function () {
|
|
38963
39030
|
return this.x1p();
|
|
@@ -38991,7 +39058,7 @@
|
|
|
38991
39058
|
return this.w2s();
|
|
38992
39059
|
});
|
|
38993
39060
|
defineProp(protoOf(SceneMechanicAction), 'actData', function () {
|
|
38994
|
-
return this.
|
|
39061
|
+
return this.v42();
|
|
38995
39062
|
});
|
|
38996
39063
|
defineProp(protoOf(SceneMechanicAction), 'playerId', function () {
|
|
38997
39064
|
return this.o1p();
|
|
@@ -39009,7 +39076,7 @@
|
|
|
39009
39076
|
return this.i1v();
|
|
39010
39077
|
});
|
|
39011
39078
|
protoOf(PlayerConnectionChangedMechanicAction).ignoreValidation = ignoreValidation;
|
|
39012
|
-
defineProp(protoOf(PlayerConnectionChangedMechanicAction), 'isShouldBeDisconnectedFromSockets', protoOf(PlayerConnectionChangedMechanicAction).
|
|
39079
|
+
defineProp(protoOf(PlayerConnectionChangedMechanicAction), 'isShouldBeDisconnectedFromSockets', protoOf(PlayerConnectionChangedMechanicAction).p43);
|
|
39013
39080
|
defineProp(protoOf(PlayerConnectionChangedMechanicAction), 'isDeleted', protoOf(PlayerConnectionChangedMechanicAction).r1r);
|
|
39014
39081
|
defineProp(protoOf(PlayerConnectionChangedMechanicAction), 'actionTag', function () {
|
|
39015
39082
|
return this.i1v();
|
|
@@ -39017,25 +39084,6 @@
|
|
|
39017
39084
|
defineProp(protoOf(MessageMechanicAction), 'actionTag', function () {
|
|
39018
39085
|
return this.i1v();
|
|
39019
39086
|
});
|
|
39020
|
-
protoOf(ContinueGameMechanicAction).ignoreValidation = ignoreValidation;
|
|
39021
|
-
defineProp(protoOf(ContinueGameMechanicAction), 'id', function () {
|
|
39022
|
-
return this.j16();
|
|
39023
|
-
});
|
|
39024
|
-
defineProp(protoOf(ContinueGameMechanicAction), 'users', function () {
|
|
39025
|
-
return this.a3x();
|
|
39026
|
-
});
|
|
39027
|
-
defineProp(protoOf(ContinueGameMechanicAction), 'gameCreatorPlayerId', function () {
|
|
39028
|
-
return this.u41();
|
|
39029
|
-
});
|
|
39030
|
-
defineProp(protoOf(ContinueGameMechanicAction), 'version', function () {
|
|
39031
|
-
return this.k17();
|
|
39032
|
-
});
|
|
39033
|
-
defineProp(protoOf(ContinueGameMechanicAction), 'config', function () {
|
|
39034
|
-
return this.n3w();
|
|
39035
|
-
});
|
|
39036
|
-
defineProp(protoOf(ContinueGameMechanicAction), 'actionTag', function () {
|
|
39037
|
-
return this.i1v();
|
|
39038
|
-
});
|
|
39039
39087
|
protoOf(RestartGameMechanicAction).k1v = manualExpectantHandling;
|
|
39040
39088
|
protoOf(RestartGameMechanicAction).l1v = waitForExpectantAnimation;
|
|
39041
39089
|
defineProp(protoOf(RestartGameMechanicAction), 'actionTag', function () {
|
|
@@ -39048,7 +39096,7 @@
|
|
|
39048
39096
|
return this.w2s();
|
|
39049
39097
|
});
|
|
39050
39098
|
defineProp(protoOf(SceneActMechanicAction), 'actData', function () {
|
|
39051
|
-
return this.
|
|
39099
|
+
return this.v42();
|
|
39052
39100
|
});
|
|
39053
39101
|
defineProp(protoOf(SceneActMechanicAction), 'actionTag', function () {
|
|
39054
39102
|
return this.i1v();
|
|
@@ -39110,10 +39158,10 @@
|
|
|
39110
39158
|
protoOf(LoggerCallbacksWrapperLoggerOutput).i = i;
|
|
39111
39159
|
protoOf(LoggerCallbacksWrapperLoggerOutput).v = v;
|
|
39112
39160
|
protoOf(LoggerCallbacksWrapperLoggerOutput).w = w;
|
|
39113
|
-
defineProp(protoOf(EngineHelpersFactory), 'ratingHelper', protoOf(EngineHelpersFactory).
|
|
39114
|
-
defineProp(protoOf(EngineHelpersFactory), 'parserHelper', protoOf(EngineHelpersFactory).
|
|
39115
|
-
defineProp(protoOf(EngineHelpersFactory), 'gameHelper', protoOf(EngineHelpersFactory).
|
|
39116
|
-
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);
|
|
39117
39165
|
//endregion
|
|
39118
39166
|
//region block: init
|
|
39119
39167
|
Companion_instance_3 = new Companion();
|
|
@@ -39823,6 +39871,7 @@
|
|
|
39823
39871
|
$games$jass$logic$redux$actions$mechanic.MechanicAction = MechanicAction;
|
|
39824
39872
|
$games$jass$logic$redux$actions$mechanic.StartGameMechanicAction = StartGameMechanicAction;
|
|
39825
39873
|
$games$jass$logic$redux$actions$mechanic.StartNewGameMechanicAction = StartNewGameMechanicAction;
|
|
39874
|
+
$games$jass$logic$redux$actions$mechanic.ContinueGameMechanicAction = ContinueGameMechanicAction;
|
|
39826
39875
|
$games$jass$logic$redux$actions$mechanic.FinishingGameMechanicAction = FinishingGameMechanicAction;
|
|
39827
39876
|
defineProp($games$jass$logic$redux$actions$mechanic.FinishingGameMechanicAction, 'Companion', Companion_getInstance_166, VOID, true);
|
|
39828
39877
|
$games$jass$logic$redux$actions$mechanic.FinishGameMechanicAction = FinishGameMechanicAction;
|