game_client_logic_deb 1.4.22 → 1.4.24
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
|
@@ -20606,7 +20606,7 @@
|
|
|
20606
20606
|
}
|
|
20607
20607
|
Companion_94.prototype.q2w = function (_this__u8e3s4, message) {
|
|
20608
20608
|
if (false) {
|
|
20609
|
-
_this__u8e3s4.
|
|
20609
|
+
_this__u8e3s4.p2l('Logic', message, null, 4, null);
|
|
20610
20610
|
}
|
|
20611
20611
|
};
|
|
20612
20612
|
var Companion_instance_94;
|
|
@@ -24546,11 +24546,11 @@
|
|
|
24546
24546
|
var tmp;
|
|
24547
24547
|
if (!cardToRemove.e2h() ? cards.y(cardToRemove) : false) {
|
|
24548
24548
|
var tmp_0 = 'Card removed: ' + cardToRemove;
|
|
24549
|
-
this.a3t_1.
|
|
24549
|
+
this.a3t_1.p2l(null, tmp_0, null, 5, null);
|
|
24550
24550
|
tmp = minus(cards, cardToRemove);
|
|
24551
24551
|
} else {
|
|
24552
24552
|
var tmp_1 = 'Card removed as stub: ' + cardToRemove;
|
|
24553
|
-
this.a3t_1.
|
|
24553
|
+
this.a3t_1.p2l(null, tmp_1, null, 5, null);
|
|
24554
24554
|
var tmp$ret$2;
|
|
24555
24555
|
// Inline function 'kotlin.collections.filterNot' call
|
|
24556
24556
|
var tmp$ret$1;
|
|
@@ -24597,7 +24597,7 @@
|
|
|
24597
24597
|
};
|
|
24598
24598
|
DealerInteractorImpl.prototype.d3t = function (cards, cardToAdd) {
|
|
24599
24599
|
var tmp = 'Card added: ' + cardToAdd;
|
|
24600
|
-
this.a3t_1.
|
|
24600
|
+
this.a3t_1.p2l(null, tmp, null, 5, null);
|
|
24601
24601
|
if (cards.y(cardToAdd)) {
|
|
24602
24602
|
var tmp_0 = 'Card already exists for player, ' + ('cards:' + cards + ', ') + ('cardToAdd: ' + cardToAdd);
|
|
24603
24603
|
this.a3t_1.e2i(null, tmp_0, null, 5, null);
|
|
@@ -28567,25 +28567,25 @@
|
|
|
28567
28567
|
});
|
|
28568
28568
|
function TerminatedAction() {
|
|
28569
28569
|
}
|
|
28570
|
-
function PlayerConnectionChangedMechanicAction_init_$Init$(playerId, state, isNoneActivePlayers,
|
|
28570
|
+
function PlayerConnectionChangedMechanicAction_init_$Init$(playerId, state, isNoneActivePlayers, reconnectUntilTime, $mask0, $marker, $this) {
|
|
28571
28571
|
if (!(($mask0 & 4) === 0))
|
|
28572
28572
|
isNoneActivePlayers = false;
|
|
28573
28573
|
if (!(($mask0 & 8) === 0))
|
|
28574
|
-
|
|
28575
|
-
PlayerConnectionChangedMechanicAction.call($this, playerId, state, isNoneActivePlayers,
|
|
28574
|
+
reconnectUntilTime = null;
|
|
28575
|
+
PlayerConnectionChangedMechanicAction.call($this, playerId, state, isNoneActivePlayers, reconnectUntilTime);
|
|
28576
28576
|
return $this;
|
|
28577
28577
|
}
|
|
28578
|
-
function PlayerConnectionChangedMechanicAction_init_$Create$(playerId, state, isNoneActivePlayers,
|
|
28579
|
-
return PlayerConnectionChangedMechanicAction_init_$Init$(playerId, state, isNoneActivePlayers,
|
|
28578
|
+
function PlayerConnectionChangedMechanicAction_init_$Create$(playerId, state, isNoneActivePlayers, reconnectUntilTime, $mask0, $marker) {
|
|
28579
|
+
return PlayerConnectionChangedMechanicAction_init_$Init$(playerId, state, isNoneActivePlayers, reconnectUntilTime, $mask0, $marker, Object.create(PlayerConnectionChangedMechanicAction.prototype));
|
|
28580
28580
|
}
|
|
28581
|
-
function PlayerConnectionChangedMechanicAction(playerId, state, isNoneActivePlayers,
|
|
28581
|
+
function PlayerConnectionChangedMechanicAction(playerId, state, isNoneActivePlayers, reconnectUntilTime) {
|
|
28582
28582
|
var isNoneActivePlayers_0 = isNoneActivePlayers === void 1 ? false : isNoneActivePlayers;
|
|
28583
|
-
var
|
|
28583
|
+
var reconnectUntilTime_0 = reconnectUntilTime === void 1 ? null : reconnectUntilTime;
|
|
28584
28584
|
MechanicAction.call(this);
|
|
28585
28585
|
this.playerId = playerId;
|
|
28586
28586
|
this.state = state;
|
|
28587
28587
|
this.isNoneActivePlayers = isNoneActivePlayers_0;
|
|
28588
|
-
this.
|
|
28588
|
+
this.reconnectUntilTime = reconnectUntilTime_0;
|
|
28589
28589
|
}
|
|
28590
28590
|
PlayerConnectionChangedMechanicAction.prototype.w2c = function () {
|
|
28591
28591
|
return this.playerId;
|
|
@@ -28597,7 +28597,7 @@
|
|
|
28597
28597
|
return this.isNoneActivePlayers;
|
|
28598
28598
|
};
|
|
28599
28599
|
PlayerConnectionChangedMechanicAction.prototype.l3x = function () {
|
|
28600
|
-
return this.
|
|
28600
|
+
return this.reconnectUntilTime;
|
|
28601
28601
|
};
|
|
28602
28602
|
PlayerConnectionChangedMechanicAction.prototype.y2d = function () {
|
|
28603
28603
|
return this.state.equals(PlayerConnectionState_LIVE_getInstance());
|
|
@@ -28645,15 +28645,15 @@
|
|
|
28645
28645
|
return this.isNoneActivePlayers;
|
|
28646
28646
|
};
|
|
28647
28647
|
PlayerConnectionChangedMechanicAction.prototype.component4 = function () {
|
|
28648
|
-
return this.
|
|
28648
|
+
return this.reconnectUntilTime;
|
|
28649
28649
|
};
|
|
28650
|
-
PlayerConnectionChangedMechanicAction.prototype.copy = function (playerId, state, isNoneActivePlayers,
|
|
28651
|
-
return this.n3x(playerId === void 1 ? this.playerId : playerId, state === void 1 ? this.state : state, isNoneActivePlayers === void 1 ? this.isNoneActivePlayers : isNoneActivePlayers,
|
|
28650
|
+
PlayerConnectionChangedMechanicAction.prototype.copy = function (playerId, state, isNoneActivePlayers, reconnectUntilTime) {
|
|
28651
|
+
return this.n3x(playerId === void 1 ? this.playerId : playerId, state === void 1 ? this.state : state, isNoneActivePlayers === void 1 ? this.isNoneActivePlayers : isNoneActivePlayers, reconnectUntilTime === void 1 ? this.reconnectUntilTime : reconnectUntilTime);
|
|
28652
28652
|
};
|
|
28653
|
-
PlayerConnectionChangedMechanicAction.prototype.n3x = function (playerId, state, isNoneActivePlayers,
|
|
28654
|
-
return new PlayerConnectionChangedMechanicAction(playerId, state, isNoneActivePlayers,
|
|
28653
|
+
PlayerConnectionChangedMechanicAction.prototype.n3x = function (playerId, state, isNoneActivePlayers, reconnectUntilTime) {
|
|
28654
|
+
return new PlayerConnectionChangedMechanicAction(playerId, state, isNoneActivePlayers, reconnectUntilTime);
|
|
28655
28655
|
};
|
|
28656
|
-
PlayerConnectionChangedMechanicAction.prototype.o3x = function (playerId, state, isNoneActivePlayers,
|
|
28656
|
+
PlayerConnectionChangedMechanicAction.prototype.o3x = function (playerId, state, isNoneActivePlayers, reconnectUntilTime, $mask0, $handler) {
|
|
28657
28657
|
if (!(($mask0 & 1) === 0))
|
|
28658
28658
|
playerId = this.playerId;
|
|
28659
28659
|
if (!(($mask0 & 2) === 0))
|
|
@@ -28661,17 +28661,17 @@
|
|
|
28661
28661
|
if (!(($mask0 & 4) === 0))
|
|
28662
28662
|
isNoneActivePlayers = this.isNoneActivePlayers;
|
|
28663
28663
|
if (!(($mask0 & 8) === 0))
|
|
28664
|
-
|
|
28665
|
-
return this.n3x(playerId, state, isNoneActivePlayers,
|
|
28664
|
+
reconnectUntilTime = this.reconnectUntilTime;
|
|
28665
|
+
return this.n3x(playerId, state, isNoneActivePlayers, reconnectUntilTime);
|
|
28666
28666
|
};
|
|
28667
28667
|
PlayerConnectionChangedMechanicAction.prototype.toString = function () {
|
|
28668
|
-
return 'PlayerConnectionChangedMechanicAction(playerId=' + this.playerId + ', state=' + this.state + ', isNoneActivePlayers=' + this.isNoneActivePlayers + ',
|
|
28668
|
+
return 'PlayerConnectionChangedMechanicAction(playerId=' + this.playerId + ', state=' + this.state + ', isNoneActivePlayers=' + this.isNoneActivePlayers + ', reconnectUntilTime=' + this.reconnectUntilTime + ')';
|
|
28669
28669
|
};
|
|
28670
28670
|
PlayerConnectionChangedMechanicAction.prototype.hashCode = function () {
|
|
28671
28671
|
var result = getStringHashCode(this.playerId);
|
|
28672
28672
|
result = imul(result, 31) + this.state.hashCode() | 0;
|
|
28673
28673
|
result = imul(result, 31) + (this.isNoneActivePlayers | 0) | 0;
|
|
28674
|
-
result = imul(result, 31) + (this.
|
|
28674
|
+
result = imul(result, 31) + (this.reconnectUntilTime == null ? 0 : getStringHashCode(this.reconnectUntilTime)) | 0;
|
|
28675
28675
|
return result;
|
|
28676
28676
|
};
|
|
28677
28677
|
PlayerConnectionChangedMechanicAction.prototype.equals = function (other) {
|
|
@@ -28686,7 +28686,7 @@
|
|
|
28686
28686
|
return false;
|
|
28687
28687
|
if (!(this.isNoneActivePlayers === tmp0_other_with_cast.isNoneActivePlayers))
|
|
28688
28688
|
return false;
|
|
28689
|
-
if (!(this.
|
|
28689
|
+
if (!(this.reconnectUntilTime == tmp0_other_with_cast.reconnectUntilTime))
|
|
28690
28690
|
return false;
|
|
28691
28691
|
return true;
|
|
28692
28692
|
};
|
|
@@ -30079,7 +30079,7 @@
|
|
|
30079
30079
|
return function (_anonymous_parameter_0__qggqh8, next, action) {
|
|
30080
30080
|
var tmp;
|
|
30081
30081
|
if (!isInterface(action, IgnoreLoggerAction)) {
|
|
30082
|
-
$logger.
|
|
30082
|
+
$logger.o2l($tag, '* DISPATCHED action: ' + action, action);
|
|
30083
30083
|
tmp = Unit_getInstance();
|
|
30084
30084
|
}
|
|
30085
30085
|
next(action);
|
|
@@ -32683,10 +32683,10 @@
|
|
|
32683
32683
|
var players = table.players;
|
|
32684
32684
|
var player = getPlayer(players, action.playerId);
|
|
32685
32685
|
var tmp = 'playerConnectionChangesReducer: ' + action.state + ', playerId: ' + action.playerId;
|
|
32686
|
-
this.b46_1.
|
|
32686
|
+
this.b46_1.p2l(null, tmp, null, 5, null);
|
|
32687
32687
|
var tmp1_$this = player.d2r_1;
|
|
32688
32688
|
var tmp2_connectionState = action.state;
|
|
32689
|
-
var tmp0_safe_receiver = action.
|
|
32689
|
+
var tmp0_safe_receiver = action.reconnectUntilTime;
|
|
32690
32690
|
var tmp3_waitPlayerUntilTime = tmp0_safe_receiver == null ? null : toInstant(tmp0_safe_receiver);
|
|
32691
32691
|
var tmp_0 = tmp1_$this.l2e(null, tmp3_waitPlayerUntilTime, null, false, tmp2_connectionState, null, 45, null);
|
|
32692
32692
|
var tmp_1 = updateItem(players, player.y2r(null, tmp_0, null, null, null, null, 61, null), get_byIdPlayerPredicate()(player.w2c()));
|
|
@@ -33864,7 +33864,7 @@
|
|
|
33864
33864
|
}
|
|
33865
33865
|
var turnModel = tmp;
|
|
33866
33866
|
var tmp_0 = 'resetPlayerTurnReducer: ' + turnModel;
|
|
33867
|
-
this.a48_1.
|
|
33867
|
+
this.a48_1.p2l('PlayerTurn', tmp_0, null, 4, null);
|
|
33868
33868
|
var tmp_1 = this.b48_1.s47(state.s2n(), turnModel);
|
|
33869
33869
|
tmp$ret$0 = state.d3w(tmp_1, null, null, null, null, 30, null);
|
|
33870
33870
|
}
|
|
@@ -33902,7 +33902,7 @@
|
|
|
33902
33902
|
}
|
|
33903
33903
|
var turnModel = tmp;
|
|
33904
33904
|
var tmp_0 = 'setPlayerTurnReducer: ' + turnModel;
|
|
33905
|
-
this.d48_1.
|
|
33905
|
+
this.d48_1.p2l('PlayerTurn', tmp_0, null, 4, null);
|
|
33906
33906
|
var tmp_1 = this.e48_1.r47(state.s2n(), turnModel);
|
|
33907
33907
|
tmp$ret$0 = state.d3w(tmp_1, null, null, null, null, 30, null);
|
|
33908
33908
|
}
|
|
@@ -33959,11 +33959,11 @@
|
|
|
33959
33959
|
this.f48_1 = logger;
|
|
33960
33960
|
this.g48_1 = stateProvider;
|
|
33961
33961
|
}
|
|
33962
|
-
GameLoggerOutputTablePayloadWrapper.prototype.
|
|
33963
|
-
this.f48_1.
|
|
33962
|
+
GameLoggerOutputTablePayloadWrapper.prototype.o2l = function (tag, message, payload) {
|
|
33963
|
+
this.f48_1.o2l(tag, message, getPayload(this, payload));
|
|
33964
33964
|
};
|
|
33965
|
-
GameLoggerOutputTablePayloadWrapper.prototype.
|
|
33966
|
-
this.f48_1.
|
|
33965
|
+
GameLoggerOutputTablePayloadWrapper.prototype.g2j = function (tag, message, exception, payload) {
|
|
33966
|
+
this.f48_1.g2j(tag, message, exception, getPayload(this, payload));
|
|
33967
33967
|
};
|
|
33968
33968
|
GameLoggerOutputTablePayloadWrapper.prototype.q2l = function (tag, message, payload) {
|
|
33969
33969
|
this.f48_1.q2l(tag, message, getPayload(this, payload));
|
|
@@ -33993,10 +33993,10 @@
|
|
|
33993
33993
|
function createLoggerOutputWithTablePayload$1($loggerCallback) {
|
|
33994
33994
|
this.h48_1 = $loggerCallback;
|
|
33995
33995
|
}
|
|
33996
|
-
createLoggerOutputWithTablePayload$1.prototype.
|
|
33996
|
+
createLoggerOutputWithTablePayload$1.prototype.o2l = function (tag, message, payload) {
|
|
33997
33997
|
this.h48_1('debug', tag, message, null, payload);
|
|
33998
33998
|
};
|
|
33999
|
-
createLoggerOutputWithTablePayload$1.prototype.
|
|
33999
|
+
createLoggerOutputWithTablePayload$1.prototype.g2j = function (tag, message, exception, payload) {
|
|
34000
34000
|
this.h48_1('error', tag, generateMsg(message, exception), exception, payload);
|
|
34001
34001
|
};
|
|
34002
34002
|
createLoggerOutputWithTablePayload$1.prototype.q2l = function (tag, message, payload) {
|
|
@@ -34225,10 +34225,10 @@
|
|
|
34225
34225
|
SceneActStartedMechanicAction.prototype.r2i = get_actionTag;
|
|
34226
34226
|
PlayerTurnTimerTag.prototype.notValidateWhenFinished = notValidateWhenFinished;
|
|
34227
34227
|
GameIsNotFinishedTimerTag.prototype.g45 = notValidateTimerReset;
|
|
34228
|
-
GameLoggerOutputTablePayloadWrapper.prototype.
|
|
34228
|
+
GameLoggerOutputTablePayloadWrapper.prototype.p2l = d$default;
|
|
34229
34229
|
GameLoggerOutputTablePayloadWrapper.prototype.q2h = e$default;
|
|
34230
34230
|
GameLoggerOutputTablePayloadWrapper.prototype.e2i = w$default;
|
|
34231
|
-
createLoggerOutputWithTablePayload$1.prototype.
|
|
34231
|
+
createLoggerOutputWithTablePayload$1.prototype.p2l = d$default;
|
|
34232
34232
|
createLoggerOutputWithTablePayload$1.prototype.q2h = e$default;
|
|
34233
34233
|
createLoggerOutputWithTablePayload$1.prototype.e2i = w$default;
|
|
34234
34234
|
//endregion
|