client_plugin_logic_deb 1.8.431 → 1.8.432
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/Kosi-Kaverit-kaverit.js +58 -58
- package/Kosi-Kodein-kodein-di.js +523 -523
- package/Kotlin-DateTime-library-kotlinx-datetime.js +152 -152
- package/Logic_Debertz-ai_module.js +235 -235
- package/Logic_Debertz-client_plugin.d.ts +1 -0
- package/Logic_Debertz-client_plugin.js +1231 -1231
- package/Logic_Debertz-core.js +682 -682
- package/Logic_Debertz-engine.js +4991 -4973
- package/Logic_Debertz-engine.js.map +1 -1
- package/Logic_Debertz-game_client.js +3124 -3124
- package/Logic_Debertz-game_server.js +328 -328
- package/kotlin-kotlin-stdlib.js +550 -544
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlinx-atomicfu.js +13 -13
- package/kotlinx-coroutines-core.js +2489 -2489
- package/kotlinx-coroutines-core.js.map +1 -1
- package/kotlinx-io-kotlinx-io-core.js +314 -314
- package/kotlinx-serialization-kotlinx-serialization-core.js +1739 -1739
- package/kotlinx-serialization-kotlinx-serialization-core.js.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json.js +1316 -1316
- package/ktor-ktor-client-content-negotiation.js +123 -123
- package/ktor-ktor-client-core.js +1442 -1442
- package/ktor-ktor-client-logging.js +265 -265
- package/ktor-ktor-events.js +6 -6
- package/ktor-ktor-http.js +590 -590
- package/ktor-ktor-io.js +1241 -1241
- package/ktor-ktor-serialization-kotlinx-json.js +6 -6
- package/ktor-ktor-serialization-kotlinx.js +132 -132
- package/ktor-ktor-serialization.js +61 -61
- package/ktor-ktor-utils.js +483 -483
- package/ktor-ktor-websockets.js +42 -42
- package/package.json +1 -1
- package/random-library-crypto-rand.js +1 -1
- package/random-library-secure-random.js +2 -2
- package/raspberry-cardgame-lib-core.js +7 -7
- package/raspberry-cardgame-lib-logger.js +90 -90
- package/raspberry-cardgame-lib-random.js +794 -794
- package/raspberry-cardgame-lib-random.js.map +1 -1
- package/uuid.js +12 -12
|
@@ -611,14 +611,14 @@
|
|
|
611
611
|
this.te0_1 = this$0;
|
|
612
612
|
CoroutineImpl.call(this, resultContinuation);
|
|
613
613
|
}
|
|
614
|
-
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda).
|
|
615
|
-
var tmp = this.
|
|
614
|
+
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda).d2j = function (value, $completion) {
|
|
615
|
+
var tmp = this.e2j(value, $completion);
|
|
616
616
|
tmp.u8_1 = Unit_instance;
|
|
617
617
|
tmp.v8_1 = null;
|
|
618
618
|
return tmp.a9();
|
|
619
619
|
};
|
|
620
620
|
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda).i9 = function (p1, $completion) {
|
|
621
|
-
return this.
|
|
621
|
+
return this.d2j((p1 == null ? true : !(p1 == null)) ? p1 : THROW_CCE(), $completion);
|
|
622
622
|
};
|
|
623
623
|
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda).a9 = function () {
|
|
624
624
|
var suspendResult = this.u8_1;
|
|
@@ -631,7 +631,7 @@
|
|
|
631
631
|
var tmp0 = this.se0_1;
|
|
632
632
|
var value = this.ue0_1;
|
|
633
633
|
this.s8_1 = 1;
|
|
634
|
-
suspendResult = tmp0.
|
|
634
|
+
suspendResult = tmp0.j24(mapToDto_1(value, _get_encoderDecoderProvider__qqgrji(this.te0_1)), this);
|
|
635
635
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
636
636
|
return suspendResult;
|
|
637
637
|
}
|
|
@@ -653,7 +653,7 @@
|
|
|
653
653
|
}
|
|
654
654
|
while (true);
|
|
655
655
|
};
|
|
656
|
-
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda).
|
|
656
|
+
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda).e2j = function (value, completion) {
|
|
657
657
|
var i = new GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda(this.se0_1, this.te0_1, completion);
|
|
658
658
|
i.ue0_1 = value;
|
|
659
659
|
return i;
|
|
@@ -661,7 +661,7 @@
|
|
|
661
661
|
function GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda_0($$this$unsafeFlow, this$0, resultContinuation) {
|
|
662
662
|
var i = new GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda($$this$unsafeFlow, this$0, resultContinuation);
|
|
663
663
|
var l = function (value, $completion) {
|
|
664
|
-
return i.
|
|
664
|
+
return i.d2j(value, $completion);
|
|
665
665
|
};
|
|
666
666
|
l.$arity = 1;
|
|
667
667
|
return l;
|
|
@@ -682,7 +682,7 @@
|
|
|
682
682
|
var $this$unsafeFlow = this.ee1_1;
|
|
683
683
|
this.s8_1 = 1;
|
|
684
684
|
var tmp_0 = GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda_0($this$unsafeFlow, this.de1_1.ge1_1, null);
|
|
685
|
-
suspendResult = this.de1_1.fe1_1.
|
|
685
|
+
suspendResult = this.de1_1.fe1_1.g23(new sam$kotlinx_coroutines_flow_FlowCollector$0_1(tmp_0), this);
|
|
686
686
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
687
687
|
return suspendResult;
|
|
688
688
|
}
|
|
@@ -708,14 +708,14 @@
|
|
|
708
708
|
this.fe1_1 = $this;
|
|
709
709
|
this.ge1_1 = this$0;
|
|
710
710
|
}
|
|
711
|
-
protoOf(GameServer$subscribeServerStateUpdateJson$2$$inlined$map$1).
|
|
711
|
+
protoOf(GameServer$subscribeServerStateUpdateJson$2$$inlined$map$1).k24 = function (collector, $completion) {
|
|
712
712
|
var tmp = new $collectCOROUTINE$(this, collector, $completion);
|
|
713
713
|
tmp.u8_1 = Unit_instance;
|
|
714
714
|
tmp.v8_1 = null;
|
|
715
715
|
return tmp.a9();
|
|
716
716
|
};
|
|
717
|
-
protoOf(GameServer$subscribeServerStateUpdateJson$2$$inlined$map$1).
|
|
718
|
-
return this.
|
|
717
|
+
protoOf(GameServer$subscribeServerStateUpdateJson$2$$inlined$map$1).g23 = function (collector, $completion) {
|
|
718
|
+
return this.k24(collector, $completion);
|
|
719
719
|
};
|
|
720
720
|
function GameServer$subscribeServerStateUpdateJson$slambda$slambda($subscriber, resultContinuation) {
|
|
721
721
|
this.pe1_1 = $subscriber;
|
|
@@ -766,14 +766,14 @@
|
|
|
766
766
|
this.ce2_1 = $table;
|
|
767
767
|
CoroutineImpl.call(this, resultContinuation);
|
|
768
768
|
}
|
|
769
|
-
protoOf(GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda).
|
|
770
|
-
var tmp = this.
|
|
769
|
+
protoOf(GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda).d2j = function (value, $completion) {
|
|
770
|
+
var tmp = this.e2j(value, $completion);
|
|
771
771
|
tmp.u8_1 = Unit_instance;
|
|
772
772
|
tmp.v8_1 = null;
|
|
773
773
|
return tmp.a9();
|
|
774
774
|
};
|
|
775
775
|
protoOf(GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda).i9 = function (p1, $completion) {
|
|
776
|
-
return this.
|
|
776
|
+
return this.d2j((p1 == null ? true : !(p1 == null)) ? p1 : THROW_CCE(), $completion);
|
|
777
777
|
};
|
|
778
778
|
protoOf(GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda).a9 = function () {
|
|
779
779
|
var suspendResult = this.u8_1;
|
|
@@ -786,7 +786,7 @@
|
|
|
786
786
|
var tmp0 = this.be2_1;
|
|
787
787
|
var value = this.de2_1;
|
|
788
788
|
this.s8_1 = 1;
|
|
789
|
-
suspendResult = tmp0.
|
|
789
|
+
suspendResult = tmp0.j24(new ActionsStateUpdate(this.ce2_1.id, value), this);
|
|
790
790
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
791
791
|
return suspendResult;
|
|
792
792
|
}
|
|
@@ -808,7 +808,7 @@
|
|
|
808
808
|
}
|
|
809
809
|
while (true);
|
|
810
810
|
};
|
|
811
|
-
protoOf(GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda).
|
|
811
|
+
protoOf(GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda).e2j = function (value, completion) {
|
|
812
812
|
var i = new GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda(this.be2_1, this.ce2_1, completion);
|
|
813
813
|
i.de2_1 = value;
|
|
814
814
|
return i;
|
|
@@ -816,7 +816,7 @@
|
|
|
816
816
|
function GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda_0($$this$unsafeFlow, $table, resultContinuation) {
|
|
817
817
|
var i = new GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda($$this$unsafeFlow, $table, resultContinuation);
|
|
818
818
|
var l = function (value, $completion) {
|
|
819
|
-
return i.
|
|
819
|
+
return i.d2j(value, $completion);
|
|
820
820
|
};
|
|
821
821
|
l.$arity = 1;
|
|
822
822
|
return l;
|
|
@@ -837,7 +837,7 @@
|
|
|
837
837
|
var $this$unsafeFlow = this.ne2_1;
|
|
838
838
|
this.s8_1 = 1;
|
|
839
839
|
var tmp_0 = GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda_0($this$unsafeFlow, this.me2_1.pe2_1, null);
|
|
840
|
-
suspendResult = this.me2_1.oe2_1.
|
|
840
|
+
suspendResult = this.me2_1.oe2_1.g23(new sam$kotlinx_coroutines_flow_FlowCollector$0_2(tmp_0), this);
|
|
841
841
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
842
842
|
return suspendResult;
|
|
843
843
|
}
|
|
@@ -863,14 +863,14 @@
|
|
|
863
863
|
this.oe2_1 = $this;
|
|
864
864
|
this.pe2_1 = $table;
|
|
865
865
|
}
|
|
866
|
-
protoOf(_no_name_provided__qut3iv).
|
|
866
|
+
protoOf(_no_name_provided__qut3iv).k24 = function (collector, $completion) {
|
|
867
867
|
var tmp = new $collectCOROUTINE$_0(this, collector, $completion);
|
|
868
868
|
tmp.u8_1 = Unit_instance;
|
|
869
869
|
tmp.v8_1 = null;
|
|
870
870
|
return tmp.a9();
|
|
871
871
|
};
|
|
872
|
-
protoOf(_no_name_provided__qut3iv).
|
|
873
|
-
return this.
|
|
872
|
+
protoOf(_no_name_provided__qut3iv).g23 = function (collector, $completion) {
|
|
873
|
+
return this.k24(collector, $completion);
|
|
874
874
|
};
|
|
875
875
|
function GameServer$observeTableStateUpdates$slambda$slambda($table, this$0, resultContinuation) {
|
|
876
876
|
this.ye2_1 = $table;
|
|
@@ -895,7 +895,7 @@
|
|
|
895
895
|
case 0:
|
|
896
896
|
this.t8_1 = 3;
|
|
897
897
|
this.s8_1 = 1;
|
|
898
|
-
suspendResult = this.ae3_1.
|
|
898
|
+
suspendResult = this.ae3_1.j24(new TableStateUpdate(this.ye2_1.id, this.ye2_1), this);
|
|
899
899
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
900
900
|
return suspendResult;
|
|
901
901
|
}
|
|
@@ -944,14 +944,14 @@
|
|
|
944
944
|
this.me3_1 = this$0;
|
|
945
945
|
CoroutineImpl.call(this, resultContinuation);
|
|
946
946
|
}
|
|
947
|
-
protoOf(GameServer$observeTableStateUpdates$o$collect$slambda).
|
|
948
|
-
var tmp = this.
|
|
947
|
+
protoOf(GameServer$observeTableStateUpdates$o$collect$slambda).d2j = function (value, $completion) {
|
|
948
|
+
var tmp = this.e2j(value, $completion);
|
|
949
949
|
tmp.u8_1 = Unit_instance;
|
|
950
950
|
tmp.v8_1 = null;
|
|
951
951
|
return tmp.a9();
|
|
952
952
|
};
|
|
953
953
|
protoOf(GameServer$observeTableStateUpdates$o$collect$slambda).i9 = function (p1, $completion) {
|
|
954
|
-
return this.
|
|
954
|
+
return this.d2j((p1 == null ? true : !(p1 == null)) ? p1 : THROW_CCE(), $completion);
|
|
955
955
|
};
|
|
956
956
|
protoOf(GameServer$observeTableStateUpdates$o$collect$slambda).a9 = function () {
|
|
957
957
|
var suspendResult = this.u8_1;
|
|
@@ -991,7 +991,7 @@
|
|
|
991
991
|
case 2:
|
|
992
992
|
var transformed = this.pe3_1;
|
|
993
993
|
this.s8_1 = 3;
|
|
994
|
-
suspendResult = this.oe3_1.
|
|
994
|
+
suspendResult = this.oe3_1.j24(transformed, this);
|
|
995
995
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
996
996
|
return suspendResult;
|
|
997
997
|
}
|
|
@@ -1021,7 +1021,7 @@
|
|
|
1021
1021
|
}
|
|
1022
1022
|
while (true);
|
|
1023
1023
|
};
|
|
1024
|
-
protoOf(GameServer$observeTableStateUpdates$o$collect$slambda).
|
|
1024
|
+
protoOf(GameServer$observeTableStateUpdates$o$collect$slambda).e2j = function (value, completion) {
|
|
1025
1025
|
var i = new GameServer$observeTableStateUpdates$o$collect$slambda(this.le3_1, this.me3_1, completion);
|
|
1026
1026
|
i.ne3_1 = value;
|
|
1027
1027
|
return i;
|
|
@@ -1029,7 +1029,7 @@
|
|
|
1029
1029
|
function GameServer$observeTableStateUpdates$o$collect$slambda_0($$this$unsafeFlow, this$0, resultContinuation) {
|
|
1030
1030
|
var i = new GameServer$observeTableStateUpdates$o$collect$slambda($$this$unsafeFlow, this$0, resultContinuation);
|
|
1031
1031
|
var l = function (value, $completion) {
|
|
1032
|
-
return i.
|
|
1032
|
+
return i.d2j(value, $completion);
|
|
1033
1033
|
};
|
|
1034
1034
|
l.$arity = 1;
|
|
1035
1035
|
return l;
|
|
@@ -1050,7 +1050,7 @@
|
|
|
1050
1050
|
var $this$unsafeFlow = this.be4_1;
|
|
1051
1051
|
this.s8_1 = 1;
|
|
1052
1052
|
var tmp_0 = GameServer$observeTableStateUpdates$o$collect$slambda_0($this$unsafeFlow, this.ae4_1.de4_1, null);
|
|
1053
|
-
suspendResult = this.ae4_1.ce4_1.
|
|
1053
|
+
suspendResult = this.ae4_1.ce4_1.g23(new sam$kotlinx_coroutines_flow_FlowCollector$0_2(tmp_0), this);
|
|
1054
1054
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1055
1055
|
return suspendResult;
|
|
1056
1056
|
}
|
|
@@ -1076,14 +1076,14 @@
|
|
|
1076
1076
|
this.me4_1 = $$this$unsafeFlow;
|
|
1077
1077
|
CoroutineImpl.call(this, resultContinuation);
|
|
1078
1078
|
}
|
|
1079
|
-
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda).
|
|
1080
|
-
var tmp = this.
|
|
1079
|
+
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda).d2j = function (value, $completion) {
|
|
1080
|
+
var tmp = this.e2j(value, $completion);
|
|
1081
1081
|
tmp.u8_1 = Unit_instance;
|
|
1082
1082
|
tmp.v8_1 = null;
|
|
1083
1083
|
return tmp.a9();
|
|
1084
1084
|
};
|
|
1085
1085
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda).i9 = function (p1, $completion) {
|
|
1086
|
-
return this.
|
|
1086
|
+
return this.d2j((p1 == null ? true : !(p1 == null)) ? p1 : THROW_CCE(), $completion);
|
|
1087
1087
|
};
|
|
1088
1088
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda).a9 = function () {
|
|
1089
1089
|
var suspendResult = this.u8_1;
|
|
@@ -1115,7 +1115,7 @@
|
|
|
1115
1115
|
case 2:
|
|
1116
1116
|
var transformed = this.pe4_1;
|
|
1117
1117
|
this.s8_1 = 3;
|
|
1118
|
-
suspendResult = this.oe4_1.
|
|
1118
|
+
suspendResult = this.oe4_1.j24(transformed, this);
|
|
1119
1119
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1120
1120
|
return suspendResult;
|
|
1121
1121
|
}
|
|
@@ -1145,7 +1145,7 @@
|
|
|
1145
1145
|
}
|
|
1146
1146
|
while (true);
|
|
1147
1147
|
};
|
|
1148
|
-
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda).
|
|
1148
|
+
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda).e2j = function (value, completion) {
|
|
1149
1149
|
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda(this.me4_1, completion);
|
|
1150
1150
|
i.ne4_1 = value;
|
|
1151
1151
|
return i;
|
|
@@ -1153,7 +1153,7 @@
|
|
|
1153
1153
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda_0($$this$unsafeFlow, resultContinuation) {
|
|
1154
1154
|
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda($$this$unsafeFlow, resultContinuation);
|
|
1155
1155
|
var l = function (value, $completion) {
|
|
1156
|
-
return i.
|
|
1156
|
+
return i.d2j(value, $completion);
|
|
1157
1157
|
};
|
|
1158
1158
|
l.$arity = 1;
|
|
1159
1159
|
return l;
|
|
@@ -1174,7 +1174,7 @@
|
|
|
1174
1174
|
var $this$unsafeFlow = this.be5_1;
|
|
1175
1175
|
this.s8_1 = 1;
|
|
1176
1176
|
var tmp_0 = GameServer$observeTableWhenRoundChanges$o$collect$slambda_0($this$unsafeFlow, null);
|
|
1177
|
-
suspendResult = this.ae5_1.ce5_1.
|
|
1177
|
+
suspendResult = this.ae5_1.ce5_1.g23(new sam$kotlinx_coroutines_flow_FlowCollector$0_3(tmp_0), this);
|
|
1178
1178
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1179
1179
|
return suspendResult;
|
|
1180
1180
|
}
|
|
@@ -1200,14 +1200,14 @@
|
|
|
1200
1200
|
this.le5_1 = $$this$unsafeFlow;
|
|
1201
1201
|
CoroutineImpl.call(this, resultContinuation);
|
|
1202
1202
|
}
|
|
1203
|
-
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda_1).
|
|
1204
|
-
var tmp = this.
|
|
1203
|
+
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda_1).d2j = function (value, $completion) {
|
|
1204
|
+
var tmp = this.e2j(value, $completion);
|
|
1205
1205
|
tmp.u8_1 = Unit_instance;
|
|
1206
1206
|
tmp.v8_1 = null;
|
|
1207
1207
|
return tmp.a9();
|
|
1208
1208
|
};
|
|
1209
1209
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda_1).i9 = function (p1, $completion) {
|
|
1210
|
-
return this.
|
|
1210
|
+
return this.d2j((p1 == null ? true : !(p1 == null)) ? p1 : THROW_CCE(), $completion);
|
|
1211
1211
|
};
|
|
1212
1212
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda_1).a9 = function () {
|
|
1213
1213
|
var suspendResult = this.u8_1;
|
|
@@ -1220,7 +1220,7 @@
|
|
|
1220
1220
|
var tmp0 = this.le5_1;
|
|
1221
1221
|
var value = this.me5_1;
|
|
1222
1222
|
this.s8_1 = 1;
|
|
1223
|
-
suspendResult = tmp0.
|
|
1223
|
+
suspendResult = tmp0.j24(to(value.gameInfo.roundNumberTotal, value), this);
|
|
1224
1224
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1225
1225
|
return suspendResult;
|
|
1226
1226
|
}
|
|
@@ -1242,7 +1242,7 @@
|
|
|
1242
1242
|
}
|
|
1243
1243
|
while (true);
|
|
1244
1244
|
};
|
|
1245
|
-
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda_1).
|
|
1245
|
+
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda_1).e2j = function (value, completion) {
|
|
1246
1246
|
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda_1(this.le5_1, completion);
|
|
1247
1247
|
i.me5_1 = value;
|
|
1248
1248
|
return i;
|
|
@@ -1250,7 +1250,7 @@
|
|
|
1250
1250
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda_2($$this$unsafeFlow, resultContinuation) {
|
|
1251
1251
|
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda_1($$this$unsafeFlow, resultContinuation);
|
|
1252
1252
|
var l = function (value, $completion) {
|
|
1253
|
-
return i.
|
|
1253
|
+
return i.d2j(value, $completion);
|
|
1254
1254
|
};
|
|
1255
1255
|
l.$arity = 1;
|
|
1256
1256
|
return l;
|
|
@@ -1271,7 +1271,7 @@
|
|
|
1271
1271
|
var $this$unsafeFlow = this.we5_1;
|
|
1272
1272
|
this.s8_1 = 1;
|
|
1273
1273
|
var tmp_0 = GameServer$observeTableWhenRoundChanges$o$collect$slambda_2($this$unsafeFlow, null);
|
|
1274
|
-
suspendResult = this.ve5_1.xe5_1.
|
|
1274
|
+
suspendResult = this.ve5_1.xe5_1.g23(new sam$kotlinx_coroutines_flow_FlowCollector$0_3(tmp_0), this);
|
|
1275
1275
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1276
1276
|
return suspendResult;
|
|
1277
1277
|
}
|
|
@@ -1297,14 +1297,14 @@
|
|
|
1297
1297
|
this.ge6_1 = $$this$unsafeFlow;
|
|
1298
1298
|
CoroutineImpl.call(this, resultContinuation);
|
|
1299
1299
|
}
|
|
1300
|
-
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda_3).
|
|
1301
|
-
var tmp = this.
|
|
1300
|
+
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda_3).d2j = function (value, $completion) {
|
|
1301
|
+
var tmp = this.e2j(value, $completion);
|
|
1302
1302
|
tmp.u8_1 = Unit_instance;
|
|
1303
1303
|
tmp.v8_1 = null;
|
|
1304
1304
|
return tmp.a9();
|
|
1305
1305
|
};
|
|
1306
1306
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda_3).i9 = function (p1, $completion) {
|
|
1307
|
-
return this.
|
|
1307
|
+
return this.d2j((p1 == null ? true : !(p1 == null)) ? p1 : THROW_CCE(), $completion);
|
|
1308
1308
|
};
|
|
1309
1309
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda_3).a9 = function () {
|
|
1310
1310
|
var suspendResult = this.u8_1;
|
|
@@ -1317,7 +1317,7 @@
|
|
|
1317
1317
|
var tmp0 = this.ge6_1;
|
|
1318
1318
|
var value = this.he6_1;
|
|
1319
1319
|
this.s8_1 = 1;
|
|
1320
|
-
suspendResult = tmp0.
|
|
1320
|
+
suspendResult = tmp0.j24(value.ne_1, this);
|
|
1321
1321
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1322
1322
|
return suspendResult;
|
|
1323
1323
|
}
|
|
@@ -1339,7 +1339,7 @@
|
|
|
1339
1339
|
}
|
|
1340
1340
|
while (true);
|
|
1341
1341
|
};
|
|
1342
|
-
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda_3).
|
|
1342
|
+
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda_3).e2j = function (value, completion) {
|
|
1343
1343
|
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda_3(this.ge6_1, completion);
|
|
1344
1344
|
i.he6_1 = value;
|
|
1345
1345
|
return i;
|
|
@@ -1347,7 +1347,7 @@
|
|
|
1347
1347
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda_4($$this$unsafeFlow, resultContinuation) {
|
|
1348
1348
|
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda_3($$this$unsafeFlow, resultContinuation);
|
|
1349
1349
|
var l = function (value, $completion) {
|
|
1350
|
-
return i.
|
|
1350
|
+
return i.d2j(value, $completion);
|
|
1351
1351
|
};
|
|
1352
1352
|
l.$arity = 1;
|
|
1353
1353
|
return l;
|
|
@@ -1368,7 +1368,7 @@
|
|
|
1368
1368
|
var $this$unsafeFlow = this.re6_1;
|
|
1369
1369
|
this.s8_1 = 1;
|
|
1370
1370
|
var tmp_0 = GameServer$observeTableWhenRoundChanges$o$collect$slambda_4($this$unsafeFlow, null);
|
|
1371
|
-
suspendResult = this.qe6_1.se6_1.
|
|
1371
|
+
suspendResult = this.qe6_1.se6_1.g23(new sam$kotlinx_coroutines_flow_FlowCollector$0_3(tmp_0), this);
|
|
1372
1372
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1373
1373
|
return suspendResult;
|
|
1374
1374
|
}
|
|
@@ -1559,7 +1559,7 @@
|
|
|
1559
1559
|
}
|
|
1560
1560
|
function validatePlayerCount($this, config, users, roomId) {
|
|
1561
1561
|
if (!(config.playersMode.count === users.o())) {
|
|
1562
|
-
$this.
|
|
1562
|
+
$this.c56().w('GameEngine_API', 'roomOnCreate: wrong player count for game ' + roomId + ', config = ' + config.toString() + ', users = ' + toString(users));
|
|
1563
1563
|
return false;
|
|
1564
1564
|
}
|
|
1565
1565
|
return true;
|
|
@@ -1647,7 +1647,7 @@
|
|
|
1647
1647
|
function sam$kotlinx_coroutines_flow_FlowCollector$0(function_0) {
|
|
1648
1648
|
this.we7_1 = function_0;
|
|
1649
1649
|
}
|
|
1650
|
-
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).
|
|
1650
|
+
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).j24 = function (value, $completion) {
|
|
1651
1651
|
return this.we7_1(value, $completion);
|
|
1652
1652
|
};
|
|
1653
1653
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).b3 = function () {
|
|
@@ -1674,7 +1674,7 @@
|
|
|
1674
1674
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_0(function_0) {
|
|
1675
1675
|
this.xe7_1 = function_0;
|
|
1676
1676
|
}
|
|
1677
|
-
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).
|
|
1677
|
+
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).j24 = function (value, $completion) {
|
|
1678
1678
|
return this.xe7_1(value, $completion);
|
|
1679
1679
|
};
|
|
1680
1680
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).b3 = function () {
|
|
@@ -1701,7 +1701,7 @@
|
|
|
1701
1701
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_1(function_0) {
|
|
1702
1702
|
this.ye7_1 = function_0;
|
|
1703
1703
|
}
|
|
1704
|
-
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_1).
|
|
1704
|
+
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_1).j24 = function (value, $completion) {
|
|
1705
1705
|
return this.ye7_1(value, $completion);
|
|
1706
1706
|
};
|
|
1707
1707
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_1).b3 = function () {
|
|
@@ -1728,7 +1728,7 @@
|
|
|
1728
1728
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_2(function_0) {
|
|
1729
1729
|
this.ze7_1 = function_0;
|
|
1730
1730
|
}
|
|
1731
|
-
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_2).
|
|
1731
|
+
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_2).j24 = function (value, $completion) {
|
|
1732
1732
|
return this.ze7_1(value, $completion);
|
|
1733
1733
|
};
|
|
1734
1734
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_2).b3 = function () {
|
|
@@ -1755,7 +1755,7 @@
|
|
|
1755
1755
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_3(function_0) {
|
|
1756
1756
|
this.ae8_1 = function_0;
|
|
1757
1757
|
}
|
|
1758
|
-
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_3).
|
|
1758
|
+
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_3).j24 = function (value, $completion) {
|
|
1759
1759
|
return this.ae8_1(value, $completion);
|
|
1760
1760
|
};
|
|
1761
1761
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_3).b3 = function () {
|
|
@@ -1782,7 +1782,7 @@
|
|
|
1782
1782
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_4(function_0) {
|
|
1783
1783
|
this.be8_1 = function_0;
|
|
1784
1784
|
}
|
|
1785
|
-
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_4).
|
|
1785
|
+
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_4).j24 = function (value, $completion) {
|
|
1786
1786
|
return this.be8_1(value, $completion);
|
|
1787
1787
|
};
|
|
1788
1788
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_4).b3 = function () {
|
|
@@ -1858,7 +1858,7 @@
|
|
|
1858
1858
|
}
|
|
1859
1859
|
function GameServer$random$delegate$lambda(this$0) {
|
|
1860
1860
|
return function () {
|
|
1861
|
-
return new SecureRandom(this$0.
|
|
1861
|
+
return new SecureRandom(this$0.c56());
|
|
1862
1862
|
};
|
|
1863
1863
|
}
|
|
1864
1864
|
function GameServer$_get_random_$ref_fottnq() {
|
|
@@ -1921,14 +1921,14 @@
|
|
|
1921
1921
|
this.le8_1 = $subscriber;
|
|
1922
1922
|
CoroutineImpl.call(this, resultContinuation);
|
|
1923
1923
|
}
|
|
1924
|
-
protoOf(GameServer$subscribeToClientAction$slambda).
|
|
1925
|
-
var tmp = this.
|
|
1924
|
+
protoOf(GameServer$subscribeToClientAction$slambda).k29 = function ($this$launchDefault, $completion) {
|
|
1925
|
+
var tmp = this.l29($this$launchDefault, $completion);
|
|
1926
1926
|
tmp.u8_1 = Unit_instance;
|
|
1927
1927
|
tmp.v8_1 = null;
|
|
1928
1928
|
return tmp.a9();
|
|
1929
1929
|
};
|
|
1930
1930
|
protoOf(GameServer$subscribeToClientAction$slambda).i9 = function (p1, $completion) {
|
|
1931
|
-
return this.
|
|
1931
|
+
return this.k29((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
|
|
1932
1932
|
};
|
|
1933
1933
|
protoOf(GameServer$subscribeToClientAction$slambda).a9 = function () {
|
|
1934
1934
|
var suspendResult = this.u8_1;
|
|
@@ -1941,7 +1941,7 @@
|
|
|
1941
1941
|
this.s8_1 = 1;
|
|
1942
1942
|
var tmp_0 = _get_toClientEventsObserver__6rp51y(this.ke8_1).wb7();
|
|
1943
1943
|
var tmp_1 = GameServer$subscribeToClientAction$slambda$slambda_0(this.le8_1, null);
|
|
1944
|
-
suspendResult = tmp_0.
|
|
1944
|
+
suspendResult = tmp_0.g23(new sam$kotlinx_coroutines_flow_FlowCollector$0(tmp_1), this);
|
|
1945
1945
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1946
1946
|
return suspendResult;
|
|
1947
1947
|
}
|
|
@@ -1963,7 +1963,7 @@
|
|
|
1963
1963
|
}
|
|
1964
1964
|
while (true);
|
|
1965
1965
|
};
|
|
1966
|
-
protoOf(GameServer$subscribeToClientAction$slambda).
|
|
1966
|
+
protoOf(GameServer$subscribeToClientAction$slambda).l29 = function ($this$launchDefault, completion) {
|
|
1967
1967
|
var i = new GameServer$subscribeToClientAction$slambda(this.ke8_1, this.le8_1, completion);
|
|
1968
1968
|
i.me8_1 = $this$launchDefault;
|
|
1969
1969
|
return i;
|
|
@@ -1971,7 +1971,7 @@
|
|
|
1971
1971
|
function GameServer$subscribeToClientAction$slambda_0(this$0, $subscriber, resultContinuation) {
|
|
1972
1972
|
var i = new GameServer$subscribeToClientAction$slambda(this$0, $subscriber, resultContinuation);
|
|
1973
1973
|
var l = function ($this$launchDefault, $completion) {
|
|
1974
|
-
return i.
|
|
1974
|
+
return i.k29($this$launchDefault, $completion);
|
|
1975
1975
|
};
|
|
1976
1976
|
l.$arity = 1;
|
|
1977
1977
|
return l;
|
|
@@ -1981,14 +1981,14 @@
|
|
|
1981
1981
|
this.we8_1 = $subscriber;
|
|
1982
1982
|
CoroutineImpl.call(this, resultContinuation);
|
|
1983
1983
|
}
|
|
1984
|
-
protoOf(GameServer$subscribeServerStateUpdate$slambda).
|
|
1985
|
-
var tmp = this.
|
|
1984
|
+
protoOf(GameServer$subscribeServerStateUpdate$slambda).k29 = function ($this$launchDefault, $completion) {
|
|
1985
|
+
var tmp = this.l29($this$launchDefault, $completion);
|
|
1986
1986
|
tmp.u8_1 = Unit_instance;
|
|
1987
1987
|
tmp.v8_1 = null;
|
|
1988
1988
|
return tmp.a9();
|
|
1989
1989
|
};
|
|
1990
1990
|
protoOf(GameServer$subscribeServerStateUpdate$slambda).i9 = function (p1, $completion) {
|
|
1991
|
-
return this.
|
|
1991
|
+
return this.k29((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
|
|
1992
1992
|
};
|
|
1993
1993
|
protoOf(GameServer$subscribeServerStateUpdate$slambda).a9 = function () {
|
|
1994
1994
|
var suspendResult = this.u8_1;
|
|
@@ -2001,7 +2001,7 @@
|
|
|
2001
2001
|
this.s8_1 = 1;
|
|
2002
2002
|
var tmp_0 = observeTableStateUpdates(this.ve8_1);
|
|
2003
2003
|
var tmp_1 = GameServer$subscribeServerStateUpdate$slambda$slambda_0(this.we8_1, null);
|
|
2004
|
-
suspendResult = tmp_0.
|
|
2004
|
+
suspendResult = tmp_0.g23(new sam$kotlinx_coroutines_flow_FlowCollector$0_0(tmp_1), this);
|
|
2005
2005
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2006
2006
|
return suspendResult;
|
|
2007
2007
|
}
|
|
@@ -2023,7 +2023,7 @@
|
|
|
2023
2023
|
}
|
|
2024
2024
|
while (true);
|
|
2025
2025
|
};
|
|
2026
|
-
protoOf(GameServer$subscribeServerStateUpdate$slambda).
|
|
2026
|
+
protoOf(GameServer$subscribeServerStateUpdate$slambda).l29 = function ($this$launchDefault, completion) {
|
|
2027
2027
|
var i = new GameServer$subscribeServerStateUpdate$slambda(this.ve8_1, this.we8_1, completion);
|
|
2028
2028
|
i.xe8_1 = $this$launchDefault;
|
|
2029
2029
|
return i;
|
|
@@ -2031,7 +2031,7 @@
|
|
|
2031
2031
|
function GameServer$subscribeServerStateUpdate$slambda_0(this$0, $subscriber, resultContinuation) {
|
|
2032
2032
|
var i = new GameServer$subscribeServerStateUpdate$slambda(this$0, $subscriber, resultContinuation);
|
|
2033
2033
|
var l = function ($this$launchDefault, $completion) {
|
|
2034
|
-
return i.
|
|
2034
|
+
return i.k29($this$launchDefault, $completion);
|
|
2035
2035
|
};
|
|
2036
2036
|
l.$arity = 1;
|
|
2037
2037
|
return l;
|
|
@@ -2041,14 +2041,14 @@
|
|
|
2041
2041
|
this.he9_1 = $subscriber;
|
|
2042
2042
|
CoroutineImpl.call(this, resultContinuation);
|
|
2043
2043
|
}
|
|
2044
|
-
protoOf(GameServer$subscribeServerStateUpdateJson$slambda).
|
|
2045
|
-
var tmp = this.
|
|
2044
|
+
protoOf(GameServer$subscribeServerStateUpdateJson$slambda).k29 = function ($this$launchDefault, $completion) {
|
|
2045
|
+
var tmp = this.l29($this$launchDefault, $completion);
|
|
2046
2046
|
tmp.u8_1 = Unit_instance;
|
|
2047
2047
|
tmp.v8_1 = null;
|
|
2048
2048
|
return tmp.a9();
|
|
2049
2049
|
};
|
|
2050
2050
|
protoOf(GameServer$subscribeServerStateUpdateJson$slambda).i9 = function (p1, $completion) {
|
|
2051
|
-
return this.
|
|
2051
|
+
return this.k29((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
|
|
2052
2052
|
};
|
|
2053
2053
|
protoOf(GameServer$subscribeServerStateUpdateJson$slambda).a9 = function () {
|
|
2054
2054
|
var suspendResult = this.u8_1;
|
|
@@ -2062,7 +2062,7 @@
|
|
|
2062
2062
|
var this_0 = observeTableStateUpdates(this.ge9_1);
|
|
2063
2063
|
var tmp_0 = new GameServer$subscribeServerStateUpdateJson$2$$inlined$map$1(this_0, this.ge9_1);
|
|
2064
2064
|
var tmp_1 = GameServer$subscribeServerStateUpdateJson$slambda$slambda_0(this.he9_1, null);
|
|
2065
|
-
suspendResult = tmp_0.
|
|
2065
|
+
suspendResult = tmp_0.g23(new sam$kotlinx_coroutines_flow_FlowCollector$0_1(tmp_1), this);
|
|
2066
2066
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2067
2067
|
return suspendResult;
|
|
2068
2068
|
}
|
|
@@ -2084,7 +2084,7 @@
|
|
|
2084
2084
|
}
|
|
2085
2085
|
while (true);
|
|
2086
2086
|
};
|
|
2087
|
-
protoOf(GameServer$subscribeServerStateUpdateJson$slambda).
|
|
2087
|
+
protoOf(GameServer$subscribeServerStateUpdateJson$slambda).l29 = function ($this$launchDefault, completion) {
|
|
2088
2088
|
var i = new GameServer$subscribeServerStateUpdateJson$slambda(this.ge9_1, this.he9_1, completion);
|
|
2089
2089
|
i.ie9_1 = $this$launchDefault;
|
|
2090
2090
|
return i;
|
|
@@ -2092,7 +2092,7 @@
|
|
|
2092
2092
|
function GameServer$subscribeServerStateUpdateJson$slambda_0(this$0, $subscriber, resultContinuation) {
|
|
2093
2093
|
var i = new GameServer$subscribeServerStateUpdateJson$slambda(this$0, $subscriber, resultContinuation);
|
|
2094
2094
|
var l = function ($this$launchDefault, $completion) {
|
|
2095
|
-
return i.
|
|
2095
|
+
return i.k29($this$launchDefault, $completion);
|
|
2096
2096
|
};
|
|
2097
2097
|
l.$arity = 1;
|
|
2098
2098
|
return l;
|
|
@@ -2161,38 +2161,38 @@
|
|
|
2161
2161
|
this.ce4_1 = $this;
|
|
2162
2162
|
this.de4_1 = this$0;
|
|
2163
2163
|
}
|
|
2164
|
-
protoOf(GameServer$observeTableStateUpdates$$inlined$mapNotNull$1).
|
|
2164
|
+
protoOf(GameServer$observeTableStateUpdates$$inlined$mapNotNull$1).k24 = function (collector, $completion) {
|
|
2165
2165
|
var tmp = new $collectCOROUTINE$_1(this, collector, $completion);
|
|
2166
2166
|
tmp.u8_1 = Unit_instance;
|
|
2167
2167
|
tmp.v8_1 = null;
|
|
2168
2168
|
return tmp.a9();
|
|
2169
2169
|
};
|
|
2170
|
-
protoOf(GameServer$observeTableStateUpdates$$inlined$mapNotNull$1).
|
|
2171
|
-
return this.
|
|
2170
|
+
protoOf(GameServer$observeTableStateUpdates$$inlined$mapNotNull$1).g23 = function (collector, $completion) {
|
|
2171
|
+
return this.k24(collector, $completion);
|
|
2172
2172
|
};
|
|
2173
2173
|
function GameServer$observeTableWhenRoundChanges$$inlined$mapNotNull$1($this) {
|
|
2174
2174
|
this.ce5_1 = $this;
|
|
2175
2175
|
}
|
|
2176
|
-
protoOf(GameServer$observeTableWhenRoundChanges$$inlined$mapNotNull$1).
|
|
2176
|
+
protoOf(GameServer$observeTableWhenRoundChanges$$inlined$mapNotNull$1).k24 = function (collector, $completion) {
|
|
2177
2177
|
var tmp = new $collectCOROUTINE$_2(this, collector, $completion);
|
|
2178
2178
|
tmp.u8_1 = Unit_instance;
|
|
2179
2179
|
tmp.v8_1 = null;
|
|
2180
2180
|
return tmp.a9();
|
|
2181
2181
|
};
|
|
2182
|
-
protoOf(GameServer$observeTableWhenRoundChanges$$inlined$mapNotNull$1).
|
|
2183
|
-
return this.
|
|
2182
|
+
protoOf(GameServer$observeTableWhenRoundChanges$$inlined$mapNotNull$1).g23 = function (collector, $completion) {
|
|
2183
|
+
return this.k24(collector, $completion);
|
|
2184
2184
|
};
|
|
2185
2185
|
function GameServer$observeTableWhenRoundChanges$$inlined$map$1($this) {
|
|
2186
2186
|
this.xe5_1 = $this;
|
|
2187
2187
|
}
|
|
2188
|
-
protoOf(GameServer$observeTableWhenRoundChanges$$inlined$map$1).
|
|
2188
|
+
protoOf(GameServer$observeTableWhenRoundChanges$$inlined$map$1).k24 = function (collector, $completion) {
|
|
2189
2189
|
var tmp = new $collectCOROUTINE$_3(this, collector, $completion);
|
|
2190
2190
|
tmp.u8_1 = Unit_instance;
|
|
2191
2191
|
tmp.v8_1 = null;
|
|
2192
2192
|
return tmp.a9();
|
|
2193
2193
|
};
|
|
2194
|
-
protoOf(GameServer$observeTableWhenRoundChanges$$inlined$map$1).
|
|
2195
|
-
return this.
|
|
2194
|
+
protoOf(GameServer$observeTableWhenRoundChanges$$inlined$map$1).g23 = function (collector, $completion) {
|
|
2195
|
+
return this.k24(collector, $completion);
|
|
2196
2196
|
};
|
|
2197
2197
|
function GameServer$observeTableWhenRoundChanges$lambda(old, new_0) {
|
|
2198
2198
|
return old.me_1 === new_0.me_1;
|
|
@@ -2200,28 +2200,28 @@
|
|
|
2200
2200
|
function GameServer$observeTableWhenRoundChanges$$inlined$map$2($this) {
|
|
2201
2201
|
this.se6_1 = $this;
|
|
2202
2202
|
}
|
|
2203
|
-
protoOf(GameServer$observeTableWhenRoundChanges$$inlined$map$2).
|
|
2203
|
+
protoOf(GameServer$observeTableWhenRoundChanges$$inlined$map$2).k24 = function (collector, $completion) {
|
|
2204
2204
|
var tmp = new $collectCOROUTINE$_4(this, collector, $completion);
|
|
2205
2205
|
tmp.u8_1 = Unit_instance;
|
|
2206
2206
|
tmp.v8_1 = null;
|
|
2207
2207
|
return tmp.a9();
|
|
2208
2208
|
};
|
|
2209
|
-
protoOf(GameServer$observeTableWhenRoundChanges$$inlined$map$2).
|
|
2210
|
-
return this.
|
|
2209
|
+
protoOf(GameServer$observeTableWhenRoundChanges$$inlined$map$2).g23 = function (collector, $completion) {
|
|
2210
|
+
return this.k24(collector, $completion);
|
|
2211
2211
|
};
|
|
2212
2212
|
function GameServer$subscribeWith$slambda(this$0, $subscriber, resultContinuation) {
|
|
2213
2213
|
this.cea_1 = this$0;
|
|
2214
2214
|
this.dea_1 = $subscriber;
|
|
2215
2215
|
CoroutineImpl.call(this, resultContinuation);
|
|
2216
2216
|
}
|
|
2217
|
-
protoOf(GameServer$subscribeWith$slambda).
|
|
2218
|
-
var tmp = this.
|
|
2217
|
+
protoOf(GameServer$subscribeWith$slambda).k29 = function ($this$launchDefault, $completion) {
|
|
2218
|
+
var tmp = this.l29($this$launchDefault, $completion);
|
|
2219
2219
|
tmp.u8_1 = Unit_instance;
|
|
2220
2220
|
tmp.v8_1 = null;
|
|
2221
2221
|
return tmp.a9();
|
|
2222
2222
|
};
|
|
2223
2223
|
protoOf(GameServer$subscribeWith$slambda).i9 = function (p1, $completion) {
|
|
2224
|
-
return this.
|
|
2224
|
+
return this.k29((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
|
|
2225
2225
|
};
|
|
2226
2226
|
protoOf(GameServer$subscribeWith$slambda).a9 = function () {
|
|
2227
2227
|
var suspendResult = this.u8_1;
|
|
@@ -2234,7 +2234,7 @@
|
|
|
2234
2234
|
this.s8_1 = 1;
|
|
2235
2235
|
var tmp_0 = distinctUntilChanged(this.cea_1.a71());
|
|
2236
2236
|
var tmp_1 = GameServer$subscribeWith$slambda$slambda_0(this.dea_1, null);
|
|
2237
|
-
suspendResult = tmp_0.
|
|
2237
|
+
suspendResult = tmp_0.g23(new sam$kotlinx_coroutines_flow_FlowCollector$0_4(tmp_1), this);
|
|
2238
2238
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2239
2239
|
return suspendResult;
|
|
2240
2240
|
}
|
|
@@ -2256,7 +2256,7 @@
|
|
|
2256
2256
|
}
|
|
2257
2257
|
while (true);
|
|
2258
2258
|
};
|
|
2259
|
-
protoOf(GameServer$subscribeWith$slambda).
|
|
2259
|
+
protoOf(GameServer$subscribeWith$slambda).l29 = function ($this$launchDefault, completion) {
|
|
2260
2260
|
var i = new GameServer$subscribeWith$slambda(this.cea_1, this.dea_1, completion);
|
|
2261
2261
|
i.eea_1 = $this$launchDefault;
|
|
2262
2262
|
return i;
|
|
@@ -2264,7 +2264,7 @@
|
|
|
2264
2264
|
function GameServer$subscribeWith$slambda_0(this$0, $subscriber, resultContinuation) {
|
|
2265
2265
|
var i = new GameServer$subscribeWith$slambda(this$0, $subscriber, resultContinuation);
|
|
2266
2266
|
var l = function ($this$launchDefault, $completion) {
|
|
2267
|
-
return i.
|
|
2267
|
+
return i.k29($this$launchDefault, $completion);
|
|
2268
2268
|
};
|
|
2269
2269
|
l.$arity = 1;
|
|
2270
2270
|
return l;
|
|
@@ -2396,7 +2396,7 @@
|
|
|
2396
2396
|
return Unit_instance;
|
|
2397
2397
|
}
|
|
2398
2398
|
if (!_get_serverReduxConfig__rprcrm(this.jeb_1).waitForPlayerToConnectOnStart && (!get_isCreated(this.meb_1.state) || !this.jeb_1.h6f().d72())) {
|
|
2399
|
-
this.jeb_1.
|
|
2399
|
+
this.jeb_1.c56().v('GameEngine_API', 'playerLive: ' + this.keb_1 + ' before game is created');
|
|
2400
2400
|
return Unit_instance;
|
|
2401
2401
|
}
|
|
2402
2402
|
var tmp_0 = this.meb_1.dispatch;
|
|
@@ -2453,7 +2453,7 @@
|
|
|
2453
2453
|
return Unit_instance;
|
|
2454
2454
|
}
|
|
2455
2455
|
if (!get_isCreated(this.zeb_1.state) || !this.veb_1.h6f().d72()) {
|
|
2456
|
-
this.veb_1.
|
|
2456
|
+
this.veb_1.c56().w('GameEngine_API', 'playerLeft: ' + this.web_1 + ' before game is created');
|
|
2457
2457
|
return Unit_instance;
|
|
2458
2458
|
}
|
|
2459
2459
|
var tmp_0 = this.zeb_1.dispatch;
|
|
@@ -2634,7 +2634,7 @@
|
|
|
2634
2634
|
case 0:
|
|
2635
2635
|
this.t8_1 = 3;
|
|
2636
2636
|
this.s8_1 = 1;
|
|
2637
|
-
suspendResult = this.med_1.
|
|
2637
|
+
suspendResult = this.med_1.g1p(this);
|
|
2638
2638
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2639
2639
|
return suspendResult;
|
|
2640
2640
|
}
|
|
@@ -2952,7 +2952,7 @@
|
|
|
2952
2952
|
var it = this.eeg_1.h6f().b71_1;
|
|
2953
2953
|
var tmp_0;
|
|
2954
2954
|
if (it == null) {
|
|
2955
|
-
this.eeg_1.
|
|
2955
|
+
this.eeg_1.c56().w('GameEngine_API', "GameServer: Termination reason can't be null");
|
|
2956
2956
|
tmp_0 = new TerminationState(new GameErrorReason(Reason_GAME_NOT_EXISTS_getInstance()));
|
|
2957
2957
|
} else {
|
|
2958
2958
|
tmp_0 = it;
|
|
@@ -3084,7 +3084,7 @@
|
|
|
3084
3084
|
}
|
|
3085
3085
|
tmp_0(tmp_1.fromTableWithAnalytics(tmp_2, this.ceh_1.table.isGameFinished, this.ceh_1.table));
|
|
3086
3086
|
} else {
|
|
3087
|
-
this.ceh_1.
|
|
3087
|
+
this.ceh_1.c56().w('GameEngine_API', "GameServer: can't shutdown engine without table, roomId = " + this.deh_1);
|
|
3088
3088
|
var tmp_3 = this.feh_1.dispatch;
|
|
3089
3089
|
var tmp2_safe_receiver = state.b71_1;
|
|
3090
3090
|
tmp_3(new ClearAction(tmp2_safe_receiver == null ? null : tmp2_safe_receiver.t8m_1));
|
|
@@ -3149,7 +3149,7 @@
|
|
|
3149
3149
|
}
|
|
3150
3150
|
continue $sm;
|
|
3151
3151
|
} else {
|
|
3152
|
-
this.seh_1.
|
|
3152
|
+
this.seh_1.c56().w('GameEngine_API', "GameServer: can't generate message without table, " + this.qeh_1);
|
|
3153
3153
|
var tmp_0 = this.ueh_1.dispatch;
|
|
3154
3154
|
var tmp1_safe_receiver = state.b71_1;
|
|
3155
3155
|
tmp_0(new ClearAction(tmp1_safe_receiver == null ? null : tmp1_safe_receiver.t8m_1));
|
|
@@ -3221,7 +3221,7 @@
|
|
|
3221
3221
|
var tmp$ret$2 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
3222
3222
|
var tmp_3 = Instance(di, tmp$ret$2, null);
|
|
3223
3223
|
var tmp_4 = KProperty1;
|
|
3224
|
-
tmp_1.je7_1 = tmp_3.
|
|
3224
|
+
tmp_1.je7_1 = tmp_3.d1h(this, getPropertyCallableRef('toClientEventsObserver', 1, tmp_4, GameServer$_get_toClientEventsObserver_$ref_utir8s(), null));
|
|
3225
3225
|
var tmp_5 = this;
|
|
3226
3226
|
// Inline function 'org.kodein.di.instance' call
|
|
3227
3227
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -3229,7 +3229,7 @@
|
|
|
3229
3229
|
var tmp$ret$4 = isInterface(tmp_6, TypeToken) ? tmp_6 : THROW_CCE();
|
|
3230
3230
|
var tmp_7 = Instance(di, tmp$ret$4, null);
|
|
3231
3231
|
var tmp_8 = KProperty1;
|
|
3232
|
-
tmp_5.ke7_1 = tmp_7.
|
|
3232
|
+
tmp_5.ke7_1 = tmp_7.d1h(this, getPropertyCallableRef('fromClientEventsObserver', 1, tmp_8, GameServer$_get_fromClientEventsObserver_$ref_nf1g79(), null));
|
|
3233
3233
|
var tmp_9 = this;
|
|
3234
3234
|
// Inline function 'org.kodein.di.instance' call
|
|
3235
3235
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -3237,7 +3237,7 @@
|
|
|
3237
3237
|
var tmp$ret$6 = isInterface(tmp_10, TypeToken) ? tmp_10 : THROW_CCE();
|
|
3238
3238
|
var tmp_11 = Instance(di, tmp$ret$6, null);
|
|
3239
3239
|
var tmp_12 = KProperty1;
|
|
3240
|
-
tmp_9.le7_1 = tmp_11.
|
|
3240
|
+
tmp_9.le7_1 = tmp_11.d1h(this, getPropertyCallableRef('playerConnectionInteractor', 1, tmp_12, GameServer$_get_playerConnectionInteractor_$ref_of8tan(), null));
|
|
3241
3241
|
var tmp_13 = this;
|
|
3242
3242
|
// Inline function 'org.kodein.di.instance' call
|
|
3243
3243
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -3245,7 +3245,7 @@
|
|
|
3245
3245
|
var tmp$ret$8 = isInterface(tmp_14, TypeToken) ? tmp_14 : THROW_CCE();
|
|
3246
3246
|
var tmp_15 = Instance(di, tmp$ret$8, null);
|
|
3247
3247
|
var tmp_16 = KProperty1;
|
|
3248
|
-
tmp_13.me7_1 = tmp_15.
|
|
3248
|
+
tmp_13.me7_1 = tmp_15.d1h(this, getPropertyCallableRef('teamsLogicProvider', 1, tmp_16, GameServer$_get_teamsLogicProvider_$ref_b7y54g(), null));
|
|
3249
3249
|
var tmp_17 = this;
|
|
3250
3250
|
// Inline function 'org.kodein.di.instance' call
|
|
3251
3251
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -3253,7 +3253,7 @@
|
|
|
3253
3253
|
var tmp$ret$10 = isInterface(tmp_18, TypeToken) ? tmp_18 : THROW_CCE();
|
|
3254
3254
|
var tmp_19 = Instance(di, tmp$ret$10, null);
|
|
3255
3255
|
var tmp_20 = KProperty1;
|
|
3256
|
-
tmp_17.ne7_1 = tmp_19.
|
|
3256
|
+
tmp_17.ne7_1 = tmp_19.d1h(this, getPropertyCallableRef('userRatingInteractor', 1, tmp_20, GameServer$_get_userRatingInteractor_$ref_8uo6aw(), null));
|
|
3257
3257
|
var tmp_21 = this;
|
|
3258
3258
|
tmp_21.oe7_1 = lazy(GameServer$random$delegate$lambda(this));
|
|
3259
3259
|
var tmp_22 = this;
|
|
@@ -3263,7 +3263,7 @@
|
|
|
3263
3263
|
var tmp$ret$12 = isInterface(tmp_23, TypeToken) ? tmp_23 : THROW_CCE();
|
|
3264
3264
|
var tmp_24 = Instance(di, tmp$ret$12, null);
|
|
3265
3265
|
var tmp_25 = KProperty1;
|
|
3266
|
-
tmp_22.pe7_1 = tmp_24.
|
|
3266
|
+
tmp_22.pe7_1 = tmp_24.d1h(this, getPropertyCallableRef('idsProvider', 1, tmp_25, GameServer$_get_idsProvider_$ref_89s908(), null));
|
|
3267
3267
|
var tmp_26 = this;
|
|
3268
3268
|
// Inline function 'org.kodein.di.instance' call
|
|
3269
3269
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -3271,7 +3271,7 @@
|
|
|
3271
3271
|
var tmp$ret$14 = isInterface(tmp_27, TypeToken) ? tmp_27 : THROW_CCE();
|
|
3272
3272
|
var tmp_28 = Instance(di, tmp$ret$14, null);
|
|
3273
3273
|
var tmp_29 = KProperty1;
|
|
3274
|
-
tmp_26.qe7_1 = tmp_28.
|
|
3274
|
+
tmp_26.qe7_1 = tmp_28.d1h(this, getPropertyCallableRef('serverReduxConfig', 1, tmp_29, GameServer$_get_serverReduxConfig_$ref_7h6jq6(), null));
|
|
3275
3275
|
var tmp_30 = this;
|
|
3276
3276
|
// Inline function 'org.kodein.di.instance' call
|
|
3277
3277
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -3279,7 +3279,7 @@
|
|
|
3279
3279
|
var tmp$ret$16 = isInterface(tmp_31, TypeToken) ? tmp_31 : THROW_CCE();
|
|
3280
3280
|
var tmp_32 = Instance(di, tmp$ret$16, null);
|
|
3281
3281
|
var tmp_33 = KProperty1;
|
|
3282
|
-
tmp_30.re7_1 = tmp_32.
|
|
3282
|
+
tmp_30.re7_1 = tmp_32.d1h(this, getPropertyCallableRef('encoderDecoderProvider', 1, tmp_33, GameServer$_get_encoderDecoderProvider_$ref_6vxmq8(), null));
|
|
3283
3283
|
var tmp_34 = this;
|
|
3284
3284
|
// Inline function 'org.kodein.di.instance' call
|
|
3285
3285
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -3287,7 +3287,7 @@
|
|
|
3287
3287
|
var tmp$ret$18 = isInterface(tmp_35, TypeToken) ? tmp_35 : THROW_CCE();
|
|
3288
3288
|
var tmp_36 = Instance(di, tmp$ret$18, null);
|
|
3289
3289
|
var tmp_37 = KProperty1;
|
|
3290
|
-
tmp_34.se7_1 = tmp_36.
|
|
3290
|
+
tmp_34.se7_1 = tmp_36.d1h(this, getPropertyCallableRef('engineLogicConfig', 1, tmp_37, GameServer$_get_engineLogicConfig_$ref_nlkv2l(), null));
|
|
3291
3291
|
var tmp_38 = this;
|
|
3292
3292
|
// Inline function 'org.kodein.di.instanceOrNull' call
|
|
3293
3293
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -3295,7 +3295,7 @@
|
|
|
3295
3295
|
var tmp$ret$20 = isInterface(tmp_39, TypeToken) ? tmp_39 : THROW_CCE();
|
|
3296
3296
|
var tmp_40 = InstanceOrNull(di, tmp$ret$20, null);
|
|
3297
3297
|
var tmp_41 = KProperty1;
|
|
3298
|
-
tmp_38.te7_1 = tmp_40.
|
|
3298
|
+
tmp_38.te7_1 = tmp_40.d1h(this, getPropertyCallableRef('botChatInteractor', 1, tmp_41, GameServer$_get_botChatInteractor_$ref_zf10ih(), null));
|
|
3299
3299
|
var tmp_42 = this;
|
|
3300
3300
|
var tmp0_externalMiddlewares = plus(storeContract.c9q(), externalMiddlewares);
|
|
3301
3301
|
var tmp1_externalReducers = plus(storeContract.b9q(), externalReducers);
|
|
@@ -3317,7 +3317,7 @@
|
|
|
3317
3317
|
}
|
|
3318
3318
|
return player.m75_1.m6h().z6f_1.canReconnect;
|
|
3319
3319
|
};
|
|
3320
|
-
protoOf(GameServer).
|
|
3320
|
+
protoOf(GameServer).u5j = function () {
|
|
3321
3321
|
return this.h6f().b72().id;
|
|
3322
3322
|
};
|
|
3323
3323
|
protoOf(GameServer).b72 = function () {
|
|
@@ -3349,19 +3349,19 @@
|
|
|
3349
3349
|
tmp.f6l(VOID, GameServer$subscribeWith$slambda_0(this, subscriber, null));
|
|
3350
3350
|
};
|
|
3351
3351
|
protoOf(GameServer).fromClientEvent = function (action) {
|
|
3352
|
-
this.
|
|
3352
|
+
this.c56().d('GameEngine_API', 'fromClientEvent: ' + action.playerId + ', ' + action.actionTag);
|
|
3353
3353
|
this.ue7_1.z71(GameServer$fromClientEvent$slambda_0(action, null));
|
|
3354
3354
|
};
|
|
3355
3355
|
protoOf(GameServer).playerLostConnection = function (playerId) {
|
|
3356
|
-
this.
|
|
3356
|
+
this.c56().d('GameEngine_API', 'playerLostConnection: ' + playerId);
|
|
3357
3357
|
this.ue7_1.z71(GameServer$playerLostConnection$slambda_0(playerId, null));
|
|
3358
3358
|
};
|
|
3359
3359
|
protoOf(GameServer).playerLive = function (playerId) {
|
|
3360
|
-
this.
|
|
3360
|
+
this.c56().d('GameEngine_API', 'playerLive: ' + playerId);
|
|
3361
3361
|
this.ue7_1.z71(GameServer$playerLive$slambda_0(this, playerId, null));
|
|
3362
3362
|
};
|
|
3363
3363
|
protoOf(GameServer).veh = function (playerId, permanently) {
|
|
3364
|
-
this.
|
|
3364
|
+
this.c56().d('GameEngine_API', 'playerLeft: ' + playerId);
|
|
3365
3365
|
var tmp;
|
|
3366
3366
|
if (this.h6f().d72()) {
|
|
3367
3367
|
tmp = calculatePlayerLeftResult(this, playerId);
|
|
@@ -3370,20 +3370,20 @@
|
|
|
3370
3370
|
}
|
|
3371
3371
|
var result = tmp;
|
|
3372
3372
|
this.ue7_1.z71(GameServer$playerLeft$slambda_0(this, playerId, permanently, null));
|
|
3373
|
-
this.
|
|
3373
|
+
this.c56().d('GameEngine_API', 'playerLeft result: ' + toString_0(result));
|
|
3374
3374
|
return result;
|
|
3375
3375
|
};
|
|
3376
3376
|
protoOf(GameServer).weh = function (roomId, gameCreatorId, config, usersArray, transition, spectators) {
|
|
3377
|
-
this.
|
|
3377
|
+
this.c56().d('GameEngine_API', 'roomOnCreate: ' + roomId + ', gameCreatorId = ' + gameCreatorId + ', transition = ' + toString_0(transition));
|
|
3378
3378
|
this.ue7_1.z71(GameServer$roomOnCreate$slambda_0(usersArray, this, config, roomId, transition, gameCreatorId, spectators, null));
|
|
3379
3379
|
};
|
|
3380
3380
|
protoOf(GameServer).roomOnContinueFromState = function (roomId, state) {
|
|
3381
|
-
this.
|
|
3381
|
+
this.c56().d('GameEngine_API', 'roomOnContinueFromState: ' + roomId);
|
|
3382
3382
|
var isCreated = this.ue7_1.a72(GameServer$roomOnContinueFromState$slambda_0(state, null));
|
|
3383
3383
|
this.ue7_1.z71(GameServer$roomOnContinueFromState$slambda_2(isCreated, state, null));
|
|
3384
3384
|
};
|
|
3385
3385
|
protoOf(GameServer).roomOnContinueFromRound = function (roomId, tableLite) {
|
|
3386
|
-
this.
|
|
3386
|
+
this.c56().d('GameEngine_API', 'roomOnContinueFromRound: ' + roomId + ', round = ' + tableLite.gameInfo.round.roundNumber);
|
|
3387
3387
|
this.ue7_1.z71(GameServer$roomOnContinueFromRound$slambda_0(tableLite, roomId, this, null));
|
|
3388
3388
|
this.ue7_1.z71(GameServer$roomOnContinueFromRound$slambda_2(null));
|
|
3389
3389
|
};
|
|
@@ -3394,34 +3394,34 @@
|
|
|
3394
3394
|
this.ue7_1.z71(GameServer$removeSpectatorsFromRoom$slambda_0(spectators, null));
|
|
3395
3395
|
};
|
|
3396
3396
|
protoOf(GameServer).roomRefreshPlayerState = function (playerId) {
|
|
3397
|
-
this.
|
|
3397
|
+
this.c56().d('GameEngine_API', 'roomRefreshPlayerState: ' + playerId);
|
|
3398
3398
|
this.ue7_1.z71(GameServer$roomRefreshPlayerState$slambda_0(playerId, this, null));
|
|
3399
3399
|
};
|
|
3400
3400
|
protoOf(GameServer).getToClientFinishActionBeforeDisconnect = function (playerId, previousState, originState) {
|
|
3401
3401
|
if (!this.isTableExists) {
|
|
3402
|
-
this.
|
|
3402
|
+
this.c56().w('GameEngine_API', "Table not exists can't use playerConnectionInteractor");
|
|
3403
3403
|
return null;
|
|
3404
3404
|
}
|
|
3405
3405
|
var table = this.table;
|
|
3406
3406
|
var player = getPlayer(table.players, playerId);
|
|
3407
|
-
this.
|
|
3407
|
+
this.c56().d('GameEngine_API', 'getToClientFinishActionBeforeDisconnect: ' + playerId + ', ' + ('state = ' + player.m75_1.m6h().z6f_1.toString() + ', ') + ('isBot = ' + player.l75_1.isBot));
|
|
3408
3408
|
var actions = _get_playerConnectionInteractor__si6cxf(this).xeh(playerId, previousState.isLive, table.id, mapToFinishReason(originState, player, table.playersConnections), table.isGameFinished);
|
|
3409
|
-
this.
|
|
3409
|
+
this.c56().d('GameEngine_API', 'getToClientFinishActionBeforeDisconnect: ' + toString(actions));
|
|
3410
3410
|
if (actions.q()) {
|
|
3411
3411
|
return null;
|
|
3412
3412
|
}
|
|
3413
3413
|
return new CombinedToClientAction(actions, Companion_instance_1.user(_get_idsProvider__fnfajc(this).a6n(), table.id, playerId));
|
|
3414
3414
|
};
|
|
3415
3415
|
protoOf(GameServer).yeh = function (newRid) {
|
|
3416
|
-
this.
|
|
3416
|
+
this.c56().d('GameEngine_API', 'roomOnDelete: newRid = ' + newRid);
|
|
3417
3417
|
this.ue7_1.z71(GameServer$roomOnDelete$slambda_0(this, newRid, null));
|
|
3418
3418
|
};
|
|
3419
3419
|
protoOf(GameServer).setCanStartNewGameEnabled = function (enabled) {
|
|
3420
|
-
this.
|
|
3420
|
+
this.c56().d('GameEngine_API', 'setCanStartNewGameEnabled: ' + enabled);
|
|
3421
3421
|
this.ue7_1.z71(GameServer$setCanStartNewGameEnabled$slambda_0(enabled, null));
|
|
3422
3422
|
};
|
|
3423
3423
|
protoOf(GameServer).zeh = function (reason, roomId) {
|
|
3424
|
-
this.
|
|
3424
|
+
this.c56().d('GameEngine_API', 'shutdown: ' + reason + ', ' + roomId);
|
|
3425
3425
|
this.ue7_1.z71(GameServer$shutdown$slambda_0(reason, this, roomId, null));
|
|
3426
3426
|
};
|
|
3427
3427
|
protoOf(GameServer).handlePlayerMessage = function (message, fromPlayerId, onMessageGenerated) {
|
|
@@ -3433,7 +3433,7 @@
|
|
|
3433
3433
|
tmp = tmp0_elvis_lhs;
|
|
3434
3434
|
}
|
|
3435
3435
|
var botChatInteractor = tmp;
|
|
3436
|
-
this.
|
|
3436
|
+
this.c56().d('GameEngine_API', 'handlePlayerMessage: ' + fromPlayerId);
|
|
3437
3437
|
this.ue7_1.z71(GameServer$handlePlayerMessage$slambda_0(botChatInteractor, message, fromPlayerId, onMessageGenerated, this, null));
|
|
3438
3438
|
};
|
|
3439
3439
|
protoOf(GameServer).clear = function () {
|
|
@@ -3503,7 +3503,7 @@
|
|
|
3503
3503
|
protoOf(ServerConfig).pe = function () {
|
|
3504
3504
|
return this.shouldFinishGameWhenDeploy;
|
|
3505
3505
|
};
|
|
3506
|
-
protoOf(ServerConfig).
|
|
3506
|
+
protoOf(ServerConfig).yl = function () {
|
|
3507
3507
|
return this.shouldFinishGameWithBots;
|
|
3508
3508
|
};
|
|
3509
3509
|
protoOf(ServerConfig).dei = function (fromRound, shouldFinishGameWhenDeploy, shouldFinishGameWithBots) {
|
|
@@ -3539,7 +3539,7 @@
|
|
|
3539
3539
|
};
|
|
3540
3540
|
function Companion_1() {
|
|
3541
3541
|
}
|
|
3542
|
-
protoOf(Companion_1).
|
|
3542
|
+
protoOf(Companion_1).r4t = function () {
|
|
3543
3543
|
var tmp = getKClass(ServerStateUpdateDto);
|
|
3544
3544
|
// Inline function 'kotlin.arrayOf' call
|
|
3545
3545
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
@@ -3555,8 +3555,8 @@
|
|
|
3555
3555
|
var tmp$ret$8 = [];
|
|
3556
3556
|
return SealedClassSerializer_init_$Create$('games.jass.logic.server.data.models.serializable.ServerStateUpdateDto', tmp, tmp_0, tmp_1, tmp$ret$8);
|
|
3557
3557
|
};
|
|
3558
|
-
protoOf(Companion_1).
|
|
3559
|
-
return this.
|
|
3558
|
+
protoOf(Companion_1).h10 = function (typeParamsSerializers) {
|
|
3559
|
+
return this.r4t();
|
|
3560
3560
|
};
|
|
3561
3561
|
var Companion_instance_11;
|
|
3562
3562
|
function Companion_getInstance_2() {
|
|
@@ -3566,7 +3566,7 @@
|
|
|
3566
3566
|
}
|
|
3567
3567
|
function Companion_2() {
|
|
3568
3568
|
}
|
|
3569
|
-
protoOf(Companion_2).
|
|
3569
|
+
protoOf(Companion_2).r4t = function () {
|
|
3570
3570
|
return $serializer_getInstance();
|
|
3571
3571
|
};
|
|
3572
3572
|
var Companion_instance_12;
|
|
@@ -3576,59 +3576,59 @@
|
|
|
3576
3576
|
function $serializer() {
|
|
3577
3577
|
$serializer_instance = this;
|
|
3578
3578
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('games.jass.logic.server.data.models.serializable.TableStateUpdateDto', this, 2);
|
|
3579
|
-
tmp0_serialDesc.
|
|
3580
|
-
tmp0_serialDesc.
|
|
3579
|
+
tmp0_serialDesc.hz('roomId', false);
|
|
3580
|
+
tmp0_serialDesc.hz('table', false);
|
|
3581
3581
|
this.eei_1 = tmp0_serialDesc;
|
|
3582
3582
|
}
|
|
3583
3583
|
protoOf($serializer).fei = function (encoder, value) {
|
|
3584
3584
|
var tmp0_desc = this.eei_1;
|
|
3585
|
-
var tmp1_output = encoder.
|
|
3586
|
-
tmp1_output.
|
|
3587
|
-
tmp1_output.
|
|
3588
|
-
tmp1_output.
|
|
3585
|
+
var tmp1_output = encoder.pr(tmp0_desc);
|
|
3586
|
+
tmp1_output.et(tmp0_desc, 0, value.gei_1);
|
|
3587
|
+
tmp1_output.et(tmp0_desc, 1, value.table);
|
|
3588
|
+
tmp1_output.qr(tmp0_desc);
|
|
3589
3589
|
};
|
|
3590
|
-
protoOf($serializer).
|
|
3590
|
+
protoOf($serializer).do = function (encoder, value) {
|
|
3591
3591
|
return this.fei(encoder, value instanceof TableStateUpdateDto ? value : THROW_CCE());
|
|
3592
3592
|
};
|
|
3593
|
-
protoOf($serializer).
|
|
3593
|
+
protoOf($serializer).eo = function (decoder) {
|
|
3594
3594
|
var tmp0_desc = this.eei_1;
|
|
3595
3595
|
var tmp1_flag = true;
|
|
3596
3596
|
var tmp2_index = 0;
|
|
3597
3597
|
var tmp3_bitMask0 = 0;
|
|
3598
3598
|
var tmp4_local0 = null;
|
|
3599
3599
|
var tmp5_local1 = null;
|
|
3600
|
-
var tmp6_input = decoder.
|
|
3601
|
-
if (tmp6_input.
|
|
3602
|
-
tmp4_local0 = tmp6_input.
|
|
3600
|
+
var tmp6_input = decoder.pr(tmp0_desc);
|
|
3601
|
+
if (tmp6_input.fs()) {
|
|
3602
|
+
tmp4_local0 = tmp6_input.zr(tmp0_desc, 0);
|
|
3603
3603
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
3604
|
-
tmp5_local1 = tmp6_input.
|
|
3604
|
+
tmp5_local1 = tmp6_input.zr(tmp0_desc, 1);
|
|
3605
3605
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
3606
3606
|
} else
|
|
3607
3607
|
while (tmp1_flag) {
|
|
3608
|
-
tmp2_index = tmp6_input.
|
|
3608
|
+
tmp2_index = tmp6_input.gs(tmp0_desc);
|
|
3609
3609
|
switch (tmp2_index) {
|
|
3610
3610
|
case -1:
|
|
3611
3611
|
tmp1_flag = false;
|
|
3612
3612
|
break;
|
|
3613
3613
|
case 0:
|
|
3614
|
-
tmp4_local0 = tmp6_input.
|
|
3614
|
+
tmp4_local0 = tmp6_input.zr(tmp0_desc, 0);
|
|
3615
3615
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
3616
3616
|
break;
|
|
3617
3617
|
case 1:
|
|
3618
|
-
tmp5_local1 = tmp6_input.
|
|
3618
|
+
tmp5_local1 = tmp6_input.zr(tmp0_desc, 1);
|
|
3619
3619
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
3620
3620
|
break;
|
|
3621
3621
|
default:
|
|
3622
3622
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
3623
3623
|
}
|
|
3624
3624
|
}
|
|
3625
|
-
tmp6_input.
|
|
3625
|
+
tmp6_input.qr(tmp0_desc);
|
|
3626
3626
|
return TableStateUpdateDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
|
|
3627
3627
|
};
|
|
3628
|
-
protoOf($serializer).
|
|
3628
|
+
protoOf($serializer).co = function () {
|
|
3629
3629
|
return this.eei_1;
|
|
3630
3630
|
};
|
|
3631
|
-
protoOf($serializer).
|
|
3631
|
+
protoOf($serializer).wz = function () {
|
|
3632
3632
|
// Inline function 'kotlin.arrayOf' call
|
|
3633
3633
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
3634
3634
|
// Inline function 'kotlin.js.asDynamic' call
|
|
@@ -3667,13 +3667,13 @@
|
|
|
3667
3667
|
protoOf(TableStateUpdateDto).pe = function () {
|
|
3668
3668
|
return this.table;
|
|
3669
3669
|
};
|
|
3670
|
-
protoOf(TableStateUpdateDto).
|
|
3670
|
+
protoOf(TableStateUpdateDto).a5k = function (roomId, table) {
|
|
3671
3671
|
return new TableStateUpdateDto(roomId, table);
|
|
3672
3672
|
};
|
|
3673
3673
|
protoOf(TableStateUpdateDto).copy = function (roomId, table, $super) {
|
|
3674
3674
|
roomId = roomId === VOID ? this.gei_1 : roomId;
|
|
3675
3675
|
table = table === VOID ? this.table : table;
|
|
3676
|
-
return $super === VOID ? this.
|
|
3676
|
+
return $super === VOID ? this.a5k(roomId, table) : $super.a5k.call(this, roomId, table);
|
|
3677
3677
|
};
|
|
3678
3678
|
protoOf(TableStateUpdateDto).toString = function () {
|
|
3679
3679
|
return 'TableStateUpdateDto(roomId=' + this.gei_1 + ', table=' + this.table + ')';
|
|
@@ -3696,7 +3696,7 @@
|
|
|
3696
3696
|
};
|
|
3697
3697
|
function Companion_3() {
|
|
3698
3698
|
}
|
|
3699
|
-
protoOf(Companion_3).
|
|
3699
|
+
protoOf(Companion_3).r4t = function () {
|
|
3700
3700
|
return $serializer_getInstance_0();
|
|
3701
3701
|
};
|
|
3702
3702
|
var Companion_instance_13;
|
|
@@ -3706,59 +3706,59 @@
|
|
|
3706
3706
|
function $serializer_0() {
|
|
3707
3707
|
$serializer_instance_0 = this;
|
|
3708
3708
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('games.jass.logic.server.data.models.serializable.ActionsStateUpdateDto', this, 2);
|
|
3709
|
-
tmp0_serialDesc.
|
|
3710
|
-
tmp0_serialDesc.
|
|
3709
|
+
tmp0_serialDesc.hz('roomId', false);
|
|
3710
|
+
tmp0_serialDesc.hz('actions', false);
|
|
3711
3711
|
this.hei_1 = tmp0_serialDesc;
|
|
3712
3712
|
}
|
|
3713
3713
|
protoOf($serializer_0).iei = function (encoder, value) {
|
|
3714
3714
|
var tmp0_desc = this.hei_1;
|
|
3715
|
-
var tmp1_output = encoder.
|
|
3716
|
-
tmp1_output.
|
|
3717
|
-
tmp1_output.
|
|
3718
|
-
tmp1_output.
|
|
3715
|
+
var tmp1_output = encoder.pr(tmp0_desc);
|
|
3716
|
+
tmp1_output.et(tmp0_desc, 0, value.jei_1);
|
|
3717
|
+
tmp1_output.et(tmp0_desc, 1, value.actions);
|
|
3718
|
+
tmp1_output.qr(tmp0_desc);
|
|
3719
3719
|
};
|
|
3720
|
-
protoOf($serializer_0).
|
|
3720
|
+
protoOf($serializer_0).do = function (encoder, value) {
|
|
3721
3721
|
return this.iei(encoder, value instanceof ActionsStateUpdateDto ? value : THROW_CCE());
|
|
3722
3722
|
};
|
|
3723
|
-
protoOf($serializer_0).
|
|
3723
|
+
protoOf($serializer_0).eo = function (decoder) {
|
|
3724
3724
|
var tmp0_desc = this.hei_1;
|
|
3725
3725
|
var tmp1_flag = true;
|
|
3726
3726
|
var tmp2_index = 0;
|
|
3727
3727
|
var tmp3_bitMask0 = 0;
|
|
3728
3728
|
var tmp4_local0 = null;
|
|
3729
3729
|
var tmp5_local1 = null;
|
|
3730
|
-
var tmp6_input = decoder.
|
|
3731
|
-
if (tmp6_input.
|
|
3732
|
-
tmp4_local0 = tmp6_input.
|
|
3730
|
+
var tmp6_input = decoder.pr(tmp0_desc);
|
|
3731
|
+
if (tmp6_input.fs()) {
|
|
3732
|
+
tmp4_local0 = tmp6_input.zr(tmp0_desc, 0);
|
|
3733
3733
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
3734
|
-
tmp5_local1 = tmp6_input.
|
|
3734
|
+
tmp5_local1 = tmp6_input.zr(tmp0_desc, 1);
|
|
3735
3735
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
3736
3736
|
} else
|
|
3737
3737
|
while (tmp1_flag) {
|
|
3738
|
-
tmp2_index = tmp6_input.
|
|
3738
|
+
tmp2_index = tmp6_input.gs(tmp0_desc);
|
|
3739
3739
|
switch (tmp2_index) {
|
|
3740
3740
|
case -1:
|
|
3741
3741
|
tmp1_flag = false;
|
|
3742
3742
|
break;
|
|
3743
3743
|
case 0:
|
|
3744
|
-
tmp4_local0 = tmp6_input.
|
|
3744
|
+
tmp4_local0 = tmp6_input.zr(tmp0_desc, 0);
|
|
3745
3745
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
3746
3746
|
break;
|
|
3747
3747
|
case 1:
|
|
3748
|
-
tmp5_local1 = tmp6_input.
|
|
3748
|
+
tmp5_local1 = tmp6_input.zr(tmp0_desc, 1);
|
|
3749
3749
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
3750
3750
|
break;
|
|
3751
3751
|
default:
|
|
3752
3752
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
3753
3753
|
}
|
|
3754
3754
|
}
|
|
3755
|
-
tmp6_input.
|
|
3755
|
+
tmp6_input.qr(tmp0_desc);
|
|
3756
3756
|
return ActionsStateUpdateDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
|
|
3757
3757
|
};
|
|
3758
|
-
protoOf($serializer_0).
|
|
3758
|
+
protoOf($serializer_0).co = function () {
|
|
3759
3759
|
return this.hei_1;
|
|
3760
3760
|
};
|
|
3761
|
-
protoOf($serializer_0).
|
|
3761
|
+
protoOf($serializer_0).wz = function () {
|
|
3762
3762
|
// Inline function 'kotlin.arrayOf' call
|
|
3763
3763
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
3764
3764
|
// Inline function 'kotlin.js.asDynamic' call
|
|
@@ -3797,13 +3797,13 @@
|
|
|
3797
3797
|
protoOf(ActionsStateUpdateDto).pe = function () {
|
|
3798
3798
|
return this.actions;
|
|
3799
3799
|
};
|
|
3800
|
-
protoOf(ActionsStateUpdateDto).
|
|
3800
|
+
protoOf(ActionsStateUpdateDto).a5k = function (roomId, actions) {
|
|
3801
3801
|
return new ActionsStateUpdateDto(roomId, actions);
|
|
3802
3802
|
};
|
|
3803
3803
|
protoOf(ActionsStateUpdateDto).copy = function (roomId, actions, $super) {
|
|
3804
3804
|
roomId = roomId === VOID ? this.jei_1 : roomId;
|
|
3805
3805
|
actions = actions === VOID ? this.actions : actions;
|
|
3806
|
-
return $super === VOID ? this.
|
|
3806
|
+
return $super === VOID ? this.a5k(roomId, actions) : $super.a5k.call(this, roomId, actions);
|
|
3807
3807
|
};
|
|
3808
3808
|
protoOf(ActionsStateUpdateDto).toString = function () {
|
|
3809
3809
|
return 'ActionsStateUpdateDto(roomId=' + this.jei_1 + ', actions=' + this.actions + ')';
|
|
@@ -3955,27 +3955,27 @@
|
|
|
3955
3955
|
};
|
|
3956
3956
|
}
|
|
3957
3957
|
function createGameServerDI$lambda$lambda_0($this$singleton) {
|
|
3958
|
-
return new ServerGameStoreContract($this$singleton.
|
|
3958
|
+
return new ServerGameStoreContract($this$singleton.s1b());
|
|
3959
3959
|
}
|
|
3960
3960
|
function createGameServerDI$lambda$lambda_1($externalReducers, $externalMiddlewares) {
|
|
3961
3961
|
return function ($this$singleton) {
|
|
3962
|
-
var tmp = $this$singleton.
|
|
3962
|
+
var tmp = $this$singleton.s1b();
|
|
3963
3963
|
// Inline function 'org.kodein.di.instance' call
|
|
3964
|
-
var tmp_0 = $this$singleton.
|
|
3964
|
+
var tmp_0 = $this$singleton.v1c();
|
|
3965
3965
|
// Inline function 'org.kodein.type.generic' call
|
|
3966
3966
|
var tmp_1 = typeToken(createKType(getKClass(StoreContract), arrayOf([]), false));
|
|
3967
3967
|
var tmp$ret$0 = isInterface(tmp_1, TypeToken) ? tmp_1 : THROW_CCE();
|
|
3968
|
-
var tmp$ret$1 = tmp_0.
|
|
3968
|
+
var tmp$ret$1 = tmp_0.u1c(tmp$ret$0, null);
|
|
3969
3969
|
return new GameServer(tmp, 'Game server', tmp$ret$1, VOID, $externalReducers, $externalMiddlewares);
|
|
3970
3970
|
};
|
|
3971
3971
|
}
|
|
3972
3972
|
function createGameServerDI$lambda$lambda_2($this$provider) {
|
|
3973
3973
|
// Inline function 'org.kodein.di.instance' call
|
|
3974
|
-
var tmp = $this$provider.
|
|
3974
|
+
var tmp = $this$provider.v1c();
|
|
3975
3975
|
// Inline function 'org.kodein.type.generic' call
|
|
3976
3976
|
var tmp_0 = typeToken(createKType(getKClass(GameServer), arrayOf([]), false));
|
|
3977
3977
|
var tmp$ret$0 = isInterface(tmp_0, TypeToken) ? tmp_0 : THROW_CCE();
|
|
3978
|
-
return tmp.
|
|
3978
|
+
return tmp.u1c(tmp$ret$0, null);
|
|
3979
3979
|
}
|
|
3980
3980
|
function createGameServerDI$lambda($engineBotConfig, $logicConfig, $dealerConfig, $ratingConfig, $serverConfig, $externalReducers, $externalMiddlewares) {
|
|
3981
3981
|
return function ($this$Module) {
|
|
@@ -3983,190 +3983,190 @@
|
|
|
3983
3983
|
// Inline function 'org.kodein.type.generic' call
|
|
3984
3984
|
var tmp = typeToken(createKType(getKClass(ServerReduxConfig), arrayOf([]), false));
|
|
3985
3985
|
var tmp$ret$0 = isInterface(tmp, TypeToken) ? tmp : THROW_CCE();
|
|
3986
|
-
var tmp_0 = $this$Module.
|
|
3986
|
+
var tmp_0 = $this$Module.i1b(tmp$ret$0, null, null);
|
|
3987
3987
|
// Inline function 'org.kodein.di.singleton' call
|
|
3988
3988
|
var creator = createGameServerDI$lambda$lambda($serverConfig);
|
|
3989
|
-
var tmp_1 = $this$Module.
|
|
3990
|
-
var tmp_2 = $this$Module.
|
|
3991
|
-
var tmp_3 = $this$Module.
|
|
3989
|
+
var tmp_1 = $this$Module.n1b();
|
|
3990
|
+
var tmp_2 = $this$Module.l1b();
|
|
3991
|
+
var tmp_3 = $this$Module.m1b();
|
|
3992
3992
|
// Inline function 'org.kodein.type.generic' call
|
|
3993
3993
|
var tmp_4 = typeToken(createKType(getKClass(ServerReduxConfig), arrayOf([]), false));
|
|
3994
3994
|
var tmp$ret$2 = isInterface(tmp_4, TypeToken) ? tmp_4 : THROW_CCE();
|
|
3995
3995
|
var tmp$ret$3 = new Singleton(tmp_1, tmp_2, tmp_3, tmp$ret$2, null, true, creator);
|
|
3996
|
-
tmp_0.
|
|
3997
|
-
$this$Module.
|
|
3996
|
+
tmp_0.g1f(tmp$ret$3);
|
|
3997
|
+
$this$Module.k1b(getServerEngineGameDI($engineBotConfig, $logicConfig, $dealerConfig, $ratingConfig));
|
|
3998
3998
|
// Inline function 'org.kodein.di.bind' call
|
|
3999
3999
|
// Inline function 'org.kodein.type.generic' call
|
|
4000
4000
|
var tmp_5 = typeToken(createKType(getKClass(StoreContract), arrayOf([]), false));
|
|
4001
4001
|
var tmp$ret$4 = isInterface(tmp_5, TypeToken) ? tmp_5 : THROW_CCE();
|
|
4002
|
-
var tmp_6 = $this$Module.
|
|
4002
|
+
var tmp_6 = $this$Module.i1b(tmp$ret$4, null, null);
|
|
4003
4003
|
// Inline function 'org.kodein.di.singleton' call
|
|
4004
4004
|
var creator_0 = createGameServerDI$lambda$lambda_0;
|
|
4005
|
-
var tmp_7 = $this$Module.
|
|
4006
|
-
var tmp_8 = $this$Module.
|
|
4007
|
-
var tmp_9 = $this$Module.
|
|
4005
|
+
var tmp_7 = $this$Module.n1b();
|
|
4006
|
+
var tmp_8 = $this$Module.l1b();
|
|
4007
|
+
var tmp_9 = $this$Module.m1b();
|
|
4008
4008
|
// Inline function 'org.kodein.type.generic' call
|
|
4009
4009
|
var tmp_10 = typeToken(createKType(getKClass(ServerGameStoreContract), arrayOf([]), false));
|
|
4010
4010
|
var tmp$ret$6 = isInterface(tmp_10, TypeToken) ? tmp_10 : THROW_CCE();
|
|
4011
4011
|
var tmp$ret$7 = new Singleton(tmp_7, tmp_8, tmp_9, tmp$ret$6, null, true, creator_0);
|
|
4012
|
-
tmp_6.
|
|
4012
|
+
tmp_6.g1f(tmp$ret$7);
|
|
4013
4013
|
// Inline function 'org.kodein.di.bind' call
|
|
4014
4014
|
// Inline function 'org.kodein.type.generic' call
|
|
4015
4015
|
var tmp_11 = typeToken(createKType(getKClass(GameServer), arrayOf([]), false));
|
|
4016
4016
|
var tmp$ret$8 = isInterface(tmp_11, TypeToken) ? tmp_11 : THROW_CCE();
|
|
4017
|
-
var tmp_12 = $this$Module.
|
|
4017
|
+
var tmp_12 = $this$Module.i1b(tmp$ret$8, null, null);
|
|
4018
4018
|
// Inline function 'org.kodein.di.singleton' call
|
|
4019
4019
|
var creator_1 = createGameServerDI$lambda$lambda_1($externalReducers, $externalMiddlewares);
|
|
4020
|
-
var tmp_13 = $this$Module.
|
|
4021
|
-
var tmp_14 = $this$Module.
|
|
4022
|
-
var tmp_15 = $this$Module.
|
|
4020
|
+
var tmp_13 = $this$Module.n1b();
|
|
4021
|
+
var tmp_14 = $this$Module.l1b();
|
|
4022
|
+
var tmp_15 = $this$Module.m1b();
|
|
4023
4023
|
// Inline function 'org.kodein.type.generic' call
|
|
4024
4024
|
var tmp_16 = typeToken(createKType(getKClass(GameServer), arrayOf([]), false));
|
|
4025
4025
|
var tmp$ret$10 = isInterface(tmp_16, TypeToken) ? tmp_16 : THROW_CCE();
|
|
4026
4026
|
var tmp$ret$11 = new Singleton(tmp_13, tmp_14, tmp_15, tmp$ret$10, null, true, creator_1);
|
|
4027
|
-
tmp_12.
|
|
4027
|
+
tmp_12.g1f(tmp$ret$11);
|
|
4028
4028
|
// Inline function 'org.kodein.di.bind' call
|
|
4029
4029
|
// Inline function 'org.kodein.type.generic' call
|
|
4030
4030
|
var tmp_17 = typeToken(createKType(getKClass(StateProvider), arrayOf([]), false));
|
|
4031
4031
|
var tmp$ret$12 = isInterface(tmp_17, TypeToken) ? tmp_17 : THROW_CCE();
|
|
4032
|
-
var tmp_18 = $this$Module.
|
|
4032
|
+
var tmp_18 = $this$Module.i1b(tmp$ret$12, null, null);
|
|
4033
4033
|
// Inline function 'org.kodein.di.provider' call
|
|
4034
4034
|
var creator_2 = createGameServerDI$lambda$lambda_2;
|
|
4035
|
-
var tmp_19 = $this$Module.
|
|
4035
|
+
var tmp_19 = $this$Module.l1b();
|
|
4036
4036
|
// Inline function 'org.kodein.type.generic' call
|
|
4037
4037
|
var tmp_20 = typeToken(createKType(getKClass(GameServer), arrayOf([]), false));
|
|
4038
4038
|
var tmp$ret$14 = isInterface(tmp_20, TypeToken) ? tmp_20 : THROW_CCE();
|
|
4039
4039
|
var tmp$ret$15 = new Provider(tmp_19, tmp$ret$14, creator_2);
|
|
4040
|
-
tmp_18.
|
|
4040
|
+
tmp_18.g1f(tmp$ret$15);
|
|
4041
4041
|
return Unit_instance;
|
|
4042
4042
|
};
|
|
4043
4043
|
}
|
|
4044
4044
|
function getServerEngineGameDI$lambda$lambda($this$provider) {
|
|
4045
4045
|
// Inline function 'org.kodein.di.instance' call
|
|
4046
|
-
var tmp = $this$provider.
|
|
4046
|
+
var tmp = $this$provider.v1c();
|
|
4047
4047
|
// Inline function 'org.kodein.type.generic' call
|
|
4048
4048
|
var tmp_0 = typeToken(createKType(getKClass(RaspberryLogger), arrayOf([]), false));
|
|
4049
4049
|
var tmp$ret$0 = isInterface(tmp_0, TypeToken) ? tmp_0 : THROW_CCE();
|
|
4050
|
-
var tmp0_logger = tmp.
|
|
4050
|
+
var tmp0_logger = tmp.u1c(tmp$ret$0, null);
|
|
4051
4051
|
// Inline function 'org.kodein.di.instance' call
|
|
4052
|
-
var tmp_1 = $this$provider.
|
|
4052
|
+
var tmp_1 = $this$provider.v1c();
|
|
4053
4053
|
// Inline function 'org.kodein.type.generic' call
|
|
4054
4054
|
var tmp_2 = typeToken(createKType(getKClass(TableLifecycleReducer), arrayOf([]), false));
|
|
4055
4055
|
var tmp$ret$2 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
4056
|
-
var tmp1_tableLifecycleReducer = tmp_1.
|
|
4056
|
+
var tmp1_tableLifecycleReducer = tmp_1.u1c(tmp$ret$2, null);
|
|
4057
4057
|
// Inline function 'org.kodein.di.instance' call
|
|
4058
|
-
var tmp_3 = $this$provider.
|
|
4058
|
+
var tmp_3 = $this$provider.v1c();
|
|
4059
4059
|
// Inline function 'org.kodein.type.generic' call
|
|
4060
4060
|
var tmp_4 = typeToken(createKType(getKClass(RandomPoolProvider), arrayOf([]), false));
|
|
4061
4061
|
var tmp$ret$4 = isInterface(tmp_4, TypeToken) ? tmp_4 : THROW_CCE();
|
|
4062
|
-
var tmp2_randomPoolProvider = tmp_3.
|
|
4062
|
+
var tmp2_randomPoolProvider = tmp_3.u1c(tmp$ret$4, null);
|
|
4063
4063
|
// Inline function 'org.kodein.di.instance' call
|
|
4064
|
-
var tmp_5 = $this$provider.
|
|
4064
|
+
var tmp_5 = $this$provider.v1c();
|
|
4065
4065
|
// Inline function 'org.kodein.type.generic' call
|
|
4066
4066
|
var tmp_6 = typeToken(createKType(getKClass(ServerReduxConfig), arrayOf([]), false));
|
|
4067
4067
|
var tmp$ret$6 = isInterface(tmp_6, TypeToken) ? tmp_6 : THROW_CCE();
|
|
4068
|
-
var tmp3_serverReduxConfig = tmp_5.
|
|
4068
|
+
var tmp3_serverReduxConfig = tmp_5.u1c(tmp$ret$6, null);
|
|
4069
4069
|
return new ServerMechanicLifecycleReducer(tmp0_logger, tmp3_serverReduxConfig, tmp1_tableLifecycleReducer, tmp2_randomPoolProvider);
|
|
4070
4070
|
}
|
|
4071
4071
|
function getServerEngineGameDI$lambda$lambda_0($this$provider) {
|
|
4072
4072
|
// Inline function 'org.kodein.di.instance' call
|
|
4073
|
-
var tmp = $this$provider.
|
|
4073
|
+
var tmp = $this$provider.v1c();
|
|
4074
4074
|
// Inline function 'org.kodein.type.generic' call
|
|
4075
4075
|
var tmp_0 = typeToken(createKType(getKClass(ServerReduxConfig), arrayOf([]), false));
|
|
4076
4076
|
var tmp$ret$0 = isInterface(tmp_0, TypeToken) ? tmp_0 : THROW_CCE();
|
|
4077
|
-
var tmp0_serverConfig = tmp.
|
|
4077
|
+
var tmp0_serverConfig = tmp.u1c(tmp$ret$0, null);
|
|
4078
4078
|
// Inline function 'org.kodein.di.instance' call
|
|
4079
|
-
var tmp_1 = $this$provider.
|
|
4079
|
+
var tmp_1 = $this$provider.v1c();
|
|
4080
4080
|
// Inline function 'org.kodein.type.generic' call
|
|
4081
4081
|
var tmp_2 = typeToken(createKType(getKClass(GameLifecycleInteractor), arrayOf([]), false));
|
|
4082
4082
|
var tmp$ret$2 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
4083
|
-
var tmp1_gameLifecycleInteractor = tmp_1.
|
|
4083
|
+
var tmp1_gameLifecycleInteractor = tmp_1.u1c(tmp$ret$2, null);
|
|
4084
4084
|
// Inline function 'org.kodein.di.instance' call
|
|
4085
|
-
var tmp_3 = $this$provider.
|
|
4085
|
+
var tmp_3 = $this$provider.v1c();
|
|
4086
4086
|
// Inline function 'org.kodein.type.generic' call
|
|
4087
4087
|
var tmp_4 = typeToken(createKType(getKClass(PlayerTurnMechanicReducer), arrayOf([]), false));
|
|
4088
4088
|
var tmp$ret$4 = isInterface(tmp_4, TypeToken) ? tmp_4 : THROW_CCE();
|
|
4089
|
-
var tmp2_playerTurnMechanicReducer = tmp_3.
|
|
4089
|
+
var tmp2_playerTurnMechanicReducer = tmp_3.u1c(tmp$ret$4, null);
|
|
4090
4090
|
// Inline function 'org.kodein.di.instance' call
|
|
4091
|
-
var tmp_5 = $this$provider.
|
|
4091
|
+
var tmp_5 = $this$provider.v1c();
|
|
4092
4092
|
// Inline function 'org.kodein.type.generic' call
|
|
4093
4093
|
var tmp_6 = typeToken(createKType(getKClass(IdsProvider), arrayOf([]), false));
|
|
4094
4094
|
var tmp$ret$6 = isInterface(tmp_6, TypeToken) ? tmp_6 : THROW_CCE();
|
|
4095
|
-
var tmp3_idsProvider = tmp_5.
|
|
4095
|
+
var tmp3_idsProvider = tmp_5.u1c(tmp$ret$6, null);
|
|
4096
4096
|
// Inline function 'org.kodein.di.instance' call
|
|
4097
|
-
var tmp_7 = $this$provider.
|
|
4097
|
+
var tmp_7 = $this$provider.v1c();
|
|
4098
4098
|
// Inline function 'org.kodein.type.generic' call
|
|
4099
4099
|
var tmp_8 = typeToken(createKType(getKClass(EngineLogicConfig), arrayOf([]), false));
|
|
4100
4100
|
var tmp$ret$8 = isInterface(tmp_8, TypeToken) ? tmp_8 : THROW_CCE();
|
|
4101
|
-
var tmp4_engineLogicConfig = tmp_7.
|
|
4101
|
+
var tmp4_engineLogicConfig = tmp_7.u1c(tmp$ret$8, null);
|
|
4102
4102
|
return new PlayerConnectionInteractorImpl(tmp0_serverConfig, tmp4_engineLogicConfig, tmp2_playerTurnMechanicReducer, tmp3_idsProvider, tmp1_gameLifecycleInteractor);
|
|
4103
4103
|
}
|
|
4104
4104
|
function getServerEngineGameDI$lambda$lambda_1($this$singleton) {
|
|
4105
4105
|
// Inline function 'org.kodein.di.instance' call
|
|
4106
|
-
var tmp = $this$singleton.
|
|
4106
|
+
var tmp = $this$singleton.v1c();
|
|
4107
4107
|
// Inline function 'org.kodein.type.generic' call
|
|
4108
4108
|
var tmp_0 = typeToken(createKType(getKClass(ServerReduxConfig), arrayOf([]), false));
|
|
4109
4109
|
var tmp$ret$0 = isInterface(tmp_0, TypeToken) ? tmp_0 : THROW_CCE();
|
|
4110
|
-
var tmp_1 = tmp.
|
|
4110
|
+
var tmp_1 = tmp.u1c(tmp$ret$0, null);
|
|
4111
4111
|
// Inline function 'org.kodein.di.instance' call
|
|
4112
|
-
var tmp_2 = $this$singleton.
|
|
4112
|
+
var tmp_2 = $this$singleton.v1c();
|
|
4113
4113
|
// Inline function 'org.kodein.type.generic' call
|
|
4114
4114
|
var tmp_3 = typeToken(createKType(getKClass(RaspberryLogger), arrayOf([]), false));
|
|
4115
4115
|
var tmp$ret$2 = isInterface(tmp_3, TypeToken) ? tmp_3 : THROW_CCE();
|
|
4116
|
-
var tmp_4 = tmp_2.
|
|
4116
|
+
var tmp_4 = tmp_2.u1c(tmp$ret$2, null);
|
|
4117
4117
|
// Inline function 'org.kodein.di.instance' call
|
|
4118
|
-
var tmp_5 = $this$singleton.
|
|
4118
|
+
var tmp_5 = $this$singleton.v1c();
|
|
4119
4119
|
// Inline function 'org.kodein.type.generic' call
|
|
4120
4120
|
var tmp_6 = typeToken(createKType(getKClass(IdsProvider), arrayOf([]), false));
|
|
4121
4121
|
var tmp$ret$4 = isInterface(tmp_6, TypeToken) ? tmp_6 : THROW_CCE();
|
|
4122
|
-
var tmp$ret$5 = tmp_5.
|
|
4122
|
+
var tmp$ret$5 = tmp_5.u1c(tmp$ret$4, null);
|
|
4123
4123
|
return new ToClientEventsObserverImpl(tmp_1, tmp_4, tmp$ret$5);
|
|
4124
4124
|
}
|
|
4125
4125
|
function getServerEngineGameDI$lambda($engineBotConfig, $engineLogicConfig, $dealerConfig, $ratingConfig) {
|
|
4126
4126
|
return function ($this$Module) {
|
|
4127
|
-
$this$Module.
|
|
4128
|
-
$this$Module.
|
|
4127
|
+
$this$Module.k1b(jsonModule(emptyList()));
|
|
4128
|
+
$this$Module.k1b(getEngineGameModule($engineBotConfig, $engineLogicConfig, $dealerConfig, $ratingConfig));
|
|
4129
4129
|
// Inline function 'org.kodein.di.bind' call
|
|
4130
4130
|
// Inline function 'org.kodein.type.generic' call
|
|
4131
4131
|
var tmp = typeToken(createKType(getKClass(MechanicLifecycleReducer), arrayOf([]), false));
|
|
4132
4132
|
var tmp$ret$0 = isInterface(tmp, TypeToken) ? tmp : THROW_CCE();
|
|
4133
|
-
var tmp_0 = $this$Module.
|
|
4133
|
+
var tmp_0 = $this$Module.i1b(tmp$ret$0, null, null);
|
|
4134
4134
|
// Inline function 'org.kodein.di.provider' call
|
|
4135
4135
|
var creator = getServerEngineGameDI$lambda$lambda;
|
|
4136
|
-
var tmp_1 = $this$Module.
|
|
4136
|
+
var tmp_1 = $this$Module.l1b();
|
|
4137
4137
|
// Inline function 'org.kodein.type.generic' call
|
|
4138
4138
|
var tmp_2 = typeToken(createKType(getKClass(ServerMechanicLifecycleReducer), arrayOf([]), false));
|
|
4139
4139
|
var tmp$ret$2 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
4140
4140
|
var tmp$ret$3 = new Provider(tmp_1, tmp$ret$2, creator);
|
|
4141
|
-
tmp_0.
|
|
4141
|
+
tmp_0.g1f(tmp$ret$3);
|
|
4142
4142
|
// Inline function 'org.kodein.di.bind' call
|
|
4143
4143
|
// Inline function 'org.kodein.type.generic' call
|
|
4144
4144
|
var tmp_3 = typeToken(createKType(getKClass(PlayerConnectionInteractor), arrayOf([]), false));
|
|
4145
4145
|
var tmp$ret$4 = isInterface(tmp_3, TypeToken) ? tmp_3 : THROW_CCE();
|
|
4146
|
-
var tmp_4 = $this$Module.
|
|
4146
|
+
var tmp_4 = $this$Module.i1b(tmp$ret$4, null, null);
|
|
4147
4147
|
// Inline function 'org.kodein.di.provider' call
|
|
4148
4148
|
var creator_0 = getServerEngineGameDI$lambda$lambda_0;
|
|
4149
|
-
var tmp_5 = $this$Module.
|
|
4149
|
+
var tmp_5 = $this$Module.l1b();
|
|
4150
4150
|
// Inline function 'org.kodein.type.generic' call
|
|
4151
4151
|
var tmp_6 = typeToken(createKType(getKClass(PlayerConnectionInteractorImpl), arrayOf([]), false));
|
|
4152
4152
|
var tmp$ret$6 = isInterface(tmp_6, TypeToken) ? tmp_6 : THROW_CCE();
|
|
4153
4153
|
var tmp$ret$7 = new Provider(tmp_5, tmp$ret$6, creator_0);
|
|
4154
|
-
tmp_4.
|
|
4154
|
+
tmp_4.g1f(tmp$ret$7);
|
|
4155
4155
|
// Inline function 'org.kodein.di.bind' call
|
|
4156
4156
|
// Inline function 'org.kodein.type.generic' call
|
|
4157
4157
|
var tmp_7 = typeToken(createKType(getKClass(ToClientEventsObserver), arrayOf([]), false));
|
|
4158
4158
|
var tmp$ret$8 = isInterface(tmp_7, TypeToken) ? tmp_7 : THROW_CCE();
|
|
4159
|
-
var tmp_8 = $this$Module.
|
|
4159
|
+
var tmp_8 = $this$Module.i1b(tmp$ret$8, null, null);
|
|
4160
4160
|
// Inline function 'org.kodein.di.singleton' call
|
|
4161
4161
|
var creator_1 = getServerEngineGameDI$lambda$lambda_1;
|
|
4162
|
-
var tmp_9 = $this$Module.
|
|
4163
|
-
var tmp_10 = $this$Module.
|
|
4164
|
-
var tmp_11 = $this$Module.
|
|
4162
|
+
var tmp_9 = $this$Module.n1b();
|
|
4163
|
+
var tmp_10 = $this$Module.l1b();
|
|
4164
|
+
var tmp_11 = $this$Module.m1b();
|
|
4165
4165
|
// Inline function 'org.kodein.type.generic' call
|
|
4166
4166
|
var tmp_12 = typeToken(createKType(getKClass(ToClientEventsObserverImpl), arrayOf([]), false));
|
|
4167
4167
|
var tmp$ret$10 = isInterface(tmp_12, TypeToken) ? tmp_12 : THROW_CCE();
|
|
4168
4168
|
var tmp$ret$11 = new Singleton(tmp_9, tmp_10, tmp_11, tmp$ret$10, null, true, creator_1);
|
|
4169
|
-
tmp_8.
|
|
4169
|
+
tmp_8.g1f(tmp$ret$11);
|
|
4170
4170
|
return Unit_instance;
|
|
4171
4171
|
};
|
|
4172
4172
|
}
|
|
@@ -4208,7 +4208,7 @@
|
|
|
4208
4208
|
|
|
4209
4209
|
var element = this.aej_1.n();
|
|
4210
4210
|
this.s8_1 = 2;
|
|
4211
|
-
suspendResult = this.zei_1.
|
|
4211
|
+
suspendResult = this.zei_1.j24(element, this);
|
|
4212
4212
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4213
4213
|
return suspendResult;
|
|
4214
4214
|
}
|
|
@@ -4438,7 +4438,7 @@
|
|
|
4438
4438
|
}
|
|
4439
4439
|
while (false);
|
|
4440
4440
|
this.s8_1 = 1;
|
|
4441
|
-
suspendResult = this.iek_1.iej_1.
|
|
4441
|
+
suspendResult = this.iek_1.iej_1.j24(this.jek_1, this);
|
|
4442
4442
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4443
4443
|
return suspendResult;
|
|
4444
4444
|
}
|
|
@@ -4745,12 +4745,12 @@
|
|
|
4745
4745
|
return new ContinueGameToClientAction(tmp5_table, tmp6_reason, null, tmp4_deliveryPayload);
|
|
4746
4746
|
};
|
|
4747
4747
|
protoOf(PlayerConnectionInteractorImpl).vek = function (playerId, newConnectionState, previousConnectionState) {
|
|
4748
|
-
var tmp = System_instance.
|
|
4748
|
+
var tmp = System_instance.dk();
|
|
4749
4749
|
Companion_getInstance();
|
|
4750
4750
|
// Inline function 'kotlin.time.Companion.milliseconds' call
|
|
4751
4751
|
var this_0 = this.wek_1.waitForPlayerToReconnectTimeOutMillis;
|
|
4752
4752
|
var tmp$ret$0 = toDuration(this_0, DurationUnit_MILLISECONDS_getInstance());
|
|
4753
|
-
var reconnectUntilTime = tmp.
|
|
4753
|
+
var reconnectUntilTime = tmp.sk(tmp$ret$0);
|
|
4754
4754
|
var tmp0_state = PlayerConnectionState_DISCONNECTING_getInstance();
|
|
4755
4755
|
var tmp1_reconnectUntilTime = reconnectUntilTime.toString();
|
|
4756
4756
|
return listOf_0([new PlayerConnectionChangedMechanicAction(playerId, tmp0_state, previousConnectionState, newConnectionState, false, tmp1_reconnectUntilTime), new StartTimerAction(new PlayerReconnectionWaitingTimerTag(playerId, newConnectionState, previousConnectionState), fromInt(this.wek_1.waitForPlayerToReconnectTimeOutMillis), VOID, TimerType_DELAY_getInstance())]);
|
|
@@ -5079,7 +5079,7 @@
|
|
|
5079
5079
|
var tmp$ret$0 = isInterface(tmp_1, TypeToken) ? tmp_1 : THROW_CCE();
|
|
5080
5080
|
var tmp_2 = Instance(di, tmp$ret$0, null);
|
|
5081
5081
|
var tmp_3 = KProperty1;
|
|
5082
|
-
tmp_0.jel_1 = tmp_2.
|
|
5082
|
+
tmp_0.jel_1 = tmp_2.d1h(this, getPropertyCallableRef('asyncProvider', 1, tmp_3, ServerGameStoreContract$_get_asyncProvider_$ref_1q7po3(), null));
|
|
5083
5083
|
var tmp_4 = this;
|
|
5084
5084
|
// Inline function 'org.kodein.di.instance' call
|
|
5085
5085
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -5087,7 +5087,7 @@
|
|
|
5087
5087
|
var tmp$ret$2 = isInterface(tmp_5, TypeToken) ? tmp_5 : THROW_CCE();
|
|
5088
5088
|
var tmp_6 = Instance(di, tmp$ret$2, null);
|
|
5089
5089
|
var tmp_7 = KProperty1;
|
|
5090
|
-
tmp_4.kel_1 = tmp_6.
|
|
5090
|
+
tmp_4.kel_1 = tmp_6.d1h(this, getPropertyCallableRef('logger', 1, tmp_7, ServerGameStoreContract$_get_logger_$ref_zbgw28(), null));
|
|
5091
5091
|
var tmp_8 = this;
|
|
5092
5092
|
// Inline function 'org.kodein.di.instance' call
|
|
5093
5093
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -5095,7 +5095,7 @@
|
|
|
5095
5095
|
var tmp$ret$4 = isInterface(tmp_9, TypeToken) ? tmp_9 : THROW_CCE();
|
|
5096
5096
|
var tmp_10 = Instance(di, tmp$ret$4, null);
|
|
5097
5097
|
var tmp_11 = KProperty1;
|
|
5098
|
-
tmp_8.lel_1 = tmp_10.
|
|
5098
|
+
tmp_8.lel_1 = tmp_10.d1h(this, getPropertyCallableRef('playerConnectionInteractor', 1, tmp_11, ServerGameStoreContract$_get_playerConnectionInteractor_$ref_d9n2s8(), null));
|
|
5099
5099
|
var tmp_12 = this;
|
|
5100
5100
|
// Inline function 'org.kodein.di.instance' call
|
|
5101
5101
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -5103,7 +5103,7 @@
|
|
|
5103
5103
|
var tmp$ret$6 = isInterface(tmp_13, TypeToken) ? tmp_13 : THROW_CCE();
|
|
5104
5104
|
var tmp_14 = Instance(di, tmp$ret$6, null);
|
|
5105
5105
|
var tmp_15 = KProperty1;
|
|
5106
|
-
tmp_12.mel_1 = tmp_14.
|
|
5106
|
+
tmp_12.mel_1 = tmp_14.d1h(this, getPropertyCallableRef('lastCardInteractor', 1, tmp_15, ServerGameStoreContract$_get_lastCardInteractor_$ref_khpgh(), null));
|
|
5107
5107
|
var tmp_16 = this;
|
|
5108
5108
|
// Inline function 'org.kodein.di.instance' call
|
|
5109
5109
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -5111,7 +5111,7 @@
|
|
|
5111
5111
|
var tmp$ret$8 = isInterface(tmp_17, TypeToken) ? tmp_17 : THROW_CCE();
|
|
5112
5112
|
var tmp_18 = Instance(di, tmp$ret$8, null);
|
|
5113
5113
|
var tmp_19 = KProperty1;
|
|
5114
|
-
tmp_16.nel_1 = tmp_18.
|
|
5114
|
+
tmp_16.nel_1 = tmp_18.d1h(this, getPropertyCallableRef('serverConfig', 1, tmp_19, ServerGameStoreContract$_get_serverConfig_$ref_bz2891(), null));
|
|
5115
5115
|
var tmp_20 = this;
|
|
5116
5116
|
// Inline function 'org.kodein.di.instance' call
|
|
5117
5117
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -5119,7 +5119,7 @@
|
|
|
5119
5119
|
var tmp$ret$10 = isInterface(tmp_21, TypeToken) ? tmp_21 : THROW_CCE();
|
|
5120
5120
|
var tmp_22 = Instance(di, tmp$ret$10, null);
|
|
5121
5121
|
var tmp_23 = KProperty1;
|
|
5122
|
-
tmp_20.oel_1 = tmp_22.
|
|
5122
|
+
tmp_20.oel_1 = tmp_22.d1h(this, getPropertyCallableRef('logicConfig', 1, tmp_23, ServerGameStoreContract$_get_logicConfig_$ref_nqj2yi(), null));
|
|
5123
5123
|
var tmp_24 = this;
|
|
5124
5124
|
// Inline function 'org.kodein.di.instance' call
|
|
5125
5125
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -5127,7 +5127,7 @@
|
|
|
5127
5127
|
var tmp$ret$12 = isInterface(tmp_25, TypeToken) ? tmp_25 : THROW_CCE();
|
|
5128
5128
|
var tmp_26 = Instance(di, tmp$ret$12, null);
|
|
5129
5129
|
var tmp_27 = KProperty1;
|
|
5130
|
-
tmp_24.pel_1 = tmp_26.
|
|
5130
|
+
tmp_24.pel_1 = tmp_26.d1h(this, getPropertyCallableRef('idsProvider', 1, tmp_27, ServerGameStoreContract$_get_idsProvider_$ref_rf1ck1(), null));
|
|
5131
5131
|
var tmp_28 = this;
|
|
5132
5132
|
// Inline function 'org.kodein.di.instance' call
|
|
5133
5133
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -5135,7 +5135,7 @@
|
|
|
5135
5135
|
var tmp$ret$14 = isInterface(tmp_29, TypeToken) ? tmp_29 : THROW_CCE();
|
|
5136
5136
|
var tmp_30 = Instance(di, tmp$ret$14, null);
|
|
5137
5137
|
var tmp_31 = KProperty1;
|
|
5138
|
-
tmp_28.qel_1 = tmp_30.
|
|
5138
|
+
tmp_28.qel_1 = tmp_30.d1h(this, getPropertyCallableRef('botConfig', 1, tmp_31, ServerGameStoreContract$_get_botConfig_$ref_nebw1d(), null));
|
|
5139
5139
|
var tmp_32 = this;
|
|
5140
5140
|
// Inline function 'org.kodein.di.instance' call
|
|
5141
5141
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -5143,7 +5143,7 @@
|
|
|
5143
5143
|
var tmp$ret$16 = isInterface(tmp_33, TypeToken) ? tmp_33 : THROW_CCE();
|
|
5144
5144
|
var tmp_34 = Instance(di, tmp$ret$16, null);
|
|
5145
5145
|
var tmp_35 = KProperty1;
|
|
5146
|
-
tmp_32.rel_1 = tmp_34.
|
|
5146
|
+
tmp_32.rel_1 = tmp_34.d1h(this, getPropertyCallableRef('scenePositionProvider', 1, tmp_35, ServerGameStoreContract$_get_scenePositionProvider_$ref_ue39g4(), null));
|
|
5147
5147
|
var tmp_36 = this;
|
|
5148
5148
|
// Inline function 'org.kodein.di.instance' call
|
|
5149
5149
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -5151,7 +5151,7 @@
|
|
|
5151
5151
|
var tmp$ret$18 = isInterface(tmp_37, TypeToken) ? tmp_37 : THROW_CCE();
|
|
5152
5152
|
var tmp_38 = Instance(di, tmp$ret$18, null);
|
|
5153
5153
|
var tmp_39 = KProperty1;
|
|
5154
|
-
tmp_36.sel_1 = tmp_38.
|
|
5154
|
+
tmp_36.sel_1 = tmp_38.d1h(this, getPropertyCallableRef('toClientEventsObserver', 1, tmp_39, ServerGameStoreContract$_get_toClientEventsObserver_$ref_nkgv3p(), null));
|
|
5155
5155
|
var tmp_40 = this;
|
|
5156
5156
|
// Inline function 'org.kodein.di.instance' call
|
|
5157
5157
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -5159,7 +5159,7 @@
|
|
|
5159
5159
|
var tmp$ret$20 = isInterface(tmp_41, TypeToken) ? tmp_41 : THROW_CCE();
|
|
5160
5160
|
var tmp_42 = Instance(di, tmp$ret$20, null);
|
|
5161
5161
|
var tmp_43 = KProperty1;
|
|
5162
|
-
tmp_40.tel_1 = tmp_42.
|
|
5162
|
+
tmp_40.tel_1 = tmp_42.d1h(this, getPropertyCallableRef('fromClientEventsObserver', 1, tmp_43, ServerGameStoreContract$_get_fromClientEventsObserver_$ref_v1j2bg(), null));
|
|
5163
5163
|
var tmp_44 = this;
|
|
5164
5164
|
// Inline function 'org.kodein.di.instance' call
|
|
5165
5165
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -5167,7 +5167,7 @@
|
|
|
5167
5167
|
var tmp$ret$22 = isInterface(tmp_45, TypeToken) ? tmp_45 : THROW_CCE();
|
|
5168
5168
|
var tmp_46 = Instance(di, tmp$ret$22, null);
|
|
5169
5169
|
var tmp_47 = KProperty1;
|
|
5170
|
-
tmp_44.uel_1 = tmp_46.
|
|
5170
|
+
tmp_44.uel_1 = tmp_46.d1h(this, getPropertyCallableRef('dealerConfig', 1, tmp_47, ServerGameStoreContract$_get_dealerConfig_$ref_mdo2zp(), null));
|
|
5171
5171
|
var tmp_48 = this;
|
|
5172
5172
|
// Inline function 'org.kodein.di.instance' call
|
|
5173
5173
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -5175,7 +5175,7 @@
|
|
|
5175
5175
|
var tmp$ret$24 = isInterface(tmp_49, TypeToken) ? tmp_49 : THROW_CCE();
|
|
5176
5176
|
var tmp_50 = Instance(di, tmp$ret$24, null);
|
|
5177
5177
|
var tmp_51 = KProperty1;
|
|
5178
|
-
tmp_48.vel_1 = tmp_50.
|
|
5178
|
+
tmp_48.vel_1 = tmp_50.d1h(this, getPropertyCallableRef('poolProvider', 1, tmp_51, ServerGameStoreContract$_get_poolProvider_$ref_4pfoc3(), null));
|
|
5179
5179
|
var tmp_52 = this;
|
|
5180
5180
|
// Inline function 'org.kodein.di.instance' call
|
|
5181
5181
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -5183,7 +5183,7 @@
|
|
|
5183
5183
|
var tmp$ret$26 = isInterface(tmp_53, TypeToken) ? tmp_53 : THROW_CCE();
|
|
5184
5184
|
var tmp_54 = Instance(di, tmp$ret$26, null);
|
|
5185
5185
|
var tmp_55 = KProperty1;
|
|
5186
|
-
tmp_52.wel_1 = tmp_54.
|
|
5186
|
+
tmp_52.wel_1 = tmp_54.d1h(this, getPropertyCallableRef('cardsDealerProvider', 1, tmp_55, ServerGameStoreContract$_get_cardsDealerProvider_$ref_ipxqoj(), null));
|
|
5187
5187
|
}
|
|
5188
5188
|
protoOf(ServerGameStoreContract).b9q = function () {
|
|
5189
5189
|
return plus(plus(plus(plus(plus(this.eel_1.b9q(), this.hel_1.b9q()), this.fel_1.b9q()), this.gel_1.b9q()), this.iel_1.b9q()), listOf_0([serverConfigReducer(), spectatorsReducer(_get_logger__rkp4sl(this)), playerConnectionUpdateReducer()]));
|
|
@@ -5937,14 +5937,14 @@
|
|
|
5937
5937
|
this.qem_1 = $action;
|
|
5938
5938
|
CoroutineImpl.call(this, resultContinuation);
|
|
5939
5939
|
}
|
|
5940
|
-
protoOf(sendToClientActionMiddleware$o$handle$slambda).
|
|
5941
|
-
var tmp = this.
|
|
5940
|
+
protoOf(sendToClientActionMiddleware$o$handle$slambda).k29 = function ($this$launchDefault, $completion) {
|
|
5941
|
+
var tmp = this.l29($this$launchDefault, $completion);
|
|
5942
5942
|
tmp.u8_1 = Unit_instance;
|
|
5943
5943
|
tmp.v8_1 = null;
|
|
5944
5944
|
return tmp.a9();
|
|
5945
5945
|
};
|
|
5946
5946
|
protoOf(sendToClientActionMiddleware$o$handle$slambda).i9 = function (p1, $completion) {
|
|
5947
|
-
return this.
|
|
5947
|
+
return this.k29((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
|
|
5948
5948
|
};
|
|
5949
5949
|
protoOf(sendToClientActionMiddleware$o$handle$slambda).a9 = function () {
|
|
5950
5950
|
var suspendResult = this.u8_1;
|
|
@@ -5977,7 +5977,7 @@
|
|
|
5977
5977
|
}
|
|
5978
5978
|
while (true);
|
|
5979
5979
|
};
|
|
5980
|
-
protoOf(sendToClientActionMiddleware$o$handle$slambda).
|
|
5980
|
+
protoOf(sendToClientActionMiddleware$o$handle$slambda).l29 = function ($this$launchDefault, completion) {
|
|
5981
5981
|
var i = new sendToClientActionMiddleware$o$handle$slambda(this.pem_1, this.qem_1, completion);
|
|
5982
5982
|
i.rem_1 = $this$launchDefault;
|
|
5983
5983
|
return i;
|
|
@@ -5985,7 +5985,7 @@
|
|
|
5985
5985
|
function sendToClientActionMiddleware$o$handle$slambda_0($provider, $action, resultContinuation) {
|
|
5986
5986
|
var i = new sendToClientActionMiddleware$o$handle$slambda($provider, $action, resultContinuation);
|
|
5987
5987
|
var l = function ($this$launchDefault, $completion) {
|
|
5988
|
-
return i.
|
|
5988
|
+
return i.k29($this$launchDefault, $completion);
|
|
5989
5989
|
};
|
|
5990
5990
|
l.$arity = 1;
|
|
5991
5991
|
return l;
|
|
@@ -6017,14 +6017,14 @@
|
|
|
6017
6017
|
this.gen_1 = $action;
|
|
6018
6018
|
CoroutineImpl.call(this, resultContinuation);
|
|
6019
6019
|
}
|
|
6020
|
-
protoOf(playerTurnTimeoutWhenHasConnectionMiddleware$o$handle$slambda).
|
|
6021
|
-
var tmp = this.
|
|
6020
|
+
protoOf(playerTurnTimeoutWhenHasConnectionMiddleware$o$handle$slambda).k29 = function ($this$launchDefaultWithLock, $completion) {
|
|
6021
|
+
var tmp = this.l29($this$launchDefaultWithLock, $completion);
|
|
6022
6022
|
tmp.u8_1 = Unit_instance;
|
|
6023
6023
|
tmp.v8_1 = null;
|
|
6024
6024
|
return tmp.a9();
|
|
6025
6025
|
};
|
|
6026
6026
|
protoOf(playerTurnTimeoutWhenHasConnectionMiddleware$o$handle$slambda).i9 = function (p1, $completion) {
|
|
6027
|
-
return this.
|
|
6027
|
+
return this.k29((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
|
|
6028
6028
|
};
|
|
6029
6029
|
protoOf(playerTurnTimeoutWhenHasConnectionMiddleware$o$handle$slambda).a9 = function () {
|
|
6030
6030
|
var suspendResult = this.u8_1;
|
|
@@ -6084,7 +6084,7 @@
|
|
|
6084
6084
|
}
|
|
6085
6085
|
while (true);
|
|
6086
6086
|
};
|
|
6087
|
-
protoOf(playerTurnTimeoutWhenHasConnectionMiddleware$o$handle$slambda).
|
|
6087
|
+
protoOf(playerTurnTimeoutWhenHasConnectionMiddleware$o$handle$slambda).l29 = function ($this$launchDefaultWithLock, completion) {
|
|
6088
6088
|
var i = new playerTurnTimeoutWhenHasConnectionMiddleware$o$handle$slambda(this.cen_1, this.den_1, this.een_1, this.fen_1, this.gen_1, completion);
|
|
6089
6089
|
i.hen_1 = $this$launchDefaultWithLock;
|
|
6090
6090
|
return i;
|
|
@@ -6092,7 +6092,7 @@
|
|
|
6092
6092
|
function playerTurnTimeoutWhenHasConnectionMiddleware$o$handle$slambda_0($store, $timerTag, $serverConfig, $logger, $action, resultContinuation) {
|
|
6093
6093
|
var i = new playerTurnTimeoutWhenHasConnectionMiddleware$o$handle$slambda($store, $timerTag, $serverConfig, $logger, $action, resultContinuation);
|
|
6094
6094
|
var l = function ($this$launchDefaultWithLock, $completion) {
|
|
6095
|
-
return i.
|
|
6095
|
+
return i.k29($this$launchDefaultWithLock, $completion);
|
|
6096
6096
|
};
|
|
6097
6097
|
l.$arity = 1;
|
|
6098
6098
|
return l;
|
|
@@ -6211,7 +6211,7 @@
|
|
|
6211
6211
|
return state.u9m(tmp2_tableOrNull, tmp3_payload, tmp1_gameLifecycleState, null);
|
|
6212
6212
|
};
|
|
6213
6213
|
protoOf(ServerMechanicLifecycleReducer).pa3 = function (state, action) {
|
|
6214
|
-
this.sa3_1.
|
|
6214
|
+
this.sa3_1.j5o(action.previousGameId);
|
|
6215
6215
|
var tmp0_gameLifecycleState = GameLifecycleState_CREATED_getInstance();
|
|
6216
6216
|
var tmp1_tableOrNull = this.ra3_1.aa5(state.b72(), action.gameId);
|
|
6217
6217
|
var tmp2_payload = get_serverStatePayload(state).copy(VOID, addRoomMetadata(this, get_serverStatePayload(state), action.gameId));
|
|
@@ -6451,7 +6451,7 @@
|
|
|
6451
6451
|
this.metadata = metadata;
|
|
6452
6452
|
this.connectedPlayers = connectedPlayers;
|
|
6453
6453
|
}
|
|
6454
|
-
protoOf(ServerStatePayload).
|
|
6454
|
+
protoOf(ServerStatePayload).f3w = function () {
|
|
6455
6455
|
return this.config;
|
|
6456
6456
|
};
|
|
6457
6457
|
protoOf(ServerStatePayload).r96 = function () {
|
|
@@ -6466,7 +6466,7 @@
|
|
|
6466
6466
|
protoOf(ServerStatePayload).pe = function () {
|
|
6467
6467
|
return this.metadata;
|
|
6468
6468
|
};
|
|
6469
|
-
protoOf(ServerStatePayload).
|
|
6469
|
+
protoOf(ServerStatePayload).yl = function () {
|
|
6470
6470
|
return this.connectedPlayers;
|
|
6471
6471
|
};
|
|
6472
6472
|
protoOf(ServerStatePayload).ten = function (config, metadata, connectedPlayers) {
|
|
@@ -6575,7 +6575,7 @@
|
|
|
6575
6575
|
}
|
|
6576
6576
|
function createDI($this, combinedLogger, coreConfig, serverConfig, logicConfig, engineBotConfig, dealerConfig, ratingConfig, externalReducers, externalMiddlewares, externalModule) {
|
|
6577
6577
|
var tmp = Companion_instance_6;
|
|
6578
|
-
return tmp.
|
|
6578
|
+
return tmp.r1b(VOID, GameServerEngineControllerImpl$createDI$lambda(combinedLogger, externalModule, $this, coreConfig, serverConfig, logicConfig, engineBotConfig, dealerConfig, ratingConfig, externalReducers, externalMiddlewares));
|
|
6579
6579
|
}
|
|
6580
6580
|
function GameServerEngineControllerImpl$logger$delegate$lambda(this$0) {
|
|
6581
6581
|
return function () {
|
|
@@ -6606,25 +6606,25 @@
|
|
|
6606
6606
|
// Inline function 'org.kodein.type.generic' call
|
|
6607
6607
|
var tmp = typeToken(createKType(getKClass(RaspberryLogger), arrayOf([]), false));
|
|
6608
6608
|
var tmp$ret$0 = isInterface(tmp, TypeToken) ? tmp : THROW_CCE();
|
|
6609
|
-
var tmp_0 = $this$DI.
|
|
6609
|
+
var tmp_0 = $this$DI.i1b(tmp$ret$0, null, null);
|
|
6610
6610
|
// Inline function 'org.kodein.di.provider' call
|
|
6611
6611
|
var creator = GameServerEngineControllerImpl$di$delegate$lambda$lambda$lambda(this$0);
|
|
6612
|
-
var tmp_1 = $this$DI.
|
|
6612
|
+
var tmp_1 = $this$DI.l1b();
|
|
6613
6613
|
// Inline function 'org.kodein.type.generic' call
|
|
6614
6614
|
var tmp_2 = typeToken(createKType(getKClass(RaspberryLogger), arrayOf([]), false));
|
|
6615
6615
|
var tmp$ret$2 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
6616
6616
|
var tmp$ret$3 = new Provider(tmp_1, tmp$ret$2, creator);
|
|
6617
|
-
tmp_0.
|
|
6618
|
-
$this$DI.
|
|
6619
|
-
$this$DI.
|
|
6620
|
-
$this$DI.
|
|
6617
|
+
tmp_0.g1f(tmp$ret$3);
|
|
6618
|
+
$this$DI.k1b(jsonModule());
|
|
6619
|
+
$this$DI.k1b(serverHelpersModule());
|
|
6620
|
+
$this$DI.k1b(randomOrgModule(this$0.beo_1));
|
|
6621
6621
|
return Unit_instance;
|
|
6622
6622
|
};
|
|
6623
6623
|
}
|
|
6624
6624
|
function GameServerEngineControllerImpl$di$delegate$lambda(this$0) {
|
|
6625
6625
|
return function () {
|
|
6626
6626
|
var tmp = Companion_instance_6;
|
|
6627
|
-
return tmp.
|
|
6627
|
+
return tmp.r1b(VOID, GameServerEngineControllerImpl$di$delegate$lambda$lambda(this$0));
|
|
6628
6628
|
};
|
|
6629
6629
|
}
|
|
6630
6630
|
function GameServerEngineControllerImpl$_get_di_$ref_cvlqo6() {
|
|
@@ -6731,44 +6731,44 @@
|
|
|
6731
6731
|
null;
|
|
6732
6732
|
else {
|
|
6733
6733
|
// Inline function 'kotlin.also' call
|
|
6734
|
-
$combinedLogger.
|
|
6734
|
+
$combinedLogger.n52(tmp0_safe_receiver);
|
|
6735
6735
|
// Inline function 'org.kodein.di.bind' call
|
|
6736
6736
|
// Inline function 'org.kodein.type.generic' call
|
|
6737
6737
|
var tmp = typeToken(createKType(getKClass(FileLoggerOutput), arrayOf([]), false));
|
|
6738
6738
|
var tmp$ret$0 = isInterface(tmp, TypeToken) ? tmp : THROW_CCE();
|
|
6739
|
-
var tmp_0 = $this$Module.
|
|
6739
|
+
var tmp_0 = $this$Module.i1b(tmp$ret$0, null, null);
|
|
6740
6740
|
// Inline function 'org.kodein.di.singleton' call
|
|
6741
6741
|
var creator = GameServerEngineControllerImpl$createGameEngineWithLogic$lambda$lambda_0(tmp0_safe_receiver);
|
|
6742
|
-
var tmp_1 = $this$Module.
|
|
6743
|
-
var tmp_2 = $this$Module.
|
|
6744
|
-
var tmp_3 = $this$Module.
|
|
6742
|
+
var tmp_1 = $this$Module.n1b();
|
|
6743
|
+
var tmp_2 = $this$Module.l1b();
|
|
6744
|
+
var tmp_3 = $this$Module.m1b();
|
|
6745
6745
|
// Inline function 'org.kodein.type.generic' call
|
|
6746
6746
|
var tmp_4 = typeToken(createKType(getKClass(FileLoggerOutput), arrayOf([]), false));
|
|
6747
6747
|
var tmp$ret$2 = isInterface(tmp_4, TypeToken) ? tmp_4 : THROW_CCE();
|
|
6748
6748
|
var tmp$ret$3 = new Singleton(tmp_1, tmp_2, tmp_3, tmp$ret$2, null, true, creator);
|
|
6749
|
-
tmp_0.
|
|
6749
|
+
tmp_0.g1f(tmp$ret$3);
|
|
6750
6750
|
}
|
|
6751
6751
|
var tmp1_safe_receiver = createCallbackOutput(this$0, GameServerEngineControllerImpl$createGameEngineWithLogic$lambda$lambda_1($gameServer));
|
|
6752
6752
|
if (tmp1_safe_receiver == null)
|
|
6753
6753
|
null;
|
|
6754
6754
|
else {
|
|
6755
6755
|
// Inline function 'kotlin.also' call
|
|
6756
|
-
$combinedLogger.
|
|
6756
|
+
$combinedLogger.n52(tmp1_safe_receiver);
|
|
6757
6757
|
// Inline function 'org.kodein.di.bind' call
|
|
6758
6758
|
// Inline function 'org.kodein.type.generic' call
|
|
6759
6759
|
var tmp_5 = typeToken(createKType(getKClass(CallbackWrapperLoggerOutput), arrayOf([]), false));
|
|
6760
6760
|
var tmp$ret$6 = isInterface(tmp_5, TypeToken) ? tmp_5 : THROW_CCE();
|
|
6761
|
-
var tmp_6 = $this$Module.
|
|
6761
|
+
var tmp_6 = $this$Module.i1b(tmp$ret$6, null, null);
|
|
6762
6762
|
// Inline function 'org.kodein.di.singleton' call
|
|
6763
6763
|
var creator_0 = GameServerEngineControllerImpl$createGameEngineWithLogic$lambda$lambda_2(tmp1_safe_receiver);
|
|
6764
|
-
var tmp_7 = $this$Module.
|
|
6765
|
-
var tmp_8 = $this$Module.
|
|
6766
|
-
var tmp_9 = $this$Module.
|
|
6764
|
+
var tmp_7 = $this$Module.n1b();
|
|
6765
|
+
var tmp_8 = $this$Module.l1b();
|
|
6766
|
+
var tmp_9 = $this$Module.m1b();
|
|
6767
6767
|
// Inline function 'org.kodein.type.generic' call
|
|
6768
6768
|
var tmp_10 = typeToken(createKType(getKClass(CallbackWrapperLoggerOutput), arrayOf([]), false));
|
|
6769
6769
|
var tmp$ret$8 = isInterface(tmp_10, TypeToken) ? tmp_10 : THROW_CCE();
|
|
6770
6770
|
var tmp$ret$9 = new Singleton(tmp_7, tmp_8, tmp_9, tmp$ret$8, null, true, creator_0);
|
|
6771
|
-
tmp_6.
|
|
6771
|
+
tmp_6.g1f(tmp$ret$9);
|
|
6772
6772
|
}
|
|
6773
6773
|
return Unit_instance;
|
|
6774
6774
|
};
|
|
@@ -6795,17 +6795,17 @@
|
|
|
6795
6795
|
}
|
|
6796
6796
|
function GameServerEngineControllerImpl$createDI$lambda($combinedLogger, $externalModule, this$0, $coreConfig, $serverConfig, $logicConfig, $engineBotConfig, $dealerConfig, $ratingConfig, $externalReducers, $externalMiddlewares) {
|
|
6797
6797
|
return function ($this$DI) {
|
|
6798
|
-
$this$DI.
|
|
6798
|
+
$this$DI.k1b(combinedLoggerModule($combinedLogger));
|
|
6799
6799
|
var tmp0_safe_receiver = $externalModule;
|
|
6800
6800
|
if (tmp0_safe_receiver == null)
|
|
6801
6801
|
null;
|
|
6802
6802
|
else {
|
|
6803
6803
|
// Inline function 'kotlin.let' call
|
|
6804
|
-
$this$DI.
|
|
6804
|
+
$this$DI.k1b(tmp0_safe_receiver);
|
|
6805
6805
|
}
|
|
6806
|
-
$this$DI.
|
|
6807
|
-
$this$DI.
|
|
6808
|
-
$this$DI.
|
|
6806
|
+
$this$DI.k1b(dealerModule(this$0.randomPoolProvider, this$0.beo_1));
|
|
6807
|
+
$this$DI.k1b(coreModule($coreConfig));
|
|
6808
|
+
$this$DI.k1b(createGameServerDI($serverConfig, $logicConfig, $engineBotConfig, $dealerConfig, $ratingConfig, $externalReducers, $externalMiddlewares));
|
|
6809
6809
|
return Unit_instance;
|
|
6810
6810
|
};
|
|
6811
6811
|
}
|
|
@@ -6834,7 +6834,7 @@
|
|
|
6834
6834
|
var tmp$ret$0 = isInterface(tmp_4, TypeToken) ? tmp_4 : THROW_CCE();
|
|
6835
6835
|
var tmp_5 = Instance(this_0, tmp$ret$0, null);
|
|
6836
6836
|
var tmp_6 = KProperty1;
|
|
6837
|
-
tmp_3.eeo_1 = tmp_5.
|
|
6837
|
+
tmp_3.eeo_1 = tmp_5.d1h(this, getPropertyCallableRef('parser', 1, tmp_6, GameServerEngineControllerImpl$_get_parser_$ref_3gee3w(), null));
|
|
6838
6838
|
var tmp_7 = this;
|
|
6839
6839
|
// Inline function 'org.kodein.di.instance' call
|
|
6840
6840
|
var this_1 = _get_di__ndbzja(this);
|
|
@@ -6843,7 +6843,7 @@
|
|
|
6843
6843
|
var tmp$ret$2 = isInterface(tmp_8, TypeToken) ? tmp_8 : THROW_CCE();
|
|
6844
6844
|
var tmp_9 = Instance(this_1, tmp$ret$2, null);
|
|
6845
6845
|
var tmp_10 = KProperty1;
|
|
6846
|
-
tmp_7.feo_1 = tmp_9.
|
|
6846
|
+
tmp_7.feo_1 = tmp_9.d1h(this, getPropertyCallableRef('helper', 1, tmp_10, GameServerEngineControllerImpl$_get_helper_$ref_y2ht1f(), null));
|
|
6847
6847
|
var tmp_11 = this;
|
|
6848
6848
|
// Inline function 'org.kodein.di.instance' call
|
|
6849
6849
|
var this_2 = _get_di__ndbzja(this);
|
|
@@ -6852,7 +6852,7 @@
|
|
|
6852
6852
|
var tmp$ret$4 = isInterface(tmp_12, TypeToken) ? tmp_12 : THROW_CCE();
|
|
6853
6853
|
var tmp_13 = Instance(this_2, tmp$ret$4, null);
|
|
6854
6854
|
var tmp_14 = KProperty1;
|
|
6855
|
-
tmp_11.geo_1 = tmp_13.
|
|
6855
|
+
tmp_11.geo_1 = tmp_13.d1h(this, getPropertyCallableRef('serverHelper', 1, tmp_14, GameServerEngineControllerImpl$_get_serverHelper_$ref_o2mqre(), null));
|
|
6856
6856
|
var tmp_15 = this;
|
|
6857
6857
|
// Inline function 'org.kodein.di.instance' call
|
|
6858
6858
|
var this_3 = _get_di__ndbzja(this);
|
|
@@ -6861,7 +6861,7 @@
|
|
|
6861
6861
|
var tmp$ret$6 = isInterface(tmp_16, TypeToken) ? tmp_16 : THROW_CCE();
|
|
6862
6862
|
var tmp_17 = Instance(this_3, tmp$ret$6, null);
|
|
6863
6863
|
var tmp_18 = KProperty1;
|
|
6864
|
-
tmp_15.heo_1 = tmp_17.
|
|
6864
|
+
tmp_15.heo_1 = tmp_17.d1h(this, getPropertyCallableRef('resources', 1, tmp_18, GameServerEngineControllerImpl$_get_resources_$ref_dt6416(), null));
|
|
6865
6865
|
var tmp_19 = this;
|
|
6866
6866
|
// Inline function 'org.kodein.di.instance' call
|
|
6867
6867
|
var this_4 = _get_di__ndbzja(this);
|
|
@@ -6870,7 +6870,7 @@
|
|
|
6870
6870
|
var tmp$ret$8 = isInterface(tmp_20, TypeToken) ? tmp_20 : THROW_CCE();
|
|
6871
6871
|
var tmp_21 = Instance(this_4, tmp$ret$8, null);
|
|
6872
6872
|
var tmp_22 = KProperty1;
|
|
6873
|
-
tmp_19.ieo_1 = tmp_21.
|
|
6873
|
+
tmp_19.ieo_1 = tmp_21.d1h(this, getPropertyCallableRef('test', 1, tmp_22, GameServerEngineControllerImpl$_get_test_$ref_ol1cd5(), null));
|
|
6874
6874
|
var tmp_23 = this;
|
|
6875
6875
|
// Inline function 'org.kodein.di.instance' call
|
|
6876
6876
|
var this_5 = _get_di__ndbzja(this);
|
|
@@ -6879,7 +6879,7 @@
|
|
|
6879
6879
|
var tmp$ret$10 = isInterface(tmp_24, TypeToken) ? tmp_24 : THROW_CCE();
|
|
6880
6880
|
var tmp_25 = Instance(this_5, tmp$ret$10, null);
|
|
6881
6881
|
var tmp_26 = KProperty1;
|
|
6882
|
-
tmp_23.jeo_1 = tmp_25.
|
|
6882
|
+
tmp_23.jeo_1 = tmp_25.d1h(this, getPropertyCallableRef('randomPoolProvider', 1, tmp_26, GameServerEngineControllerImpl$_get_randomPoolProvider_$ref_ut9lgl(), null));
|
|
6883
6883
|
}
|
|
6884
6884
|
protoOf(GameServerEngineControllerImpl).fdz = function () {
|
|
6885
6885
|
var tmp0 = this.eeo_1;
|
|
@@ -6924,13 +6924,13 @@
|
|
|
6924
6924
|
return tmp0.x();
|
|
6925
6925
|
};
|
|
6926
6926
|
protoOf(GameServerEngineControllerImpl).setEnableLogger = function (enabled) {
|
|
6927
|
-
Logger_getInstance().
|
|
6927
|
+
Logger_getInstance().x52_1 = enabled;
|
|
6928
6928
|
};
|
|
6929
6929
|
protoOf(GameServerEngineControllerImpl).createGameEngine = function () {
|
|
6930
6930
|
return this.createGameEngineWithLogic();
|
|
6931
6931
|
};
|
|
6932
6932
|
protoOf(GameServerEngineControllerImpl).zen = function (reducers, middlewares, serverConfig, logicConfig, dealerConfig, ratingConfig, coreConfig, botConfig) {
|
|
6933
|
-
var combinedLogger = Companion_instance_8.
|
|
6933
|
+
var combinedLogger = Companion_instance_8.nx();
|
|
6934
6934
|
var gameServer = {_v: null};
|
|
6935
6935
|
// Inline function 'kotlin.collections.map' call
|
|
6936
6936
|
// Inline function 'kotlin.collections.mapTo' call
|
|
@@ -6960,11 +6960,11 @@
|
|
|
6960
6960
|
var tmp2_externalModule = Module_init_$Create$('External Module', VOID, VOID, GameServerEngineControllerImpl$createGameEngineWithLogic$lambda(this, coreConfig, combinedLogger, gameServer));
|
|
6961
6961
|
var engineDI = createDI(this, combinedLogger, coreConfig, serverConfig, logicConfig, botConfig, dealerConfig, ratingConfig, tmp0_externalReducers, tmp1_externalMiddlewares, tmp2_externalModule);
|
|
6962
6962
|
// Inline function 'org.kodein.di.instance' call
|
|
6963
|
-
var tmp = get_direct(engineDI).
|
|
6963
|
+
var tmp = get_direct(engineDI).v1c();
|
|
6964
6964
|
// Inline function 'org.kodein.type.generic' call
|
|
6965
6965
|
var tmp_0 = typeToken(createKType(getKClass(GameServer), arrayOf([]), false));
|
|
6966
6966
|
var tmp$ret$7 = isInterface(tmp_0, TypeToken) ? tmp_0 : THROW_CCE();
|
|
6967
|
-
gameServer._v = tmp.
|
|
6967
|
+
gameServer._v = tmp.u1c(tmp$ret$7, null);
|
|
6968
6968
|
return gameServer._v;
|
|
6969
6969
|
};
|
|
6970
6970
|
function GameServerHelper() {
|
|
@@ -6994,20 +6994,20 @@
|
|
|
6994
6994
|
// Inline function 'org.kodein.type.generic' call
|
|
6995
6995
|
var tmp = typeToken(createKType(getKClass(RaspberryLogger), arrayOf([]), false));
|
|
6996
6996
|
var tmp$ret$0 = isInterface(tmp, TypeToken) ? tmp : THROW_CCE();
|
|
6997
|
-
var tmp_0 = $this$DI.
|
|
6997
|
+
var tmp_0 = $this$DI.i1b(tmp$ret$0, null, null);
|
|
6998
6998
|
// Inline function 'org.kodein.di.singleton' call
|
|
6999
6999
|
var creator = TestHelperImpl$di$lambda$lambda(this$0);
|
|
7000
|
-
var tmp_1 = $this$DI.
|
|
7001
|
-
var tmp_2 = $this$DI.
|
|
7002
|
-
var tmp_3 = $this$DI.
|
|
7000
|
+
var tmp_1 = $this$DI.n1b();
|
|
7001
|
+
var tmp_2 = $this$DI.l1b();
|
|
7002
|
+
var tmp_3 = $this$DI.m1b();
|
|
7003
7003
|
// Inline function 'org.kodein.type.generic' call
|
|
7004
7004
|
var tmp_4 = typeToken(createKType(getKClass(RaspberryLogger), arrayOf([]), false));
|
|
7005
7005
|
var tmp$ret$2 = isInterface(tmp_4, TypeToken) ? tmp_4 : THROW_CCE();
|
|
7006
7006
|
var tmp$ret$3 = new Singleton(tmp_1, tmp_2, tmp_3, tmp$ret$2, null, true, creator);
|
|
7007
|
-
tmp_0.
|
|
7008
|
-
$this$DI.
|
|
7009
|
-
$this$DI.
|
|
7010
|
-
$this$DI.
|
|
7007
|
+
tmp_0.g1f(tmp$ret$3);
|
|
7008
|
+
$this$DI.k1b(jsonModule(emptyList()));
|
|
7009
|
+
$this$DI.k1b(engineGameLogicModule());
|
|
7010
|
+
$this$DI.k1b(engineGameBotModule());
|
|
7011
7011
|
return Unit_instance;
|
|
7012
7012
|
};
|
|
7013
7013
|
}
|
|
@@ -7028,7 +7028,7 @@
|
|
|
7028
7028
|
this.leo_1 = logger;
|
|
7029
7029
|
var tmp = this;
|
|
7030
7030
|
var tmp_0 = Companion_instance_6;
|
|
7031
|
-
tmp.meo_1 = tmp_0.
|
|
7031
|
+
tmp.meo_1 = tmp_0.r1b(VOID, TestHelperImpl$di$lambda(this));
|
|
7032
7032
|
var tmp_1 = this;
|
|
7033
7033
|
// Inline function 'org.kodein.di.instance' call
|
|
7034
7034
|
var this_0 = this.meo_1;
|
|
@@ -7037,7 +7037,7 @@
|
|
|
7037
7037
|
var tmp$ret$0 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
7038
7038
|
var tmp_3 = Instance(this_0, tmp$ret$0, null);
|
|
7039
7039
|
var tmp_4 = KProperty1;
|
|
7040
|
-
tmp_1.neo_1 = tmp_3.
|
|
7040
|
+
tmp_1.neo_1 = tmp_3.d1h(this, getPropertyCallableRef('playerAnswerInteractor', 1, tmp_4, TestHelperImpl$_get_playerAnswerInteractor_$ref_1j4fiy(), null));
|
|
7041
7041
|
}
|
|
7042
7042
|
protoOf(TestHelperImpl).getPlayerAnswer = function (table, playerId, botConfig) {
|
|
7043
7043
|
return _get_playerAnswerInteractor__msggz1(this).g9e(playerId, table, botConfig);
|
|
@@ -7141,7 +7141,7 @@
|
|
|
7141
7141
|
this.gameId = gameId;
|
|
7142
7142
|
this.extras = {};
|
|
7143
7143
|
}
|
|
7144
|
-
protoOf(GameMetadata).
|
|
7144
|
+
protoOf(GameMetadata).y5j = function () {
|
|
7145
7145
|
return this.gameId;
|
|
7146
7146
|
};
|
|
7147
7147
|
protoOf(GameMetadata).peo = function () {
|
|
@@ -7151,47 +7151,47 @@
|
|
|
7151
7151
|
return Module_init_$Create$('Server helpers Module', VOID, VOID, serverHelpersModule$lambda);
|
|
7152
7152
|
}
|
|
7153
7153
|
function serverHelpersModule$lambda($this$Module) {
|
|
7154
|
-
$this$Module.
|
|
7155
|
-
$this$Module.
|
|
7154
|
+
$this$Module.k1b(get_ratingModule());
|
|
7155
|
+
$this$Module.k1b(engineHelpersModule());
|
|
7156
7156
|
// Inline function 'org.kodein.di.bind' call
|
|
7157
7157
|
// Inline function 'org.kodein.type.generic' call
|
|
7158
7158
|
var tmp = typeToken(createKType(getKClass(TestHelper), arrayOf([]), false));
|
|
7159
7159
|
var tmp$ret$0 = isInterface(tmp, TypeToken) ? tmp : THROW_CCE();
|
|
7160
|
-
var tmp_0 = $this$Module.
|
|
7160
|
+
var tmp_0 = $this$Module.i1b(tmp$ret$0, null, null);
|
|
7161
7161
|
// Inline function 'org.kodein.di.singleton' call
|
|
7162
7162
|
var creator = serverHelpersModule$lambda$lambda;
|
|
7163
|
-
var tmp_1 = $this$Module.
|
|
7164
|
-
var tmp_2 = $this$Module.
|
|
7165
|
-
var tmp_3 = $this$Module.
|
|
7163
|
+
var tmp_1 = $this$Module.n1b();
|
|
7164
|
+
var tmp_2 = $this$Module.l1b();
|
|
7165
|
+
var tmp_3 = $this$Module.m1b();
|
|
7166
7166
|
// Inline function 'org.kodein.type.generic' call
|
|
7167
7167
|
var tmp_4 = typeToken(createKType(getKClass(TestHelperImpl), arrayOf([]), false));
|
|
7168
7168
|
var tmp$ret$2 = isInterface(tmp_4, TypeToken) ? tmp_4 : THROW_CCE();
|
|
7169
7169
|
var tmp$ret$3 = new Singleton(tmp_1, tmp_2, tmp_3, tmp$ret$2, null, true, creator);
|
|
7170
|
-
tmp_0.
|
|
7170
|
+
tmp_0.g1f(tmp$ret$3);
|
|
7171
7171
|
// Inline function 'org.kodein.di.bind' call
|
|
7172
7172
|
// Inline function 'org.kodein.type.generic' call
|
|
7173
7173
|
var tmp_5 = typeToken(createKType(getKClass(GameServerHelper), arrayOf([]), false));
|
|
7174
7174
|
var tmp$ret$4 = isInterface(tmp_5, TypeToken) ? tmp_5 : THROW_CCE();
|
|
7175
|
-
var tmp_6 = $this$Module.
|
|
7175
|
+
var tmp_6 = $this$Module.i1b(tmp$ret$4, null, null);
|
|
7176
7176
|
// Inline function 'org.kodein.di.singleton' call
|
|
7177
7177
|
var creator_0 = serverHelpersModule$lambda$lambda_0;
|
|
7178
|
-
var tmp_7 = $this$Module.
|
|
7179
|
-
var tmp_8 = $this$Module.
|
|
7180
|
-
var tmp_9 = $this$Module.
|
|
7178
|
+
var tmp_7 = $this$Module.n1b();
|
|
7179
|
+
var tmp_8 = $this$Module.l1b();
|
|
7180
|
+
var tmp_9 = $this$Module.m1b();
|
|
7181
7181
|
// Inline function 'org.kodein.type.generic' call
|
|
7182
7182
|
var tmp_10 = typeToken(createKType(getKClass(GameServerHelperImpl), arrayOf([]), false));
|
|
7183
7183
|
var tmp$ret$6 = isInterface(tmp_10, TypeToken) ? tmp_10 : THROW_CCE();
|
|
7184
7184
|
var tmp$ret$7 = new Singleton(tmp_7, tmp_8, tmp_9, tmp$ret$6, null, true, creator_0);
|
|
7185
|
-
tmp_6.
|
|
7185
|
+
tmp_6.g1f(tmp$ret$7);
|
|
7186
7186
|
return Unit_instance;
|
|
7187
7187
|
}
|
|
7188
7188
|
function serverHelpersModule$lambda$lambda($this$singleton) {
|
|
7189
7189
|
// Inline function 'org.kodein.di.instance' call
|
|
7190
|
-
var tmp = $this$singleton.
|
|
7190
|
+
var tmp = $this$singleton.v1c();
|
|
7191
7191
|
// Inline function 'org.kodein.type.generic' call
|
|
7192
7192
|
var tmp_0 = typeToken(createKType(getKClass(RaspberryLogger), arrayOf([]), false));
|
|
7193
7193
|
var tmp$ret$0 = isInterface(tmp_0, TypeToken) ? tmp_0 : THROW_CCE();
|
|
7194
|
-
var tmp$ret$1 = tmp.
|
|
7194
|
+
var tmp$ret$1 = tmp.u1c(tmp$ret$0, null);
|
|
7195
7195
|
return new TestHelperImpl(tmp$ret$1);
|
|
7196
7196
|
}
|
|
7197
7197
|
function serverHelpersModule$lambda$lambda_0($this$singleton) {
|
|
@@ -7209,7 +7209,7 @@
|
|
|
7209
7209
|
return this.r96();
|
|
7210
7210
|
});
|
|
7211
7211
|
defineProp(protoOf(GameServer), 'id', function () {
|
|
7212
|
-
return this.
|
|
7212
|
+
return this.u5j();
|
|
7213
7213
|
});
|
|
7214
7214
|
defineProp(protoOf(GameServer), 'table', function () {
|
|
7215
7215
|
return this.b72();
|
|
@@ -7223,11 +7223,11 @@
|
|
|
7223
7223
|
defineProp(protoOf(GameServer), 'gameLifecycleState', function () {
|
|
7224
7224
|
return this.e72();
|
|
7225
7225
|
});
|
|
7226
|
-
protoOf($serializer).
|
|
7226
|
+
protoOf($serializer).xz = typeParametersSerializers;
|
|
7227
7227
|
defineProp(protoOf(TableStateUpdateDto), 'roomId', function () {
|
|
7228
7228
|
return this.k93();
|
|
7229
7229
|
});
|
|
7230
|
-
protoOf($serializer_0).
|
|
7230
|
+
protoOf($serializer_0).xz = typeParametersSerializers;
|
|
7231
7231
|
defineProp(protoOf(ActionsStateUpdateDto), 'roomId', function () {
|
|
7232
7232
|
return this.k93();
|
|
7233
7233
|
});
|