client_plugin_logic_deb 1.8.427 → 1.8.429
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-core.js
CHANGED
|
@@ -427,7 +427,7 @@
|
|
|
427
427
|
initMetadataForClass(AppEnvironmentValue, 'AppEnvironmentValue', VOID, Enum);
|
|
428
428
|
//endregion
|
|
429
429
|
function GameEngineConfig() {
|
|
430
|
-
this.version = '1.8.
|
|
430
|
+
this.version = '1.8.429';
|
|
431
431
|
}
|
|
432
432
|
protoOf(GameEngineConfig).g3z = function () {
|
|
433
433
|
return this.version;
|
package/Logic_Debertz-engine.js
CHANGED
|
@@ -1355,8 +1355,8 @@
|
|
|
1355
1355
|
initMetadataForClass(NotCurrentPlayerCheck, 'NotCurrentPlayerCheck');
|
|
1356
1356
|
initMetadataForClass(consumeFromClientActionsMiddleware$$inlined$middlewareForActionType$1, VOID, VOID, VOID, [Middleware]);
|
|
1357
1357
|
initMetadataForInterface(IgnoreLoggerAction, 'IgnoreLoggerAction', VOID, VOID, [Action]);
|
|
1358
|
-
initMetadataForLambda(
|
|
1359
|
-
initMetadataForClass(
|
|
1358
|
+
initMetadataForLambda(botChatMiddleware$o$handle$slambda, CoroutineImpl, VOID, [1]);
|
|
1359
|
+
initMetadataForClass(botChatMiddleware$$inlined$middlewareForActionType$1, VOID, VOID, VOID, [Middleware]);
|
|
1360
1360
|
initMetadataForLambda(handleRandomMessage$slambda, CoroutineImpl, VOID, [1]);
|
|
1361
1361
|
initMetadataForLambda(botLogicMiddleware$o$handle$slambda, CoroutineImpl, VOID, [1]);
|
|
1362
1362
|
initMetadataForClass(botLogicMiddleware$$inlined$middlewareForActionType$1, VOID, VOID, VOID, [Middleware]);
|
|
@@ -3148,11 +3148,9 @@
|
|
|
3148
3148
|
switch (this.q2_1) {
|
|
3149
3149
|
case 0:
|
|
3150
3150
|
case 1:
|
|
3151
|
-
tmp = true;
|
|
3152
|
-
break;
|
|
3153
3151
|
case 2:
|
|
3154
3152
|
case 3:
|
|
3155
|
-
tmp =
|
|
3153
|
+
tmp = true;
|
|
3156
3154
|
break;
|
|
3157
3155
|
default:
|
|
3158
3156
|
noWhenBranchMatchedException();
|
|
@@ -57148,7 +57146,7 @@
|
|
|
57148
57146
|
// Inline function 'kotlin.let' call
|
|
57149
57147
|
var tmp0_asyncProvider = _get_asyncProvider__jbpyhw_0(this);
|
|
57150
57148
|
var tmp1_conversationCache = _get_conversationCache__95j15a(this);
|
|
57151
|
-
this_0.j(
|
|
57149
|
+
this_0.j(botChatMiddleware(tmp3_safe_receiver, tmp1_conversationCache, tmp0_asyncProvider, isEnableBotForPlayer));
|
|
57152
57150
|
}
|
|
57153
57151
|
}
|
|
57154
57152
|
return this_0.e3();
|
|
@@ -58052,9 +58050,9 @@
|
|
|
58052
58050
|
return Unit_instance;
|
|
58053
58051
|
};
|
|
58054
58052
|
}
|
|
58055
|
-
function
|
|
58053
|
+
function botChatMiddleware(botChatInteractor, conversationCache, asyncProvider, isEnableBotChatForPlayer) {
|
|
58056
58054
|
// Inline function 'com.logic.redux.store.definitions.middlewareForActionType' call
|
|
58057
|
-
return new
|
|
58055
|
+
return new botChatMiddleware$$inlined$middlewareForActionType$1(conversationCache, botChatInteractor, asyncProvider, isEnableBotChatForPlayer);
|
|
58058
58056
|
}
|
|
58059
58057
|
function shouldGenerateRandomMessage() {
|
|
58060
58058
|
return false;
|
|
@@ -58062,7 +58060,7 @@
|
|
|
58062
58060
|
function handleRandomMessage(store, playerId, botChatInteractor, asyncProvider, isEnableBotChatForPlayer, triggerReason) {
|
|
58063
58061
|
asyncProvider.f6l(VOID, handleRandomMessage$slambda_0(store, botChatInteractor, playerId, triggerReason, isEnableBotChatForPlayer, null));
|
|
58064
58062
|
}
|
|
58065
|
-
function
|
|
58063
|
+
function botChatMiddleware$o$handle$slambda($botChatInteractor, $store, $messageText, $action, $isEnableBotChatForPlayer, resultContinuation) {
|
|
58066
58064
|
this.g9t_1 = $botChatInteractor;
|
|
58067
58065
|
this.h9t_1 = $store;
|
|
58068
58066
|
this.i9t_1 = $messageText;
|
|
@@ -58070,16 +58068,16 @@
|
|
|
58070
58068
|
this.k9t_1 = $isEnableBotChatForPlayer;
|
|
58071
58069
|
CoroutineImpl.call(this, resultContinuation);
|
|
58072
58070
|
}
|
|
58073
|
-
protoOf(
|
|
58071
|
+
protoOf(botChatMiddleware$o$handle$slambda).j29 = function ($this$launchDefault, $completion) {
|
|
58074
58072
|
var tmp = this.k29($this$launchDefault, $completion);
|
|
58075
58073
|
tmp.u8_1 = Unit_instance;
|
|
58076
58074
|
tmp.v8_1 = null;
|
|
58077
58075
|
return tmp.a9();
|
|
58078
58076
|
};
|
|
58079
|
-
protoOf(
|
|
58077
|
+
protoOf(botChatMiddleware$o$handle$slambda).i9 = function (p1, $completion) {
|
|
58080
58078
|
return this.j29((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
|
|
58081
58079
|
};
|
|
58082
|
-
protoOf(
|
|
58080
|
+
protoOf(botChatMiddleware$o$handle$slambda).a9 = function () {
|
|
58083
58081
|
var suspendResult = this.u8_1;
|
|
58084
58082
|
$sm: do
|
|
58085
58083
|
try {
|
|
@@ -58124,29 +58122,29 @@
|
|
|
58124
58122
|
}
|
|
58125
58123
|
while (true);
|
|
58126
58124
|
};
|
|
58127
|
-
protoOf(
|
|
58128
|
-
var i = new
|
|
58125
|
+
protoOf(botChatMiddleware$o$handle$slambda).k29 = function ($this$launchDefault, completion) {
|
|
58126
|
+
var i = new botChatMiddleware$o$handle$slambda(this.g9t_1, this.h9t_1, this.i9t_1, this.j9t_1, this.k9t_1, completion);
|
|
58129
58127
|
i.l9t_1 = $this$launchDefault;
|
|
58130
58128
|
return i;
|
|
58131
58129
|
};
|
|
58132
|
-
function
|
|
58133
|
-
var i = new
|
|
58130
|
+
function botChatMiddleware$o$handle$slambda_0($botChatInteractor, $store, $messageText, $action, $isEnableBotChatForPlayer, resultContinuation) {
|
|
58131
|
+
var i = new botChatMiddleware$o$handle$slambda($botChatInteractor, $store, $messageText, $action, $isEnableBotChatForPlayer, resultContinuation);
|
|
58134
58132
|
var l = function ($this$launchDefault, $completion) {
|
|
58135
58133
|
return i.j29($this$launchDefault, $completion);
|
|
58136
58134
|
};
|
|
58137
58135
|
l.$arity = 1;
|
|
58138
58136
|
return l;
|
|
58139
58137
|
}
|
|
58140
|
-
function
|
|
58138
|
+
function botChatMiddleware$$inlined$middlewareForActionType$1($conversationCache, $botChatInteractor, $asyncProvider, $isEnableBotChatForPlayer) {
|
|
58141
58139
|
this.m9t_1 = $conversationCache;
|
|
58142
58140
|
this.n9t_1 = $botChatInteractor;
|
|
58143
58141
|
this.o9t_1 = $asyncProvider;
|
|
58144
58142
|
this.p9t_1 = $isEnableBotChatForPlayer;
|
|
58145
58143
|
}
|
|
58146
|
-
protoOf(
|
|
58144
|
+
protoOf(botChatMiddleware$$inlined$middlewareForActionType$1).c6p = function (action) {
|
|
58147
58145
|
return action instanceof MechanicAction;
|
|
58148
58146
|
};
|
|
58149
|
-
protoOf(
|
|
58147
|
+
protoOf(botChatMiddleware$$inlined$middlewareForActionType$1).r6q = function (store, next, action) {
|
|
58150
58148
|
var action_0 = action instanceof MechanicAction ? action : THROW_CCE();
|
|
58151
58149
|
next(action_0);
|
|
58152
58150
|
if (action_0 instanceof MessageMechanicAction) {
|
|
@@ -58193,7 +58191,7 @@
|
|
|
58193
58191
|
}
|
|
58194
58192
|
var messageText = tmp_0;
|
|
58195
58193
|
if (!(messageText == null)) {
|
|
58196
|
-
this.o9t_1.f6l(VOID,
|
|
58194
|
+
this.o9t_1.f6l(VOID, botChatMiddleware$o$handle$slambda_0(this.n9t_1, store, messageText, action_0, this.p9t_1, null));
|
|
58197
58195
|
}
|
|
58198
58196
|
}
|
|
58199
58197
|
}
|
|
@@ -58201,7 +58199,7 @@
|
|
|
58201
58199
|
}
|
|
58202
58200
|
}
|
|
58203
58201
|
};
|
|
58204
|
-
protoOf(
|
|
58202
|
+
protoOf(botChatMiddleware$$inlined$middlewareForActionType$1).b6p = function (store, next, action) {
|
|
58205
58203
|
return this.r6q(store, next, action);
|
|
58206
58204
|
};
|
|
58207
58205
|
function handleRandomMessage$slambda($store, $botChatInteractor, $playerId, $triggerReason, $isEnableBotChatForPlayer, resultContinuation) {
|