raspberry_games_server_game_logic 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 +2 -2
- package/Kosi-Kodein-kodein-di.js +16 -16
- package/Kotlin-DateTime-library-kotlinx-datetime.js +152 -152
- package/Logic_Debertz-ai_module.js +193 -193
- package/Logic_Debertz-core.js +536 -536
- package/Logic_Debertz-engine.js +3667 -3649
- package/Logic_Debertz-engine.js.map +1 -1
- package/Logic_Debertz-game_server.d.ts +1 -0
- package/Logic_Debertz-game_server.js +187 -187
- package/kotlin-kotlin-stdlib.js +546 -540
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlinx-atomicfu.js +13 -13
- package/kotlinx-coroutines-core.js +2160 -2160
- 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.u9q_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).x2h = function (value, $completion) {
|
|
615
|
+
var tmp = this.y2h(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.x2h((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.t9q_1;
|
|
632
632
|
var value = this.v9q_1;
|
|
633
633
|
this.s8_1 = 1;
|
|
634
|
-
suspendResult = tmp0.
|
|
634
|
+
suspendResult = tmp0.o28(mapToDto_1(value, _get_encoderDecoderProvider__qqgrji(this.u9q_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).y2h = function (value, completion) {
|
|
657
657
|
var i = new GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda(this.t9q_1, this.u9q_1, completion);
|
|
658
658
|
i.v9q_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.x2h(value, $completion);
|
|
665
665
|
};
|
|
666
666
|
l.$arity = 1;
|
|
667
667
|
return l;
|
|
@@ -682,7 +682,7 @@
|
|
|
682
682
|
var $this$unsafeFlow = this.f9r_1;
|
|
683
683
|
this.s8_1 = 1;
|
|
684
684
|
var tmp_0 = GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda_0($this$unsafeFlow, this.e9r_1.h9r_1, null);
|
|
685
|
-
suspendResult = this.e9r_1.g9r_1.
|
|
685
|
+
suspendResult = this.e9r_1.g9r_1.o27(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.g9r_1 = $this;
|
|
709
709
|
this.h9r_1 = this$0;
|
|
710
710
|
}
|
|
711
|
-
protoOf(GameServer$subscribeServerStateUpdateJson$2$$inlined$map$1).
|
|
711
|
+
protoOf(GameServer$subscribeServerStateUpdateJson$2$$inlined$map$1).p28 = 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).o27 = function (collector, $completion) {
|
|
718
|
+
return this.p28(collector, $completion);
|
|
719
719
|
};
|
|
720
720
|
function GameServer$subscribeServerStateUpdateJson$slambda$slambda($subscriber, resultContinuation) {
|
|
721
721
|
this.q9r_1 = $subscriber;
|
|
@@ -766,14 +766,14 @@
|
|
|
766
766
|
this.d9s_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).x2h = function (value, $completion) {
|
|
770
|
+
var tmp = this.y2h(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.x2h((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.c9s_1;
|
|
787
787
|
var value = this.e9s_1;
|
|
788
788
|
this.s8_1 = 1;
|
|
789
|
-
suspendResult = tmp0.
|
|
789
|
+
suspendResult = tmp0.o28(new ActionsStateUpdate(this.d9s_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).y2h = function (value, completion) {
|
|
812
812
|
var i = new GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda(this.c9s_1, this.d9s_1, completion);
|
|
813
813
|
i.e9s_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.x2h(value, $completion);
|
|
820
820
|
};
|
|
821
821
|
l.$arity = 1;
|
|
822
822
|
return l;
|
|
@@ -837,7 +837,7 @@
|
|
|
837
837
|
var $this$unsafeFlow = this.o9s_1;
|
|
838
838
|
this.s8_1 = 1;
|
|
839
839
|
var tmp_0 = GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda_0($this$unsafeFlow, this.n9s_1.q9s_1, null);
|
|
840
|
-
suspendResult = this.n9s_1.p9s_1.
|
|
840
|
+
suspendResult = this.n9s_1.p9s_1.o27(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.p9s_1 = $this;
|
|
864
864
|
this.q9s_1 = $table;
|
|
865
865
|
}
|
|
866
|
-
protoOf(_no_name_provided__qut3iv).
|
|
866
|
+
protoOf(_no_name_provided__qut3iv).p28 = 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).o27 = function (collector, $completion) {
|
|
873
|
+
return this.p28(collector, $completion);
|
|
874
874
|
};
|
|
875
875
|
function GameServer$observeTableStateUpdates$slambda$slambda($table, this$0, resultContinuation) {
|
|
876
876
|
this.z9s_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.b9t_1.
|
|
898
|
+
suspendResult = this.b9t_1.o28(new TableStateUpdate(this.z9s_1.id, this.z9s_1), this);
|
|
899
899
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
900
900
|
return suspendResult;
|
|
901
901
|
}
|
|
@@ -944,14 +944,14 @@
|
|
|
944
944
|
this.n9t_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).x2h = function (value, $completion) {
|
|
948
|
+
var tmp = this.y2h(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.x2h((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.q9t_1;
|
|
993
993
|
this.s8_1 = 3;
|
|
994
|
-
suspendResult = this.p9t_1.
|
|
994
|
+
suspendResult = this.p9t_1.o28(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).y2h = function (value, completion) {
|
|
1025
1025
|
var i = new GameServer$observeTableStateUpdates$o$collect$slambda(this.m9t_1, this.n9t_1, completion);
|
|
1026
1026
|
i.o9t_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.x2h(value, $completion);
|
|
1033
1033
|
};
|
|
1034
1034
|
l.$arity = 1;
|
|
1035
1035
|
return l;
|
|
@@ -1050,7 +1050,7 @@
|
|
|
1050
1050
|
var $this$unsafeFlow = this.c9u_1;
|
|
1051
1051
|
this.s8_1 = 1;
|
|
1052
1052
|
var tmp_0 = GameServer$observeTableStateUpdates$o$collect$slambda_0($this$unsafeFlow, this.b9u_1.e9u_1, null);
|
|
1053
|
-
suspendResult = this.b9u_1.d9u_1.
|
|
1053
|
+
suspendResult = this.b9u_1.d9u_1.o27(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.n9u_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).x2h = function (value, $completion) {
|
|
1080
|
+
var tmp = this.y2h(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.x2h((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.q9u_1;
|
|
1117
1117
|
this.s8_1 = 3;
|
|
1118
|
-
suspendResult = this.p9u_1.
|
|
1118
|
+
suspendResult = this.p9u_1.o28(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).y2h = function (value, completion) {
|
|
1149
1149
|
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda(this.n9u_1, completion);
|
|
1150
1150
|
i.o9u_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.x2h(value, $completion);
|
|
1157
1157
|
};
|
|
1158
1158
|
l.$arity = 1;
|
|
1159
1159
|
return l;
|
|
@@ -1174,7 +1174,7 @@
|
|
|
1174
1174
|
var $this$unsafeFlow = this.c9v_1;
|
|
1175
1175
|
this.s8_1 = 1;
|
|
1176
1176
|
var tmp_0 = GameServer$observeTableWhenRoundChanges$o$collect$slambda_0($this$unsafeFlow, null);
|
|
1177
|
-
suspendResult = this.b9v_1.d9v_1.
|
|
1177
|
+
suspendResult = this.b9v_1.d9v_1.o27(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.m9v_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).x2h = function (value, $completion) {
|
|
1204
|
+
var tmp = this.y2h(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.x2h((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.m9v_1;
|
|
1221
1221
|
var value = this.n9v_1;
|
|
1222
1222
|
this.s8_1 = 1;
|
|
1223
|
-
suspendResult = tmp0.
|
|
1223
|
+
suspendResult = tmp0.o28(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).y2h = function (value, completion) {
|
|
1246
1246
|
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda_1(this.m9v_1, completion);
|
|
1247
1247
|
i.n9v_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.x2h(value, $completion);
|
|
1254
1254
|
};
|
|
1255
1255
|
l.$arity = 1;
|
|
1256
1256
|
return l;
|
|
@@ -1271,7 +1271,7 @@
|
|
|
1271
1271
|
var $this$unsafeFlow = this.x9v_1;
|
|
1272
1272
|
this.s8_1 = 1;
|
|
1273
1273
|
var tmp_0 = GameServer$observeTableWhenRoundChanges$o$collect$slambda_2($this$unsafeFlow, null);
|
|
1274
|
-
suspendResult = this.w9v_1.y9v_1.
|
|
1274
|
+
suspendResult = this.w9v_1.y9v_1.o27(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.h9w_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).x2h = function (value, $completion) {
|
|
1301
|
+
var tmp = this.y2h(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.x2h((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.h9w_1;
|
|
1318
1318
|
var value = this.i9w_1;
|
|
1319
1319
|
this.s8_1 = 1;
|
|
1320
|
-
suspendResult = tmp0.
|
|
1320
|
+
suspendResult = tmp0.o28(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).y2h = function (value, completion) {
|
|
1343
1343
|
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda_3(this.h9w_1, completion);
|
|
1344
1344
|
i.i9w_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.x2h(value, $completion);
|
|
1351
1351
|
};
|
|
1352
1352
|
l.$arity = 1;
|
|
1353
1353
|
return l;
|
|
@@ -1368,7 +1368,7 @@
|
|
|
1368
1368
|
var $this$unsafeFlow = this.s9w_1;
|
|
1369
1369
|
this.s8_1 = 1;
|
|
1370
1370
|
var tmp_0 = GameServer$observeTableWhenRoundChanges$o$collect$slambda_4($this$unsafeFlow, null);
|
|
1371
|
-
suspendResult = this.r9w_1.t9w_1.
|
|
1371
|
+
suspendResult = this.r9w_1.t9w_1.o27(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.i4q().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.x9x_1 = function_0;
|
|
1649
1649
|
}
|
|
1650
|
-
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).
|
|
1650
|
+
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).o28 = function (value, $completion) {
|
|
1651
1651
|
return this.x9x_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.y9x_1 = function_0;
|
|
1676
1676
|
}
|
|
1677
|
-
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).
|
|
1677
|
+
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).o28 = function (value, $completion) {
|
|
1678
1678
|
return this.y9x_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.z9x_1 = function_0;
|
|
1703
1703
|
}
|
|
1704
|
-
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_1).
|
|
1704
|
+
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_1).o28 = function (value, $completion) {
|
|
1705
1705
|
return this.z9x_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.a9y_1 = function_0;
|
|
1730
1730
|
}
|
|
1731
|
-
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_2).
|
|
1731
|
+
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_2).o28 = function (value, $completion) {
|
|
1732
1732
|
return this.a9y_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.b9y_1 = function_0;
|
|
1757
1757
|
}
|
|
1758
|
-
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_3).
|
|
1758
|
+
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_3).o28 = function (value, $completion) {
|
|
1759
1759
|
return this.b9y_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.c9y_1 = function_0;
|
|
1784
1784
|
}
|
|
1785
|
-
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_4).
|
|
1785
|
+
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_4).o28 = function (value, $completion) {
|
|
1786
1786
|
return this.c9y_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.i4q());
|
|
1862
1862
|
};
|
|
1863
1863
|
}
|
|
1864
1864
|
function GameServer$_get_random_$ref_fottnq() {
|
|
@@ -1921,14 +1921,14 @@
|
|
|
1921
1921
|
this.m9y_1 = $subscriber;
|
|
1922
1922
|
CoroutineImpl.call(this, resultContinuation);
|
|
1923
1923
|
}
|
|
1924
|
-
protoOf(GameServer$subscribeToClientAction$slambda).
|
|
1925
|
-
var tmp = this.
|
|
1924
|
+
protoOf(GameServer$subscribeToClientAction$slambda).c2d = function ($this$launchDefault, $completion) {
|
|
1925
|
+
var tmp = this.d2d($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.c2d((!(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.l9y_1).o9y();
|
|
1943
1943
|
var tmp_1 = GameServer$subscribeToClientAction$slambda$slambda_0(this.m9y_1, null);
|
|
1944
|
-
suspendResult = tmp_0.
|
|
1944
|
+
suspendResult = tmp_0.o27(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).d2d = function ($this$launchDefault, completion) {
|
|
1967
1967
|
var i = new GameServer$subscribeToClientAction$slambda(this.l9y_1, this.m9y_1, completion);
|
|
1968
1968
|
i.n9y_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.c2d($this$launchDefault, $completion);
|
|
1975
1975
|
};
|
|
1976
1976
|
l.$arity = 1;
|
|
1977
1977
|
return l;
|
|
@@ -1981,14 +1981,14 @@
|
|
|
1981
1981
|
this.y9y_1 = $subscriber;
|
|
1982
1982
|
CoroutineImpl.call(this, resultContinuation);
|
|
1983
1983
|
}
|
|
1984
|
-
protoOf(GameServer$subscribeServerStateUpdate$slambda).
|
|
1985
|
-
var tmp = this.
|
|
1984
|
+
protoOf(GameServer$subscribeServerStateUpdate$slambda).c2d = function ($this$launchDefault, $completion) {
|
|
1985
|
+
var tmp = this.d2d($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.c2d((!(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.x9y_1);
|
|
2003
2003
|
var tmp_1 = GameServer$subscribeServerStateUpdate$slambda$slambda_0(this.y9y_1, null);
|
|
2004
|
-
suspendResult = tmp_0.
|
|
2004
|
+
suspendResult = tmp_0.o27(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).d2d = function ($this$launchDefault, completion) {
|
|
2027
2027
|
var i = new GameServer$subscribeServerStateUpdate$slambda(this.x9y_1, this.y9y_1, completion);
|
|
2028
2028
|
i.z9y_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.c2d($this$launchDefault, $completion);
|
|
2035
2035
|
};
|
|
2036
2036
|
l.$arity = 1;
|
|
2037
2037
|
return l;
|
|
@@ -2041,14 +2041,14 @@
|
|
|
2041
2041
|
this.j9z_1 = $subscriber;
|
|
2042
2042
|
CoroutineImpl.call(this, resultContinuation);
|
|
2043
2043
|
}
|
|
2044
|
-
protoOf(GameServer$subscribeServerStateUpdateJson$slambda).
|
|
2045
|
-
var tmp = this.
|
|
2044
|
+
protoOf(GameServer$subscribeServerStateUpdateJson$slambda).c2d = function ($this$launchDefault, $completion) {
|
|
2045
|
+
var tmp = this.d2d($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.c2d((!(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.i9z_1);
|
|
2063
2063
|
var tmp_0 = new GameServer$subscribeServerStateUpdateJson$2$$inlined$map$1(this_0, this.i9z_1);
|
|
2064
2064
|
var tmp_1 = GameServer$subscribeServerStateUpdateJson$slambda$slambda_0(this.j9z_1, null);
|
|
2065
|
-
suspendResult = tmp_0.
|
|
2065
|
+
suspendResult = tmp_0.o27(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).d2d = function ($this$launchDefault, completion) {
|
|
2088
2088
|
var i = new GameServer$subscribeServerStateUpdateJson$slambda(this.i9z_1, this.j9z_1, completion);
|
|
2089
2089
|
i.k9z_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.c2d($this$launchDefault, $completion);
|
|
2096
2096
|
};
|
|
2097
2097
|
l.$arity = 1;
|
|
2098
2098
|
return l;
|
|
@@ -2161,38 +2161,38 @@
|
|
|
2161
2161
|
this.d9u_1 = $this;
|
|
2162
2162
|
this.e9u_1 = this$0;
|
|
2163
2163
|
}
|
|
2164
|
-
protoOf(GameServer$observeTableStateUpdates$$inlined$mapNotNull$1).
|
|
2164
|
+
protoOf(GameServer$observeTableStateUpdates$$inlined$mapNotNull$1).p28 = 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).o27 = function (collector, $completion) {
|
|
2171
|
+
return this.p28(collector, $completion);
|
|
2172
2172
|
};
|
|
2173
2173
|
function GameServer$observeTableWhenRoundChanges$$inlined$mapNotNull$1($this) {
|
|
2174
2174
|
this.d9v_1 = $this;
|
|
2175
2175
|
}
|
|
2176
|
-
protoOf(GameServer$observeTableWhenRoundChanges$$inlined$mapNotNull$1).
|
|
2176
|
+
protoOf(GameServer$observeTableWhenRoundChanges$$inlined$mapNotNull$1).p28 = 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).o27 = function (collector, $completion) {
|
|
2183
|
+
return this.p28(collector, $completion);
|
|
2184
2184
|
};
|
|
2185
2185
|
function GameServer$observeTableWhenRoundChanges$$inlined$map$1($this) {
|
|
2186
2186
|
this.y9v_1 = $this;
|
|
2187
2187
|
}
|
|
2188
|
-
protoOf(GameServer$observeTableWhenRoundChanges$$inlined$map$1).
|
|
2188
|
+
protoOf(GameServer$observeTableWhenRoundChanges$$inlined$map$1).p28 = 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).o27 = function (collector, $completion) {
|
|
2195
|
+
return this.p28(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.t9w_1 = $this;
|
|
2202
2202
|
}
|
|
2203
|
-
protoOf(GameServer$observeTableWhenRoundChanges$$inlined$map$2).
|
|
2203
|
+
protoOf(GameServer$observeTableWhenRoundChanges$$inlined$map$2).p28 = 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).o27 = function (collector, $completion) {
|
|
2210
|
+
return this.p28(collector, $completion);
|
|
2211
2211
|
};
|
|
2212
2212
|
function GameServer$subscribeWith$slambda(this$0, $subscriber, resultContinuation) {
|
|
2213
2213
|
this.ga0_1 = this$0;
|
|
2214
2214
|
this.ha0_1 = $subscriber;
|
|
2215
2215
|
CoroutineImpl.call(this, resultContinuation);
|
|
2216
2216
|
}
|
|
2217
|
-
protoOf(GameServer$subscribeWith$slambda).
|
|
2218
|
-
var tmp = this.
|
|
2217
|
+
protoOf(GameServer$subscribeWith$slambda).c2d = function ($this$launchDefault, $completion) {
|
|
2218
|
+
var tmp = this.d2d($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.c2d((!(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.ga0_1.y6q());
|
|
2236
2236
|
var tmp_1 = GameServer$subscribeWith$slambda$slambda_0(this.ha0_1, null);
|
|
2237
|
-
suspendResult = tmp_0.
|
|
2237
|
+
suspendResult = tmp_0.o27(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).d2d = function ($this$launchDefault, completion) {
|
|
2260
2260
|
var i = new GameServer$subscribeWith$slambda(this.ga0_1, this.ha0_1, completion);
|
|
2261
2261
|
i.ia0_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.c2d($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.pa1_1).waitForPlayerToConnectOnStart && (!get_isCreated(this.sa1_1.state) || !this.pa1_1.t66().b6s())) {
|
|
2399
|
-
this.pa1_1.
|
|
2399
|
+
this.pa1_1.i4q().v('GameEngine_API', 'playerLive: ' + this.qa1_1 + ' before game is created');
|
|
2400
2400
|
return Unit_instance;
|
|
2401
2401
|
}
|
|
2402
2402
|
var tmp_0 = this.sa1_1.dispatch;
|
|
@@ -2453,7 +2453,7 @@
|
|
|
2453
2453
|
return Unit_instance;
|
|
2454
2454
|
}
|
|
2455
2455
|
if (!get_isCreated(this.fa2_1.state) || !this.ba2_1.t66().b6s()) {
|
|
2456
|
-
this.ba2_1.
|
|
2456
|
+
this.ba2_1.i4q().w('GameEngine_API', 'playerLeft: ' + this.ca2_1 + ' before game is created');
|
|
2457
2457
|
return Unit_instance;
|
|
2458
2458
|
}
|
|
2459
2459
|
var tmp_0 = this.fa2_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.sa3_1.
|
|
2637
|
+
suspendResult = this.sa3_1.a1u(this);
|
|
2638
2638
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2639
2639
|
return suspendResult;
|
|
2640
2640
|
}
|
|
@@ -2952,7 +2952,7 @@
|
|
|
2952
2952
|
var it = this.ka6_1.t66().z6q_1;
|
|
2953
2953
|
var tmp_0;
|
|
2954
2954
|
if (it == null) {
|
|
2955
|
-
this.ka6_1.
|
|
2955
|
+
this.ka6_1.i4q().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.ia7_1.table.isGameFinished, this.ia7_1.table));
|
|
3086
3086
|
} else {
|
|
3087
|
-
this.ia7_1.
|
|
3087
|
+
this.ia7_1.i4q().w('GameEngine_API', "GameServer: can't shutdown engine without table, roomId = " + this.ja7_1);
|
|
3088
3088
|
var tmp_3 = this.la7_1.dispatch;
|
|
3089
3089
|
var tmp2_safe_receiver = state.z6q_1;
|
|
3090
3090
|
tmp_3(new ClearAction(tmp2_safe_receiver == null ? null : tmp2_safe_receiver.a93_1));
|
|
@@ -3149,7 +3149,7 @@
|
|
|
3149
3149
|
}
|
|
3150
3150
|
continue $sm;
|
|
3151
3151
|
} else {
|
|
3152
|
-
this.ya7_1.
|
|
3152
|
+
this.ya7_1.i4q().w('GameEngine_API', "GameServer: can't generate message without table, " + this.wa7_1);
|
|
3153
3153
|
var tmp_0 = this.aa8_1.dispatch;
|
|
3154
3154
|
var tmp1_safe_receiver = state.z6q_1;
|
|
3155
3155
|
tmp_0(new ClearAction(tmp1_safe_receiver == null ? null : tmp1_safe_receiver.a93_1));
|
|
@@ -3317,7 +3317,7 @@
|
|
|
3317
3317
|
}
|
|
3318
3318
|
return player.k6v_1.a69().n67_1.canReconnect;
|
|
3319
3319
|
};
|
|
3320
|
-
protoOf(GameServer).
|
|
3320
|
+
protoOf(GameServer).z53 = function () {
|
|
3321
3321
|
return this.t66().z6r().id;
|
|
3322
3322
|
};
|
|
3323
3323
|
protoOf(GameServer).z6r = function () {
|
|
@@ -3349,19 +3349,19 @@
|
|
|
3349
3349
|
tmp.j6c(VOID, GameServer$subscribeWith$slambda_0(this, subscriber, null));
|
|
3350
3350
|
};
|
|
3351
3351
|
protoOf(GameServer).fromClientEvent = function (action) {
|
|
3352
|
-
this.
|
|
3352
|
+
this.i4q().d('GameEngine_API', 'fromClientEvent: ' + action.playerId + ', ' + action.actionTag);
|
|
3353
3353
|
this.v9x_1.x6r(GameServer$fromClientEvent$slambda_0(action, null));
|
|
3354
3354
|
};
|
|
3355
3355
|
protoOf(GameServer).playerLostConnection = function (playerId) {
|
|
3356
|
-
this.
|
|
3356
|
+
this.i4q().d('GameEngine_API', 'playerLostConnection: ' + playerId);
|
|
3357
3357
|
this.v9x_1.x6r(GameServer$playerLostConnection$slambda_0(playerId, null));
|
|
3358
3358
|
};
|
|
3359
3359
|
protoOf(GameServer).playerLive = function (playerId) {
|
|
3360
|
-
this.
|
|
3360
|
+
this.i4q().d('GameEngine_API', 'playerLive: ' + playerId);
|
|
3361
3361
|
this.v9x_1.x6r(GameServer$playerLive$slambda_0(this, playerId, null));
|
|
3362
3362
|
};
|
|
3363
3363
|
protoOf(GameServer).ba8 = function (playerId, permanently) {
|
|
3364
|
-
this.
|
|
3364
|
+
this.i4q().d('GameEngine_API', 'playerLeft: ' + playerId);
|
|
3365
3365
|
var tmp;
|
|
3366
3366
|
if (this.t66().b6s()) {
|
|
3367
3367
|
tmp = calculatePlayerLeftResult(this, playerId);
|
|
@@ -3370,20 +3370,20 @@
|
|
|
3370
3370
|
}
|
|
3371
3371
|
var result = tmp;
|
|
3372
3372
|
this.v9x_1.x6r(GameServer$playerLeft$slambda_0(this, playerId, permanently, null));
|
|
3373
|
-
this.
|
|
3373
|
+
this.i4q().d('GameEngine_API', 'playerLeft result: ' + toString_0(result));
|
|
3374
3374
|
return result;
|
|
3375
3375
|
};
|
|
3376
3376
|
protoOf(GameServer).ca8 = function (roomId, gameCreatorId, config, usersArray, transition, spectators) {
|
|
3377
|
-
this.
|
|
3377
|
+
this.i4q().d('GameEngine_API', 'roomOnCreate: ' + roomId + ', gameCreatorId = ' + gameCreatorId + ', transition = ' + toString_0(transition));
|
|
3378
3378
|
this.v9x_1.x6r(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.i4q().d('GameEngine_API', 'roomOnContinueFromState: ' + roomId);
|
|
3382
3382
|
var isCreated = this.v9x_1.y6r(GameServer$roomOnContinueFromState$slambda_0(state, null));
|
|
3383
3383
|
this.v9x_1.x6r(GameServer$roomOnContinueFromState$slambda_2(isCreated, state, null));
|
|
3384
3384
|
};
|
|
3385
3385
|
protoOf(GameServer).roomOnContinueFromRound = function (roomId, tableLite) {
|
|
3386
|
-
this.
|
|
3386
|
+
this.i4q().d('GameEngine_API', 'roomOnContinueFromRound: ' + roomId + ', round = ' + tableLite.gameInfo.round.roundNumber);
|
|
3387
3387
|
this.v9x_1.x6r(GameServer$roomOnContinueFromRound$slambda_0(tableLite, roomId, this, null));
|
|
3388
3388
|
this.v9x_1.x6r(GameServer$roomOnContinueFromRound$slambda_2(null));
|
|
3389
3389
|
};
|
|
@@ -3394,34 +3394,34 @@
|
|
|
3394
3394
|
this.v9x_1.x6r(GameServer$removeSpectatorsFromRoom$slambda_0(spectators, null));
|
|
3395
3395
|
};
|
|
3396
3396
|
protoOf(GameServer).roomRefreshPlayerState = function (playerId) {
|
|
3397
|
-
this.
|
|
3397
|
+
this.i4q().d('GameEngine_API', 'roomRefreshPlayerState: ' + playerId);
|
|
3398
3398
|
this.v9x_1.x6r(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.i4q().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.i4q().d('GameEngine_API', 'getToClientFinishActionBeforeDisconnect: ' + playerId + ', ' + ('state = ' + player.k6v_1.a69().n67_1.toString() + ', ') + ('isBot = ' + player.j6v_1.isBot));
|
|
3408
3408
|
var actions = _get_playerConnectionInteractor__si6cxf(this).da8(playerId, previousState.isLive, table.id, mapToFinishReason(originState, player, table.playersConnections), table.isGameFinished);
|
|
3409
|
-
this.
|
|
3409
|
+
this.i4q().d('GameEngine_API', 'getToClientFinishActionBeforeDisconnect: ' + toString(actions));
|
|
3410
3410
|
if (actions.r()) {
|
|
3411
3411
|
return null;
|
|
3412
3412
|
}
|
|
3413
3413
|
return new CombinedToClientAction(actions, Companion_instance_1.user(_get_idsProvider__fnfajc(this).e6e(), table.id, playerId));
|
|
3414
3414
|
};
|
|
3415
3415
|
protoOf(GameServer).ea8 = function (newRid) {
|
|
3416
|
-
this.
|
|
3416
|
+
this.i4q().d('GameEngine_API', 'roomOnDelete: newRid = ' + newRid);
|
|
3417
3417
|
this.v9x_1.x6r(GameServer$roomOnDelete$slambda_0(this, newRid, null));
|
|
3418
3418
|
};
|
|
3419
3419
|
protoOf(GameServer).setCanStartNewGameEnabled = function (enabled) {
|
|
3420
|
-
this.
|
|
3420
|
+
this.i4q().d('GameEngine_API', 'setCanStartNewGameEnabled: ' + enabled);
|
|
3421
3421
|
this.v9x_1.x6r(GameServer$setCanStartNewGameEnabled$slambda_0(enabled, null));
|
|
3422
3422
|
};
|
|
3423
3423
|
protoOf(GameServer).fa8 = function (reason, roomId) {
|
|
3424
|
-
this.
|
|
3424
|
+
this.i4q().d('GameEngine_API', 'shutdown: ' + reason + ', ' + roomId);
|
|
3425
3425
|
this.v9x_1.x6r(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.i4q().d('GameEngine_API', 'handlePlayerMessage: ' + fromPlayerId);
|
|
3437
3437
|
this.v9x_1.x6r(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).ja8 = 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).b1c = 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.b1c();
|
|
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).b1c = 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.ka8_1 = tmp0_serialDesc;
|
|
3582
3582
|
}
|
|
3583
3583
|
protoOf($serializer).la8 = function (encoder, value) {
|
|
3584
3584
|
var tmp0_desc = this.ka8_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.ma8_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.la8(encoder, value instanceof TableStateUpdateDto ? value : THROW_CCE());
|
|
3592
3592
|
};
|
|
3593
|
-
protoOf($serializer).
|
|
3593
|
+
protoOf($serializer).eo = function (decoder) {
|
|
3594
3594
|
var tmp0_desc = this.ka8_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.ka8_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).f54 = 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.ma8_1 : roomId;
|
|
3675
3675
|
table = table === VOID ? this.table : table;
|
|
3676
|
-
return $super === VOID ? this.
|
|
3676
|
+
return $super === VOID ? this.f54(roomId, table) : $super.f54.call(this, roomId, table);
|
|
3677
3677
|
};
|
|
3678
3678
|
protoOf(TableStateUpdateDto).toString = function () {
|
|
3679
3679
|
return 'TableStateUpdateDto(roomId=' + this.ma8_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).b1c = 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.na8_1 = tmp0_serialDesc;
|
|
3712
3712
|
}
|
|
3713
3713
|
protoOf($serializer_0).oa8 = function (encoder, value) {
|
|
3714
3714
|
var tmp0_desc = this.na8_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.pa8_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.oa8(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.na8_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.na8_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).f54 = 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.pa8_1 : roomId;
|
|
3805
3805
|
actions = actions === VOID ? this.actions : actions;
|
|
3806
|
-
return $super === VOID ? this.
|
|
3806
|
+
return $super === VOID ? this.f54(roomId, actions) : $super.f54.call(this, roomId, actions);
|
|
3807
3807
|
};
|
|
3808
3808
|
protoOf(ActionsStateUpdateDto).toString = function () {
|
|
3809
3809
|
return 'ActionsStateUpdateDto(roomId=' + this.pa8_1 + ', actions=' + this.actions + ')';
|
|
@@ -4208,7 +4208,7 @@
|
|
|
4208
4208
|
|
|
4209
4209
|
var element = this.ga9_1.n();
|
|
4210
4210
|
this.s8_1 = 2;
|
|
4211
|
-
suspendResult = this.fa9_1.
|
|
4211
|
+
suspendResult = this.fa9_1.o28(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.oaa_1.oa9_1.
|
|
4441
|
+
suspendResult = this.oaa_1.oa9_1.o28(this.paa_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).bab = 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.cab_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.cab_1.waitForPlayerToReconnectTimeOutMillis), VOID, TimerType_DELAY_getInstance())]);
|
|
@@ -5937,14 +5937,14 @@
|
|
|
5937
5937
|
this.wac_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).c2d = function ($this$launchDefault, $completion) {
|
|
5941
|
+
var tmp = this.d2d($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.c2d((!(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).d2d = function ($this$launchDefault, completion) {
|
|
5981
5981
|
var i = new sendToClientActionMiddleware$o$handle$slambda(this.vac_1, this.wac_1, completion);
|
|
5982
5982
|
i.xac_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.c2d($this$launchDefault, $completion);
|
|
5989
5989
|
};
|
|
5990
5990
|
l.$arity = 1;
|
|
5991
5991
|
return l;
|
|
@@ -6017,14 +6017,14 @@
|
|
|
6017
6017
|
this.mad_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).c2d = function ($this$launchDefaultWithLock, $completion) {
|
|
6021
|
+
var tmp = this.d2d($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.c2d((!(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).d2d = function ($this$launchDefaultWithLock, completion) {
|
|
6088
6088
|
var i = new playerTurnTimeoutWhenHasConnectionMiddleware$o$handle$slambda(this.iad_1, this.jad_1, this.kad_1, this.lad_1, this.mad_1, completion);
|
|
6089
6089
|
i.nad_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.c2d($this$launchDefaultWithLock, $completion);
|
|
6096
6096
|
};
|
|
6097
6097
|
l.$arity = 1;
|
|
6098
6098
|
return l;
|
|
@@ -6211,7 +6211,7 @@
|
|
|
6211
6211
|
return state.y92(tmp2_tableOrNull, tmp3_payload, tmp1_gameLifecycleState, null);
|
|
6212
6212
|
};
|
|
6213
6213
|
protoOf(ServerMechanicLifecycleReducer).s9k = function (state, action) {
|
|
6214
|
-
this.v9k_1.
|
|
6214
|
+
this.v9k_1.o58(action.previousGameId);
|
|
6215
6215
|
var tmp0_gameLifecycleState = GameLifecycleState_CREATED_getInstance();
|
|
6216
6216
|
var tmp1_tableOrNull = this.u9k_1.d9m(state.z6r(), action.gameId);
|
|
6217
6217
|
var tmp2_payload = get_serverStatePayload_0(state).copy(VOID, addRoomMetadata(this, get_serverStatePayload_0(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).a3t = function () {
|
|
6455
6455
|
return this.config;
|
|
6456
6456
|
};
|
|
6457
6457
|
protoOf(ServerStatePayload).f8m = 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).zad = function (config, metadata, connectedPlayers) {
|
|
@@ -6731,7 +6731,7 @@
|
|
|
6731
6731
|
null;
|
|
6732
6732
|
else {
|
|
6733
6733
|
// Inline function 'kotlin.also' call
|
|
6734
|
-
$combinedLogger.
|
|
6734
|
+
$combinedLogger.x1k(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));
|
|
@@ -6753,7 +6753,7 @@
|
|
|
6753
6753
|
null;
|
|
6754
6754
|
else {
|
|
6755
6755
|
// Inline function 'kotlin.also' call
|
|
6756
|
-
$combinedLogger.
|
|
6756
|
+
$combinedLogger.x1k(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));
|
|
@@ -6924,13 +6924,13 @@
|
|
|
6924
6924
|
return tmp0.x();
|
|
6925
6925
|
};
|
|
6926
6926
|
protoOf(GameServerEngineControllerImpl).setEnableLogger = function (enabled) {
|
|
6927
|
-
Logger_getInstance().
|
|
6927
|
+
Logger_getInstance().h1l_1 = enabled;
|
|
6928
6928
|
};
|
|
6929
6929
|
protoOf(GameServerEngineControllerImpl).createGameEngine = function () {
|
|
6930
6930
|
return this.createGameEngineWithLogic();
|
|
6931
6931
|
};
|
|
6932
6932
|
protoOf(GameServerEngineControllerImpl).gae = 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
|
|
@@ -7141,7 +7141,7 @@
|
|
|
7141
7141
|
this.gameId = gameId;
|
|
7142
7142
|
this.extras = {};
|
|
7143
7143
|
}
|
|
7144
|
-
protoOf(GameMetadata).
|
|
7144
|
+
protoOf(GameMetadata).d54 = function () {
|
|
7145
7145
|
return this.gameId;
|
|
7146
7146
|
};
|
|
7147
7147
|
protoOf(GameMetadata).wae = function () {
|
|
@@ -7209,7 +7209,7 @@
|
|
|
7209
7209
|
return this.f8m();
|
|
7210
7210
|
});
|
|
7211
7211
|
defineProp(protoOf(GameServer), 'id', function () {
|
|
7212
|
-
return this.
|
|
7212
|
+
return this.z53();
|
|
7213
7213
|
});
|
|
7214
7214
|
defineProp(protoOf(GameServer), 'table', function () {
|
|
7215
7215
|
return this.z6r();
|
|
@@ -7223,11 +7223,11 @@
|
|
|
7223
7223
|
defineProp(protoOf(GameServer), 'gameLifecycleState', function () {
|
|
7224
7224
|
return this.c6s();
|
|
7225
7225
|
});
|
|
7226
|
-
protoOf($serializer).
|
|
7226
|
+
protoOf($serializer).xz = typeParametersSerializers;
|
|
7227
7227
|
defineProp(protoOf(TableStateUpdateDto), 'roomId', function () {
|
|
7228
7228
|
return this.z8i();
|
|
7229
7229
|
});
|
|
7230
|
-
protoOf($serializer_0).
|
|
7230
|
+
protoOf($serializer_0).xz = typeParametersSerializers;
|
|
7231
7231
|
defineProp(protoOf(ActionsStateUpdateDto), 'roomId', function () {
|
|
7232
7232
|
return this.z8i();
|
|
7233
7233
|
});
|