game_client_logic_deb 1.8.374 → 1.8.376

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.
@@ -160,6 +160,7 @@
160
160
  var get_lastIndex_0 = kotlin_kotlin.$_$.z7;
161
161
  var singleOrNull = kotlin_kotlin.$_$.y8;
162
162
  var firstOrNull = kotlin_kotlin.$_$.h7;
163
+ var listOf = kotlin_kotlin.$_$.g8;
163
164
  var copyToArray = kotlin_kotlin.$_$.y6;
164
165
  var LoggerOutput = kotlin_io_raspberryapps_cardgame_logger.$_$.a;
165
166
  var LoggerEnabledTrigger = kotlin_io_raspberryapps_cardgame_logger.$_$.d;
@@ -361,6 +362,7 @@
361
362
  }
362
363
  initMetadataForInterface(Reducer, 'Reducer');
363
364
  initMetadataForClass(combineReducers$1, VOID, VOID, VOID, [Reducer]);
365
+ initMetadataForClass(ClientLoggerKey, 'ClientLoggerKey');
364
366
  initMetadataForCompanion(Companion_20, VOID, [SerializerFactory]);
365
367
  initMetadataForClass(LogType, 'LogType', VOID, Enum, VOID, VOID, VOID, {0: Companion_getInstance_23});
366
368
  function observe(types, $super) {
@@ -373,7 +375,7 @@
373
375
  tmp = types;
374
376
  }
375
377
  types = tmp;
376
- return $super === VOID ? this.v6g(types) : $super.v6g.call(this, types);
378
+ return $super === VOID ? this.y6g(types) : $super.y6g.call(this, types);
377
379
  }
378
380
  initMetadataForInterface(ObservableLoggerOutput, 'ObservableLoggerOutput', VOID, VOID, [LoggerOutput, LoggerEnabledTrigger]);
379
381
  initMetadataForCompanion(Companion_21);
@@ -383,7 +385,7 @@
383
385
  initMetadataForClass(AppEnvironmentValue, 'AppEnvironmentValue', VOID, Enum);
384
386
  //endregion
385
387
  function GameEngineConfig() {
386
- this.version = '1.8.374';
388
+ this.version = '1.8.376';
387
389
  }
388
390
  protoOf(GameEngineConfig).u3u = function () {
389
391
  return this.version;
@@ -5737,8 +5739,34 @@
5737
5739
  var tmp0_elvis_lhs = firstOrNull(split(_this__u8e3s4, ['(']));
5738
5740
  return tmp0_elvis_lhs == null ? _this__u8e3s4 : tmp0_elvis_lhs;
5739
5741
  }
5742
+ function ClientLoggerKey(gameId, playerId) {
5743
+ this.q6g_1 = gameId;
5744
+ this.r6g_1 = playerId;
5745
+ }
5746
+ protoOf(ClientLoggerKey).s6g = function () {
5747
+ return joinToString(listOf([this.q6g_1, this.r6g_1]), '_');
5748
+ };
5749
+ protoOf(ClientLoggerKey).toString = function () {
5750
+ return 'ClientLoggerKey(gameId=' + this.q6g_1 + ', playerId=' + this.r6g_1 + ')';
5751
+ };
5752
+ protoOf(ClientLoggerKey).hashCode = function () {
5753
+ var result = getStringHashCode(this.q6g_1);
5754
+ result = imul(result, 31) + getStringHashCode(this.r6g_1) | 0;
5755
+ return result;
5756
+ };
5757
+ protoOf(ClientLoggerKey).equals = function (other) {
5758
+ if (this === other)
5759
+ return true;
5760
+ if (!(other instanceof ClientLoggerKey))
5761
+ return false;
5762
+ if (!(this.q6g_1 === other.q6g_1))
5763
+ return false;
5764
+ if (!(this.r6g_1 === other.r6g_1))
5765
+ return false;
5766
+ return true;
5767
+ };
5740
5768
  function _get_$cachedSerializer__te6jhj_8($this) {
5741
- return $this.q6g_1.w();
5769
+ return $this.t6g_1.w();
5742
5770
  }
5743
5771
  function LogType$Companion$_anonymous__d4fjnz() {
5744
5772
  return createSimpleEnumSerializer('com.logic.utils.logger.outputs.LogType', values_3());
@@ -5778,7 +5806,7 @@
5778
5806
  Companion_instance_22 = this;
5779
5807
  var tmp = this;
5780
5808
  var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
5781
- tmp.q6g_1 = lazy(tmp_0, LogType$Companion$_anonymous__d4fjnz);
5809
+ tmp.t6g_1 = lazy(tmp_0, LogType$Companion$_anonymous__d4fjnz);
5782
5810
  }
5783
5811
  protoOf(Companion_20).a1c = function () {
5784
5812
  return _get_$cachedSerializer__te6jhj_8(this);
@@ -5841,7 +5869,7 @@
5841
5869
  // Inline function 'kotlin.arrayOf' call
5842
5870
  // Inline function 'kotlin.js.unsafeCast' call
5843
5871
  // Inline function 'kotlin.js.asDynamic' call
5844
- tmp.w6g_1 = [lazy(tmp_0, LoggerOutputDataDto$Companion$$childSerializers$_anonymous__j015dy), null, null, null, null];
5872
+ tmp.z6g_1 = [lazy(tmp_0, LoggerOutputDataDto$Companion$$childSerializers$_anonymous__j015dy), null, null, null, null];
5845
5873
  }
5846
5874
  protoOf(Companion_21).a1c = function () {
5847
5875
  return $serializer_getInstance_10();
@@ -5860,12 +5888,12 @@
5860
5888
  tmp0_serialDesc.gz('tag', false);
5861
5889
  tmp0_serialDesc.gz('message', false);
5862
5890
  tmp0_serialDesc.gz('stackTrace', false);
5863
- this.x6g_1 = tmp0_serialDesc;
5891
+ this.a6h_1 = tmp0_serialDesc;
5864
5892
  }
5865
- protoOf($serializer_10).y6g = function (encoder, value) {
5866
- var tmp0_desc = this.x6g_1;
5893
+ protoOf($serializer_10).b6h = function (encoder, value) {
5894
+ var tmp0_desc = this.a6h_1;
5867
5895
  var tmp1_output = encoder.or(tmp0_desc);
5868
- var tmp2_cached = Companion_getInstance_24().w6g_1;
5896
+ var tmp2_cached = Companion_getInstance_24().z6g_1;
5869
5897
  tmp1_output.ft(tmp0_desc, 0, tmp2_cached[0].w(), value.type);
5870
5898
  tmp1_output.ht(tmp0_desc, 1, StringSerializer_getInstance(), value.key);
5871
5899
  tmp1_output.ht(tmp0_desc, 2, StringSerializer_getInstance(), value.tag);
@@ -5874,10 +5902,10 @@
5874
5902
  tmp1_output.pr(tmp0_desc);
5875
5903
  };
5876
5904
  protoOf($serializer_10).co = function (encoder, value) {
5877
- return this.y6g(encoder, value instanceof LoggerOutputDataDto ? value : THROW_CCE());
5905
+ return this.b6h(encoder, value instanceof LoggerOutputDataDto ? value : THROW_CCE());
5878
5906
  };
5879
5907
  protoOf($serializer_10).do = function (decoder) {
5880
- var tmp0_desc = this.x6g_1;
5908
+ var tmp0_desc = this.a6h_1;
5881
5909
  var tmp1_flag = true;
5882
5910
  var tmp2_index = 0;
5883
5911
  var tmp3_bitMask0 = 0;
@@ -5887,7 +5915,7 @@
5887
5915
  var tmp7_local3 = null;
5888
5916
  var tmp8_local4 = null;
5889
5917
  var tmp9_input = decoder.or(tmp0_desc);
5890
- var tmp10_cached = Companion_getInstance_24().w6g_1;
5918
+ var tmp10_cached = Companion_getInstance_24().z6g_1;
5891
5919
  if (tmp9_input.es()) {
5892
5920
  tmp4_local0 = tmp9_input.as(tmp0_desc, 0, tmp10_cached[0].w(), tmp4_local0);
5893
5921
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
@@ -5934,13 +5962,13 @@
5934
5962
  return LoggerOutputDataDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, null);
5935
5963
  };
5936
5964
  protoOf($serializer_10).bo = function () {
5937
- return this.x6g_1;
5965
+ return this.a6h_1;
5938
5966
  };
5939
5967
  protoOf($serializer_10).vz = function () {
5940
5968
  // Inline function 'kotlin.arrayOf' call
5941
5969
  // Inline function 'kotlin.js.unsafeCast' call
5942
5970
  // Inline function 'kotlin.js.asDynamic' call
5943
- return [Companion_getInstance_24().w6g_1[0].w(), get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance())];
5971
+ return [Companion_getInstance_24().z6g_1[0].w(), get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance())];
5944
5972
  };
5945
5973
  var $serializer_instance_10;
5946
5974
  function $serializer_getInstance_10() {
@@ -5950,7 +5978,7 @@
5950
5978
  }
5951
5979
  function LoggerOutputDataDto_init_$Init$(seen0, type, key, tag, message, stackTrace, serializationConstructorMarker, $this) {
5952
5980
  if (!(31 === (31 & seen0))) {
5953
- throwMissingFieldException(seen0, 31, $serializer_getInstance_10().x6g_1);
5981
+ throwMissingFieldException(seen0, 31, $serializer_getInstance_10().a6h_1);
5954
5982
  }
5955
5983
  $this.type = type;
5956
5984
  $this.key = key;
@@ -5982,7 +6010,7 @@
5982
6010
  protoOf(LoggerOutputDataDto).e = function () {
5983
6011
  return this.message;
5984
6012
  };
5985
- protoOf(LoggerOutputDataDto).z6g = function () {
6013
+ protoOf(LoggerOutputDataDto).c6h = function () {
5986
6014
  return this.stackTrace;
5987
6015
  };
5988
6016
  protoOf(LoggerOutputDataDto).toMessageLog = function () {
@@ -6039,7 +6067,7 @@
6039
6067
  protoOf(LoggerOutputDataDto).v64 = function () {
6040
6068
  return this.stackTrace;
6041
6069
  };
6042
- protoOf(LoggerOutputDataDto).a6h = function (type, key, tag, message, stackTrace) {
6070
+ protoOf(LoggerOutputDataDto).d6h = function (type, key, tag, message, stackTrace) {
6043
6071
  return new LoggerOutputDataDto(type, key, tag, message, stackTrace);
6044
6072
  };
6045
6073
  protoOf(LoggerOutputDataDto).copy = function (type, key, tag, message, stackTrace, $super) {
@@ -6048,7 +6076,7 @@
6048
6076
  tag = tag === VOID ? this.tag : tag;
6049
6077
  message = message === VOID ? this.message : message;
6050
6078
  stackTrace = stackTrace === VOID ? this.stackTrace : stackTrace;
6051
- return $super === VOID ? this.a6h(type, key, tag, message, stackTrace) : $super.a6h.call(this, type, key, tag, message, stackTrace);
6079
+ return $super === VOID ? this.d6h(type, key, tag, message, stackTrace) : $super.d6h.call(this, type, key, tag, message, stackTrace);
6052
6080
  };
6053
6081
  protoOf(LoggerOutputDataDto).toString = function () {
6054
6082
  return 'LoggerOutputDataDto(type=' + this.type.toString() + ', key=' + this.key + ', tag=' + this.tag + ', message=' + this.message + ', stackTrace=' + this.stackTrace + ')';
@@ -6079,19 +6107,19 @@
6079
6107
  return true;
6080
6108
  };
6081
6109
  function checkInitialised($this) {
6082
- if ($this.b6h_1.equals(AppEnvironmentValue_UNDEFINED_getInstance())) {
6110
+ if ($this.e6h_1.equals(AppEnvironmentValue_UNDEFINED_getInstance())) {
6083
6111
  Logger_getInstance().z1l(VOID, IllegalStateException_init_$Create$('AppEnvironment not initialised'));
6084
6112
  }
6085
6113
  }
6086
6114
  function AppEnvironment() {
6087
6115
  AppEnvironment_instance = this;
6088
- this.b6h_1 = AppEnvironmentValue_UNDEFINED_getInstance();
6116
+ this.e6h_1 = AppEnvironmentValue_UNDEFINED_getInstance();
6089
6117
  }
6090
- protoOf(AppEnvironment).c6h = function (value) {
6091
- this.b6h_1 = value;
6118
+ protoOf(AppEnvironment).f6h = function (value) {
6119
+ this.e6h_1 = value;
6092
6120
  };
6093
- protoOf(AppEnvironment).d6h = function () {
6094
- var tmp = this.b6h_1;
6121
+ protoOf(AppEnvironment).g6h = function () {
6122
+ var tmp = this.e6h_1;
6095
6123
  // Inline function 'kotlin.also' call
6096
6124
  var this_0 = AppEnvironmentValue_PRODUCTION_getInstance();
6097
6125
  checkInitialised(AppEnvironment_getInstance());
@@ -6866,61 +6894,62 @@
6866
6894
  _.$_$.y2 = createStore;
6867
6895
  _.$_$.z2 = get_entries_1;
6868
6896
  _.$_$.a3 = LoggerOutputDataDto;
6869
- _.$_$.b3 = enumToStringSafe;
6870
- _.$_$.c3 = enumToString;
6871
- _.$_$.d3 = getDataClassName;
6872
- _.$_$.e3 = getItemIndex;
6873
- _.$_$.f3 = mapOfObject;
6874
- _.$_$.g3 = nextToOrNull;
6875
- _.$_$.h3 = nextTo;
6876
- _.$_$.i3 = previousToOrNull;
6877
- _.$_$.j3 = toDomainEnumSafe;
6878
- _.$_$.k3 = toDomainEnum;
6879
- _.$_$.l3 = updateItem;
6880
- _.$_$.m3 = updateLastItem;
6881
- _.$_$.n3 = updateOrAddItems;
6882
- _.$_$.o3 = updated;
6883
- _.$_$.p3 = combinedLoggerModule;
6884
- _.$_$.q3 = coreModule;
6885
- _.$_$.r3 = dealerModule;
6886
- _.$_$.s3 = assertIfMainThread;
6887
- _.$_$.t3 = AgentType_BOT_NATIVE_getInstance;
6888
- _.$_$.u3 = AgentType_BOT_REPLACEMENT_getInstance;
6889
- _.$_$.v3 = AgentType_HUMAN_getInstance;
6890
- _.$_$.w3 = PlayerConnectionState_DISCONNECTING_getInstance;
6891
- _.$_$.x3 = PlayerConnectionState_LEFT_getInstance;
6892
- _.$_$.y3 = PlayerConnectionState_LIVE_getInstance;
6893
- _.$_$.z3 = PlayerWaitingState_IDLE_getInstance;
6894
- _.$_$.a4 = Reason_DUPLICATED_PLAYER_ANSWER_getInstance;
6895
- _.$_$.b4 = Reason_GAME_NOT_EXISTS_getInstance_0;
6896
- _.$_$.c4 = Reason_INTERNAL_ERROR_getInstance;
6897
- _.$_$.d4 = Reason_PLAYER_DISCONNECTED_getInstance;
6898
- _.$_$.e4 = Reason_WRONG_PLAYER_TURN_getInstance;
6899
- _.$_$.f4 = Reason_FINISHED_getInstance;
6900
- _.$_$.g4 = TimerType_DELAY_getInstance;
6901
- _.$_$.h4 = LogType_DEBUG_getInstance;
6902
- _.$_$.i4 = LogType_ERROR_getInstance;
6903
- _.$_$.j4 = LogType_INFO_getInstance;
6904
- _.$_$.k4 = LogType_VERBOSE_getInstance;
6905
- _.$_$.l4 = LogType_WARN_getInstance;
6906
- _.$_$.m4 = AppEnvironmentValue_DEVELOPMENT_getInstance;
6907
- _.$_$.n4 = AppEnvironmentValue_PRODUCTION_getInstance;
6908
- _.$_$.o4 = Companion_instance_8;
6909
- _.$_$.p4 = Companion_getInstance_10;
6910
- _.$_$.q4 = Companion_instance_11;
6911
- _.$_$.r4 = Companion_getInstance_11;
6912
- _.$_$.s4 = $serializer_getInstance_6;
6913
- _.$_$.t4 = $serializer_getInstance_8;
6914
- _.$_$.u4 = $serializer_getInstance_9;
6915
- _.$_$.v4 = ProcessingReasonDto_getInstance;
6916
- _.$_$.w4 = Companion_getInstance_13;
6917
- _.$_$.x4 = Companion_getInstance_2;
6918
- _.$_$.y4 = Companion_instance_5;
6919
- _.$_$.z4 = ProcessingReason_getInstance;
6920
- _.$_$.a5 = RestartGameReason_getInstance;
6921
- _.$_$.b5 = WaitingForConnectionReason_getInstance;
6922
- _.$_$.c5 = Toggles_instance;
6923
- _.$_$.d5 = AppEnvironment_getInstance;
6897
+ _.$_$.b3 = ClientLoggerKey;
6898
+ _.$_$.c3 = enumToStringSafe;
6899
+ _.$_$.d3 = enumToString;
6900
+ _.$_$.e3 = getDataClassName;
6901
+ _.$_$.f3 = getItemIndex;
6902
+ _.$_$.g3 = mapOfObject;
6903
+ _.$_$.h3 = nextToOrNull;
6904
+ _.$_$.i3 = nextTo;
6905
+ _.$_$.j3 = previousToOrNull;
6906
+ _.$_$.k3 = toDomainEnumSafe;
6907
+ _.$_$.l3 = toDomainEnum;
6908
+ _.$_$.m3 = updateItem;
6909
+ _.$_$.n3 = updateLastItem;
6910
+ _.$_$.o3 = updateOrAddItems;
6911
+ _.$_$.p3 = updated;
6912
+ _.$_$.q3 = combinedLoggerModule;
6913
+ _.$_$.r3 = coreModule;
6914
+ _.$_$.s3 = dealerModule;
6915
+ _.$_$.t3 = assertIfMainThread;
6916
+ _.$_$.u3 = AgentType_BOT_NATIVE_getInstance;
6917
+ _.$_$.v3 = AgentType_BOT_REPLACEMENT_getInstance;
6918
+ _.$_$.w3 = AgentType_HUMAN_getInstance;
6919
+ _.$_$.x3 = PlayerConnectionState_DISCONNECTING_getInstance;
6920
+ _.$_$.y3 = PlayerConnectionState_LEFT_getInstance;
6921
+ _.$_$.z3 = PlayerConnectionState_LIVE_getInstance;
6922
+ _.$_$.a4 = PlayerWaitingState_IDLE_getInstance;
6923
+ _.$_$.b4 = Reason_DUPLICATED_PLAYER_ANSWER_getInstance;
6924
+ _.$_$.c4 = Reason_GAME_NOT_EXISTS_getInstance_0;
6925
+ _.$_$.d4 = Reason_INTERNAL_ERROR_getInstance;
6926
+ _.$_$.e4 = Reason_PLAYER_DISCONNECTED_getInstance;
6927
+ _.$_$.f4 = Reason_WRONG_PLAYER_TURN_getInstance;
6928
+ _.$_$.g4 = Reason_FINISHED_getInstance;
6929
+ _.$_$.h4 = TimerType_DELAY_getInstance;
6930
+ _.$_$.i4 = LogType_DEBUG_getInstance;
6931
+ _.$_$.j4 = LogType_ERROR_getInstance;
6932
+ _.$_$.k4 = LogType_INFO_getInstance;
6933
+ _.$_$.l4 = LogType_VERBOSE_getInstance;
6934
+ _.$_$.m4 = LogType_WARN_getInstance;
6935
+ _.$_$.n4 = AppEnvironmentValue_DEVELOPMENT_getInstance;
6936
+ _.$_$.o4 = AppEnvironmentValue_PRODUCTION_getInstance;
6937
+ _.$_$.p4 = Companion_instance_8;
6938
+ _.$_$.q4 = Companion_getInstance_10;
6939
+ _.$_$.r4 = Companion_instance_11;
6940
+ _.$_$.s4 = Companion_getInstance_11;
6941
+ _.$_$.t4 = $serializer_getInstance_6;
6942
+ _.$_$.u4 = $serializer_getInstance_8;
6943
+ _.$_$.v4 = $serializer_getInstance_9;
6944
+ _.$_$.w4 = ProcessingReasonDto_getInstance;
6945
+ _.$_$.x4 = Companion_getInstance_13;
6946
+ _.$_$.y4 = Companion_getInstance_2;
6947
+ _.$_$.z4 = Companion_instance_5;
6948
+ _.$_$.a5 = ProcessingReason_getInstance;
6949
+ _.$_$.b5 = RestartGameReason_getInstance;
6950
+ _.$_$.c5 = WaitingForConnectionReason_getInstance;
6951
+ _.$_$.d5 = Toggles_instance;
6952
+ _.$_$.e5 = AppEnvironment_getInstance;
6924
6953
  //endregion
6925
6954
  return _;
6926
6955
  }));