raspberry_games_server_game_logic 1.8.270 → 1.8.271

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.
@@ -110,8 +110,8 @@ if (typeof String.prototype.startsWith === 'undefined') {
110
110
  }
111
111
  initMetadataForInterface(KtSet, 'Set', VOID, VOID, [Collection]);
112
112
  initMetadataForInterface(MutableIterable, 'MutableIterable');
113
- initMetadataForInterface(KtMutableSet, 'MutableSet', VOID, VOID, [KtSet, Collection, MutableIterable]);
114
- initMetadataForInterface(KtMutableList, 'MutableList', VOID, VOID, [KtList, Collection, MutableIterable]);
113
+ initMetadataForInterface(KtMutableSet, 'MutableSet', VOID, VOID, [KtSet, MutableIterable, Collection]);
114
+ initMetadataForInterface(KtMutableList, 'MutableList', VOID, VOID, [KtList, MutableIterable, Collection]);
115
115
  initMetadataForCompanion(Companion_1);
116
116
  initMetadataForInterface(Entry, 'Entry');
117
117
  initMetadataForCompanion(Companion_2);
@@ -140,7 +140,7 @@ if (typeof String.prototype.startsWith === 'undefined') {
140
140
  initMetadataForObject(Letter, 'Letter');
141
141
  initMetadataForInterface(Comparator, 'Comparator');
142
142
  initMetadataForClass(AbstractCollection, 'AbstractCollection', VOID, VOID, [Collection]);
143
- initMetadataForClass(AbstractMutableCollection, 'AbstractMutableCollection', VOID, AbstractCollection, [AbstractCollection, Collection, MutableIterable]);
143
+ initMetadataForClass(AbstractMutableCollection, 'AbstractMutableCollection', VOID, AbstractCollection, [AbstractCollection, MutableIterable, Collection]);
144
144
  initMetadataForClass(IteratorImpl, 'IteratorImpl');
145
145
  initMetadataForClass(ListIteratorImpl, 'ListIteratorImpl', VOID, IteratorImpl);
146
146
  initMetadataForClass(AbstractMutableList, 'AbstractMutableList', VOID, AbstractMutableCollection, [AbstractMutableCollection, KtMutableList]);
@@ -153,7 +153,7 @@ if (typeof String.prototype.startsWith === 'undefined') {
153
153
  initMetadataForClass(ArrayList, 'ArrayList', ArrayList_init_$Create$, AbstractMutableList, [AbstractMutableList, KtMutableList, RandomAccess]);
154
154
  initMetadataForClass(HashMap, 'HashMap', HashMap_init_$Create$, AbstractMutableMap, [AbstractMutableMap, KtMutableMap]);
155
155
  initMetadataForClass(HashMapKeys, 'HashMapKeys', VOID, AbstractMutableSet, [KtMutableSet, AbstractMutableSet]);
156
- initMetadataForClass(HashMapValues, 'HashMapValues', VOID, AbstractMutableCollection, [Collection, MutableIterable, AbstractMutableCollection]);
156
+ initMetadataForClass(HashMapValues, 'HashMapValues', VOID, AbstractMutableCollection, [MutableIterable, Collection, AbstractMutableCollection]);
157
157
  initMetadataForClass(HashMapEntrySetBase, 'HashMapEntrySetBase', VOID, AbstractMutableSet, [KtMutableSet, AbstractMutableSet]);
158
158
  initMetadataForClass(HashMapEntrySet, 'HashMapEntrySet', VOID, HashMapEntrySetBase);
159
159
  initMetadataForClass(HashMapKeysDefault$iterator$1);
@@ -458,15 +458,21 @@ if (typeof String.prototype.startsWith === 'undefined') {
458
458
  return toCollection(_this__u8e3s4, LinkedHashSet_init_$Create$_1(mapCapacity(_this__u8e3s4.length)));
459
459
  }
460
460
  }
461
- function last(_this__u8e3s4) {
461
+ function first(_this__u8e3s4) {
462
462
  // Inline function 'kotlin.collections.isEmpty' call
463
463
  if (_this__u8e3s4.length === 0)
464
464
  throw NoSuchElementException_init_$Create$_0('Array is empty.');
465
- return _this__u8e3s4[get_lastIndex(_this__u8e3s4)];
465
+ return _this__u8e3s4[0];
466
466
  }
467
467
  function contains_0(_this__u8e3s4, element) {
468
468
  return indexOf(_this__u8e3s4, element) >= 0;
469
469
  }
470
+ function last(_this__u8e3s4) {
471
+ // Inline function 'kotlin.collections.isEmpty' call
472
+ if (_this__u8e3s4.length === 0)
473
+ throw NoSuchElementException_init_$Create$_0('Array is empty.');
474
+ return _this__u8e3s4[get_lastIndex(_this__u8e3s4)];
475
+ }
470
476
  function firstOrNull(_this__u8e3s4) {
471
477
  var tmp;
472
478
  // Inline function 'kotlin.collections.isEmpty' call
@@ -477,12 +483,6 @@ if (typeof String.prototype.startsWith === 'undefined') {
477
483
  }
478
484
  return tmp;
479
485
  }
480
- function first(_this__u8e3s4) {
481
- // Inline function 'kotlin.collections.isEmpty' call
482
- if (_this__u8e3s4.length === 0)
483
- throw NoSuchElementException_init_$Create$_0('Array is empty.');
484
- return _this__u8e3s4[0];
485
- }
486
486
  function indexOf(_this__u8e3s4, element) {
487
487
  if (element == null) {
488
488
  var inductionVariable = 0;