raspberry_games_engine_helpers 1.8.361 → 1.8.363

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.
@@ -13,27 +13,27 @@
13
13
  'use strict';
14
14
  //region block: imports
15
15
  var imul = Math.imul;
16
- var protoOf = kotlin_kotlin.$_$.m9;
17
- var VOID = kotlin_kotlin.$_$.f;
18
- var getStringHashCode = kotlin_kotlin.$_$.n8;
19
- var THROW_CCE = kotlin_kotlin.$_$.ic;
20
- var initMetadataForClass = kotlin_kotlin.$_$.p8;
21
- var toString = kotlin_kotlin.$_$.p9;
22
- var hashCode = kotlin_kotlin.$_$.o8;
23
- var equals = kotlin_kotlin.$_$.j8;
24
- var listOf = kotlin_kotlin.$_$.p6;
25
- var plus = kotlin_kotlin.$_$.x6;
26
- var initMetadataForCompanion = kotlin_kotlin.$_$.q8;
27
- var emptyList = kotlin_kotlin.$_$.r5;
28
- var defineProp = kotlin_kotlin.$_$.i8;
29
- var Companion_getInstance = kotlin_kotlin.$_$.u3;
30
- var Long = kotlin_kotlin.$_$.ec;
31
- var DurationUnit_MILLISECONDS_getInstance = kotlin_kotlin.$_$.g;
32
- var toDuration = kotlin_kotlin.$_$.sb;
33
- var Unit_instance = kotlin_kotlin.$_$.e4;
34
- var Duration = kotlin_kotlin.$_$.qb;
35
- var Duration__toString_impl_8d916b = kotlin_kotlin.$_$.r1;
36
- var Duration__hashCode_impl_u4exz6 = kotlin_kotlin.$_$.n1;
16
+ var protoOf = kotlin_kotlin.$_$.da;
17
+ var VOID = kotlin_kotlin.$_$.b;
18
+ var getStringHashCode = kotlin_kotlin.$_$.f9;
19
+ var THROW_CCE = kotlin_kotlin.$_$.cd;
20
+ var initMetadataForClass = kotlin_kotlin.$_$.h9;
21
+ var toString = kotlin_kotlin.$_$.fa;
22
+ var hashCode = kotlin_kotlin.$_$.g9;
23
+ var equals = kotlin_kotlin.$_$.b9;
24
+ var listOf = kotlin_kotlin.$_$.l6;
25
+ var plus = kotlin_kotlin.$_$.t6;
26
+ var initMetadataForCompanion = kotlin_kotlin.$_$.i9;
27
+ var emptyList = kotlin_kotlin.$_$.n5;
28
+ var defineProp = kotlin_kotlin.$_$.a9;
29
+ var Companion_getInstance = kotlin_kotlin.$_$.q3;
30
+ var Long = kotlin_kotlin.$_$.yc;
31
+ var DurationUnit_MILLISECONDS_getInstance = kotlin_kotlin.$_$.c;
32
+ var toDuration = kotlin_kotlin.$_$.mc;
33
+ var Unit_instance = kotlin_kotlin.$_$.a4;
34
+ var Duration = kotlin_kotlin.$_$.kc;
35
+ var Duration__toString_impl_8d916b = kotlin_kotlin.$_$.n1;
36
+ var Duration__hashCode_impl_u4exz6 = kotlin_kotlin.$_$.j1;
37
37
  //endregion
38
38
  //region block: pre-declaration
39
39
  initMetadataForClass(CardDecksRequestUserData, 'CardDecksRequestUserData');
@@ -50,25 +50,25 @@
50
50
  this.id = id;
51
51
  this.count = count;
52
52
  }
53
- protoOf(CardDecksRequestUserData).v1x = function () {
53
+ protoOf(CardDecksRequestUserData).h15 = function () {
54
54
  return this.id;
55
55
  };
56
- protoOf(CardDecksRequestUserData).p1z = function () {
56
+ protoOf(CardDecksRequestUserData).i15 = function () {
57
57
  return this.count;
58
58
  };
59
- protoOf(CardDecksRequestUserData).nd = function () {
59
+ protoOf(CardDecksRequestUserData).sc = function () {
60
60
  return this.id;
61
61
  };
62
- protoOf(CardDecksRequestUserData).od = function () {
62
+ protoOf(CardDecksRequestUserData).tc = function () {
63
63
  return this.count;
64
64
  };
65
- protoOf(CardDecksRequestUserData).q1z = function (id, count) {
65
+ protoOf(CardDecksRequestUserData).j15 = function (id, count) {
66
66
  return new CardDecksRequestUserData(id, count);
67
67
  };
68
68
  protoOf(CardDecksRequestUserData).copy = function (id, count, $super) {
69
69
  id = id === VOID ? this.id : id;
70
70
  count = count === VOID ? this.count : count;
71
- return $super === VOID ? this.q1z(id, count) : $super.q1z.call(this, id, count);
71
+ return $super === VOID ? this.j15(id, count) : $super.j15.call(this, id, count);
72
72
  };
73
73
  protoOf(CardDecksRequestUserData).toString = function () {
74
74
  return 'CardDecksRequestUserData(id=' + this.id + ', count=' + this.count + ')';
@@ -94,25 +94,25 @@
94
94
  this.players = players;
95
95
  this.gameId = gameId;
96
96
  }
97
- protoOf(CardDeckRequestUserData).r1z = function () {
97
+ protoOf(CardDeckRequestUserData).k15 = function () {
98
98
  return this.players;
99
99
  };
100
- protoOf(CardDeckRequestUserData).s1z = function () {
100
+ protoOf(CardDeckRequestUserData).l15 = function () {
101
101
  return this.gameId;
102
102
  };
103
- protoOf(CardDeckRequestUserData).nd = function () {
103
+ protoOf(CardDeckRequestUserData).sc = function () {
104
104
  return this.players;
105
105
  };
106
- protoOf(CardDeckRequestUserData).od = function () {
106
+ protoOf(CardDeckRequestUserData).tc = function () {
107
107
  return this.gameId;
108
108
  };
109
- protoOf(CardDeckRequestUserData).t1z = function (players, gameId) {
109
+ protoOf(CardDeckRequestUserData).m15 = function (players, gameId) {
110
110
  return new CardDeckRequestUserData(players, gameId);
111
111
  };
112
112
  protoOf(CardDeckRequestUserData).copy = function (players, gameId, $super) {
113
113
  players = players === VOID ? this.players : players;
114
114
  gameId = gameId === VOID ? this.gameId : gameId;
115
- return $super === VOID ? this.t1z(players, gameId) : $super.t1z.call(this, players, gameId);
115
+ return $super === VOID ? this.m15(players, gameId) : $super.m15.call(this, players, gameId);
116
116
  };
117
117
  protoOf(CardDeckRequestUserData).toString = function () {
118
118
  return 'CardDeckRequestUserData(players=' + toString(this.players) + ', gameId=' + this.gameId + ')';
@@ -138,25 +138,25 @@
138
138
  this.id = id;
139
139
  this.name = name;
140
140
  }
141
- protoOf(UserInfoData).v1x = function () {
141
+ protoOf(UserInfoData).h15 = function () {
142
142
  return this.id;
143
143
  };
144
- protoOf(UserInfoData).k2 = function () {
144
+ protoOf(UserInfoData).i2 = function () {
145
145
  return this.name;
146
146
  };
147
- protoOf(UserInfoData).nd = function () {
147
+ protoOf(UserInfoData).sc = function () {
148
148
  return this.id;
149
149
  };
150
- protoOf(UserInfoData).od = function () {
150
+ protoOf(UserInfoData).tc = function () {
151
151
  return this.name;
152
152
  };
153
- protoOf(UserInfoData).u1z = function (id, name) {
153
+ protoOf(UserInfoData).n15 = function (id, name) {
154
154
  return new UserInfoData(id, name);
155
155
  };
156
156
  protoOf(UserInfoData).copy = function (id, name, $super) {
157
157
  id = id === VOID ? this.id : id;
158
158
  name = name === VOID ? this.name : name;
159
- return $super === VOID ? this.u1z(id, name) : $super.u1z.call(this, id, name);
159
+ return $super === VOID ? this.n15(id, name) : $super.n15.call(this, id, name);
160
160
  };
161
161
  protoOf(UserInfoData).toString = function () {
162
162
  return 'UserInfoData(id=' + this.id + ', name=' + this.name + ')';
@@ -197,31 +197,31 @@
197
197
  this.userData = userData;
198
198
  this.rounds = rounds;
199
199
  }
200
- protoOf(GameCardDecksRecord).v1z = function () {
200
+ protoOf(GameCardDecksRecord).o15 = function () {
201
201
  return this.poolId;
202
202
  };
203
- protoOf(GameCardDecksRecord).w1z = function () {
203
+ protoOf(GameCardDecksRecord).p15 = function () {
204
204
  return this.signature;
205
205
  };
206
- protoOf(GameCardDecksRecord).x1z = function () {
206
+ protoOf(GameCardDecksRecord).q15 = function () {
207
207
  return this.userData;
208
208
  };
209
- protoOf(GameCardDecksRecord).y1z = function () {
209
+ protoOf(GameCardDecksRecord).r15 = function () {
210
210
  return this.rounds;
211
211
  };
212
- protoOf(GameCardDecksRecord).nd = function () {
212
+ protoOf(GameCardDecksRecord).sc = function () {
213
213
  return this.poolId;
214
214
  };
215
- protoOf(GameCardDecksRecord).od = function () {
215
+ protoOf(GameCardDecksRecord).tc = function () {
216
216
  return this.signature;
217
217
  };
218
- protoOf(GameCardDecksRecord).zi = function () {
218
+ protoOf(GameCardDecksRecord).ei = function () {
219
219
  return this.userData;
220
220
  };
221
- protoOf(GameCardDecksRecord).z1z = function () {
221
+ protoOf(GameCardDecksRecord).s15 = function () {
222
222
  return this.rounds;
223
223
  };
224
- protoOf(GameCardDecksRecord).a20 = function (poolId, signature, userData, rounds) {
224
+ protoOf(GameCardDecksRecord).t15 = function (poolId, signature, userData, rounds) {
225
225
  return new GameCardDecksRecord(poolId, signature, userData, rounds);
226
226
  };
227
227
  protoOf(GameCardDecksRecord).copy = function (poolId, signature, userData, rounds, $super) {
@@ -229,7 +229,7 @@
229
229
  signature = signature === VOID ? this.signature : signature;
230
230
  userData = userData === VOID ? this.userData : userData;
231
231
  rounds = rounds === VOID ? this.rounds : rounds;
232
- return $super === VOID ? this.a20(poolId, signature, userData, rounds) : $super.a20.call(this, poolId, signature, userData, rounds);
232
+ return $super === VOID ? this.t15(poolId, signature, userData, rounds) : $super.t15.call(this, poolId, signature, userData, rounds);
233
233
  };
234
234
  protoOf(GameCardDecksRecord).toString = function () {
235
235
  return 'GameCardDecksRecord(poolId=' + this.poolId + ', signature=' + this.signature + ', userData=' + this.userData.toString() + ', rounds=' + toString(this.rounds) + ')';
@@ -261,25 +261,25 @@
261
261
  this.cardDeckIndex = cardDeckIndex;
262
262
  this.cards = cards;
263
263
  }
264
- protoOf(GameCardDeckData).b20 = function () {
264
+ protoOf(GameCardDeckData).u15 = function () {
265
265
  return this.cardDeckIndex;
266
266
  };
267
- protoOf(GameCardDeckData).c20 = function () {
267
+ protoOf(GameCardDeckData).v15 = function () {
268
268
  return this.cards;
269
269
  };
270
- protoOf(GameCardDeckData).nd = function () {
270
+ protoOf(GameCardDeckData).sc = function () {
271
271
  return this.cardDeckIndex;
272
272
  };
273
- protoOf(GameCardDeckData).od = function () {
273
+ protoOf(GameCardDeckData).tc = function () {
274
274
  return this.cards;
275
275
  };
276
- protoOf(GameCardDeckData).d20 = function (cardDeckIndex, cards) {
276
+ protoOf(GameCardDeckData).w15 = function (cardDeckIndex, cards) {
277
277
  return new GameCardDeckData(cardDeckIndex, cards);
278
278
  };
279
279
  protoOf(GameCardDeckData).copy = function (cardDeckIndex, cards, $super) {
280
280
  cardDeckIndex = cardDeckIndex === VOID ? this.cardDeckIndex : cardDeckIndex;
281
281
  cards = cards === VOID ? this.cards : cards;
282
- return $super === VOID ? this.d20(cardDeckIndex, cards) : $super.d20.call(this, cardDeckIndex, cards);
282
+ return $super === VOID ? this.w15(cardDeckIndex, cards) : $super.w15.call(this, cardDeckIndex, cards);
283
283
  };
284
284
  protoOf(GameCardDeckData).toString = function () {
285
285
  return 'GameCardDeckData(cardDeckIndex=' + this.cardDeckIndex + ', cards=' + toString(this.cards) + ')';
@@ -306,25 +306,25 @@
306
306
  this.baseUrl = baseUrl;
307
307
  this.timeoutMillis = timeoutMillis;
308
308
  }
309
- protoOf(HttpConfig).e20 = function () {
309
+ protoOf(HttpConfig).x15 = function () {
310
310
  return this.baseUrl;
311
311
  };
312
- protoOf(HttpConfig).f20 = function () {
312
+ protoOf(HttpConfig).y15 = function () {
313
313
  return this.timeoutMillis;
314
314
  };
315
- protoOf(HttpConfig).nd = function () {
315
+ protoOf(HttpConfig).sc = function () {
316
316
  return this.baseUrl;
317
317
  };
318
- protoOf(HttpConfig).od = function () {
318
+ protoOf(HttpConfig).tc = function () {
319
319
  return this.timeoutMillis;
320
320
  };
321
- protoOf(HttpConfig).q1z = function (baseUrl, timeoutMillis) {
321
+ protoOf(HttpConfig).j15 = function (baseUrl, timeoutMillis) {
322
322
  return new HttpConfig(baseUrl, timeoutMillis);
323
323
  };
324
324
  protoOf(HttpConfig).copy = function (baseUrl, timeoutMillis, $super) {
325
325
  baseUrl = baseUrl === VOID ? this.baseUrl : baseUrl;
326
326
  timeoutMillis = timeoutMillis === VOID ? this.timeoutMillis : timeoutMillis;
327
- return $super === VOID ? this.q1z(baseUrl, timeoutMillis) : $super.q1z.call(this, baseUrl, timeoutMillis);
327
+ return $super === VOID ? this.j15(baseUrl, timeoutMillis) : $super.j15.call(this, baseUrl, timeoutMillis);
328
328
  };
329
329
  protoOf(HttpConfig).toString = function () {
330
330
  return 'HttpConfig(baseUrl=' + this.baseUrl + ', timeoutMillis=' + this.timeoutMillis + ')';
@@ -356,31 +356,31 @@
356
356
  this.thresholdForUsedPool = thresholdForUsedPool;
357
357
  this.httpConfig = httpConfig;
358
358
  }
359
- protoOf(RandomOrgConfig).g20 = function () {
359
+ protoOf(RandomOrgConfig).z15 = function () {
360
360
  return this.apiKey;
361
361
  };
362
- protoOf(RandomOrgConfig).h20 = function () {
362
+ protoOf(RandomOrgConfig).a16 = function () {
363
363
  return this.poolSize;
364
364
  };
365
- protoOf(RandomOrgConfig).i20 = function () {
365
+ protoOf(RandomOrgConfig).b16 = function () {
366
366
  return this.thresholdForUsedPool;
367
367
  };
368
- protoOf(RandomOrgConfig).j20 = function () {
368
+ protoOf(RandomOrgConfig).c16 = function () {
369
369
  return this.httpConfig;
370
370
  };
371
- protoOf(RandomOrgConfig).nd = function () {
371
+ protoOf(RandomOrgConfig).sc = function () {
372
372
  return this.apiKey;
373
373
  };
374
- protoOf(RandomOrgConfig).od = function () {
374
+ protoOf(RandomOrgConfig).tc = function () {
375
375
  return this.poolSize;
376
376
  };
377
- protoOf(RandomOrgConfig).zi = function () {
377
+ protoOf(RandomOrgConfig).ei = function () {
378
378
  return this.thresholdForUsedPool;
379
379
  };
380
- protoOf(RandomOrgConfig).z1z = function () {
380
+ protoOf(RandomOrgConfig).s15 = function () {
381
381
  return this.httpConfig;
382
382
  };
383
- protoOf(RandomOrgConfig).k20 = function (apiKey, poolSize, thresholdForUsedPool, httpConfig) {
383
+ protoOf(RandomOrgConfig).d16 = function (apiKey, poolSize, thresholdForUsedPool, httpConfig) {
384
384
  return new RandomOrgConfig(apiKey, poolSize, thresholdForUsedPool, httpConfig);
385
385
  };
386
386
  protoOf(RandomOrgConfig).copy = function (apiKey, poolSize, thresholdForUsedPool, httpConfig, $super) {
@@ -388,7 +388,7 @@
388
388
  poolSize = poolSize === VOID ? this.poolSize : poolSize;
389
389
  thresholdForUsedPool = thresholdForUsedPool === VOID ? this.thresholdForUsedPool : thresholdForUsedPool;
390
390
  httpConfig = httpConfig === VOID ? this.httpConfig : httpConfig;
391
- return $super === VOID ? this.k20(apiKey, poolSize, thresholdForUsedPool, httpConfig) : $super.k20.call(this, apiKey, poolSize, thresholdForUsedPool, httpConfig);
391
+ return $super === VOID ? this.d16(apiKey, poolSize, thresholdForUsedPool, httpConfig) : $super.d16.call(this, apiKey, poolSize, thresholdForUsedPool, httpConfig);
392
392
  };
393
393
  protoOf(RandomOrgConfig).toString = function () {
394
394
  return 'RandomOrgConfig(apiKey=' + this.apiKey + ', poolSize=' + this.poolSize + ', thresholdForUsedPool=' + this.thresholdForUsedPool + ', httpConfig=' + this.httpConfig.toString() + ')';
@@ -435,31 +435,31 @@
435
435
  this.failedRequestAttempts = failedRequestAttempts;
436
436
  this.failedAttemptCooldown = failedAttemptCooldown;
437
437
  }
438
- protoOf(PoolParams).h20 = function () {
438
+ protoOf(PoolParams).a16 = function () {
439
439
  return this.poolSize;
440
440
  };
441
- protoOf(PoolParams).i20 = function () {
441
+ protoOf(PoolParams).b16 = function () {
442
442
  return this.thresholdForUsedPool;
443
443
  };
444
- protoOf(PoolParams).l20 = function () {
444
+ protoOf(PoolParams).e16 = function () {
445
445
  return this.failedRequestAttempts;
446
446
  };
447
- protoOf(PoolParams).m20 = function () {
447
+ protoOf(PoolParams).f16 = function () {
448
448
  return this.failedAttemptCooldown;
449
449
  };
450
- protoOf(PoolParams).nd = function () {
450
+ protoOf(PoolParams).sc = function () {
451
451
  return this.poolSize;
452
452
  };
453
- protoOf(PoolParams).od = function () {
453
+ protoOf(PoolParams).tc = function () {
454
454
  return this.thresholdForUsedPool;
455
455
  };
456
- protoOf(PoolParams).zi = function () {
456
+ protoOf(PoolParams).ei = function () {
457
457
  return this.failedRequestAttempts;
458
458
  };
459
- protoOf(PoolParams).n20 = function () {
459
+ protoOf(PoolParams).g16 = function () {
460
460
  return this.failedAttemptCooldown;
461
461
  };
462
- protoOf(PoolParams).o20 = function (poolSize, thresholdForUsedPool, failedRequestAttempts, failedAttemptCooldown) {
462
+ protoOf(PoolParams).h16 = function (poolSize, thresholdForUsedPool, failedRequestAttempts, failedAttemptCooldown) {
463
463
  return new PoolParams(poolSize, thresholdForUsedPool, failedRequestAttempts, failedAttemptCooldown);
464
464
  };
465
465
  protoOf(PoolParams).copy = function (poolSize, thresholdForUsedPool, failedRequestAttempts, failedAttemptCooldown, $super) {
@@ -467,7 +467,7 @@
467
467
  thresholdForUsedPool = thresholdForUsedPool === VOID ? this.thresholdForUsedPool : thresholdForUsedPool;
468
468
  failedRequestAttempts = failedRequestAttempts === VOID ? this.failedRequestAttempts : failedRequestAttempts;
469
469
  failedAttemptCooldown = failedAttemptCooldown === VOID ? this.failedAttemptCooldown : failedAttemptCooldown;
470
- return $super === VOID ? this.o20(poolSize, thresholdForUsedPool, failedRequestAttempts, failedAttemptCooldown) : $super.o20.call(this, poolSize, thresholdForUsedPool, failedRequestAttempts, new Duration(failedAttemptCooldown));
470
+ return $super === VOID ? this.h16(poolSize, thresholdForUsedPool, failedRequestAttempts, failedAttemptCooldown) : $super.h16.call(this, poolSize, thresholdForUsedPool, failedRequestAttempts, new Duration(failedAttemptCooldown));
471
471
  };
472
472
  protoOf(PoolParams).toString = function () {
473
473
  return 'PoolParams(poolSize=' + this.poolSize + ', thresholdForUsedPool=' + this.thresholdForUsedPool + ', failedRequestAttempts=' + this.failedRequestAttempts + ', failedAttemptCooldown=' + Duration__toString_impl_8d916b(this.failedAttemptCooldown) + ')';
@@ -516,7 +516,7 @@
516
516
  var $games$raspberry$card_game$random$data = $games$raspberry$card_game$random.data || ($games$raspberry$card_game$random.data = {});
517
517
  var $games$raspberry$card_game$random$data$models = $games$raspberry$card_game$random$data.models || ($games$raspberry$card_game$random$data.models = {});
518
518
  $games$raspberry$card_game$random$data$models.GameCardDecksRecord = GameCardDecksRecord;
519
- defineProp($games$raspberry$card_game$random$data$models.GameCardDecksRecord, 'Companion', Companion_getInstance_0);
519
+ defineProp($games$raspberry$card_game$random$data$models.GameCardDecksRecord, 'Companion', Companion_getInstance_0, VOID, true);
520
520
  $games$raspberry$card_game$random$data$models.GameCardDeckData = GameCardDeckData;
521
521
  var $games = _.games || (_.games = {});
522
522
  var $games$raspberry = $games.raspberry || ($games.raspberry = {});