raspberry_games_engine_helpers 1.8.436 → 1.8.437
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Kosi-Kaverit-kaverit.js +58 -58
- package/Kosi-Kodein-kodein-di.js +514 -514
- package/Kotlin-DateTime-library-kotlinx-datetime.js +1497 -1497
- package/Logic_Debertz-core.js +1027 -1024
- package/Logic_Debertz-core.js.map +1 -1
- package/Logic_Debertz-engine.d.ts +3 -2
- package/Logic_Debertz-engine.js +8974 -8836
- package/Logic_Debertz-engine.js.map +1 -1
- package/kotlin-kotlin-stdlib.js +283 -307
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlinx-io-kotlinx-io-core.js +6 -6
- package/kotlinx-serialization-kotlinx-serialization-core.js +1785 -1785
- package/kotlinx-serialization-kotlinx-serialization-core.js.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json.js +1349 -1349
- package/package.json +1 -1
- package/raspberry-cardgame-lib-core.js +53 -53
- package/raspberry-cardgame-lib-logger.js +88 -88
- package/raspberry-cardgame-lib-random.js +45 -45
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
var protoOf = kotlin_kotlin.$_$.da;
|
|
17
17
|
var VOID = kotlin_kotlin.$_$.b;
|
|
18
18
|
var getStringHashCode = kotlin_kotlin.$_$.f9;
|
|
19
|
-
var THROW_CCE = kotlin_kotlin.$_$.
|
|
19
|
+
var THROW_CCE = kotlin_kotlin.$_$.bd;
|
|
20
20
|
var initMetadataForClass = kotlin_kotlin.$_$.h9;
|
|
21
21
|
var toString = kotlin_kotlin.$_$.fa;
|
|
22
22
|
var hashCode = kotlin_kotlin.$_$.g9;
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
var emptyList = kotlin_kotlin.$_$.n5;
|
|
28
28
|
var defineProp = kotlin_kotlin.$_$.a9;
|
|
29
29
|
var Companion_getInstance = kotlin_kotlin.$_$.q3;
|
|
30
|
-
var Long = kotlin_kotlin.$_$.
|
|
30
|
+
var Long = kotlin_kotlin.$_$.xc;
|
|
31
31
|
var DurationUnit_MILLISECONDS_getInstance = kotlin_kotlin.$_$.c;
|
|
32
32
|
var toDuration = kotlin_kotlin.$_$.mc;
|
|
33
33
|
var Unit_instance = kotlin_kotlin.$_$.a4;
|
|
@@ -50,10 +50,10 @@
|
|
|
50
50
|
this.id = id;
|
|
51
51
|
this.count = count;
|
|
52
52
|
}
|
|
53
|
-
protoOf(CardDecksRequestUserData).
|
|
53
|
+
protoOf(CardDecksRequestUserData).i16 = function () {
|
|
54
54
|
return this.id;
|
|
55
55
|
};
|
|
56
|
-
protoOf(CardDecksRequestUserData).
|
|
56
|
+
protoOf(CardDecksRequestUserData).j16 = function () {
|
|
57
57
|
return this.count;
|
|
58
58
|
};
|
|
59
59
|
protoOf(CardDecksRequestUserData).sc = function () {
|
|
@@ -62,13 +62,13 @@
|
|
|
62
62
|
protoOf(CardDecksRequestUserData).tc = function () {
|
|
63
63
|
return this.count;
|
|
64
64
|
};
|
|
65
|
-
protoOf(CardDecksRequestUserData).
|
|
65
|
+
protoOf(CardDecksRequestUserData).k16 = 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.
|
|
71
|
+
return $super === VOID ? this.k16(id, count) : $super.k16.call(this, id, count);
|
|
72
72
|
};
|
|
73
73
|
protoOf(CardDecksRequestUserData).toString = function () {
|
|
74
74
|
return 'CardDecksRequestUserData(id=' + this.id + ', count=' + this.count + ')';
|
|
@@ -94,10 +94,10 @@
|
|
|
94
94
|
this.players = players;
|
|
95
95
|
this.gameId = gameId;
|
|
96
96
|
}
|
|
97
|
-
protoOf(CardDeckRequestUserData).
|
|
97
|
+
protoOf(CardDeckRequestUserData).l16 = function () {
|
|
98
98
|
return this.players;
|
|
99
99
|
};
|
|
100
|
-
protoOf(CardDeckRequestUserData).
|
|
100
|
+
protoOf(CardDeckRequestUserData).m16 = function () {
|
|
101
101
|
return this.gameId;
|
|
102
102
|
};
|
|
103
103
|
protoOf(CardDeckRequestUserData).sc = function () {
|
|
@@ -106,13 +106,13 @@
|
|
|
106
106
|
protoOf(CardDeckRequestUserData).tc = function () {
|
|
107
107
|
return this.gameId;
|
|
108
108
|
};
|
|
109
|
-
protoOf(CardDeckRequestUserData).
|
|
109
|
+
protoOf(CardDeckRequestUserData).n16 = 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.
|
|
115
|
+
return $super === VOID ? this.n16(players, gameId) : $super.n16.call(this, players, gameId);
|
|
116
116
|
};
|
|
117
117
|
protoOf(CardDeckRequestUserData).toString = function () {
|
|
118
118
|
return 'CardDeckRequestUserData(players=' + toString(this.players) + ', gameId=' + this.gameId + ')';
|
|
@@ -138,7 +138,7 @@
|
|
|
138
138
|
this.id = id;
|
|
139
139
|
this.name = name;
|
|
140
140
|
}
|
|
141
|
-
protoOf(UserInfoData).
|
|
141
|
+
protoOf(UserInfoData).i16 = function () {
|
|
142
142
|
return this.id;
|
|
143
143
|
};
|
|
144
144
|
protoOf(UserInfoData).i2 = function () {
|
|
@@ -150,13 +150,13 @@
|
|
|
150
150
|
protoOf(UserInfoData).tc = function () {
|
|
151
151
|
return this.name;
|
|
152
152
|
};
|
|
153
|
-
protoOf(UserInfoData).
|
|
153
|
+
protoOf(UserInfoData).o16 = 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.
|
|
159
|
+
return $super === VOID ? this.o16(id, name) : $super.o16.call(this, id, name);
|
|
160
160
|
};
|
|
161
161
|
protoOf(UserInfoData).toString = function () {
|
|
162
162
|
return 'UserInfoData(id=' + this.id + ', name=' + this.name + ')';
|
|
@@ -197,16 +197,16 @@
|
|
|
197
197
|
this.userData = userData;
|
|
198
198
|
this.rounds = rounds;
|
|
199
199
|
}
|
|
200
|
-
protoOf(GameCardDecksRecord).
|
|
200
|
+
protoOf(GameCardDecksRecord).p16 = function () {
|
|
201
201
|
return this.poolId;
|
|
202
202
|
};
|
|
203
|
-
protoOf(GameCardDecksRecord).
|
|
203
|
+
protoOf(GameCardDecksRecord).q16 = function () {
|
|
204
204
|
return this.signature;
|
|
205
205
|
};
|
|
206
|
-
protoOf(GameCardDecksRecord).
|
|
206
|
+
protoOf(GameCardDecksRecord).r16 = function () {
|
|
207
207
|
return this.userData;
|
|
208
208
|
};
|
|
209
|
-
protoOf(GameCardDecksRecord).
|
|
209
|
+
protoOf(GameCardDecksRecord).s16 = function () {
|
|
210
210
|
return this.rounds;
|
|
211
211
|
};
|
|
212
212
|
protoOf(GameCardDecksRecord).sc = function () {
|
|
@@ -215,13 +215,13 @@
|
|
|
215
215
|
protoOf(GameCardDecksRecord).tc = function () {
|
|
216
216
|
return this.signature;
|
|
217
217
|
};
|
|
218
|
-
protoOf(GameCardDecksRecord).
|
|
218
|
+
protoOf(GameCardDecksRecord).di = function () {
|
|
219
219
|
return this.userData;
|
|
220
220
|
};
|
|
221
|
-
protoOf(GameCardDecksRecord).
|
|
221
|
+
protoOf(GameCardDecksRecord).t16 = function () {
|
|
222
222
|
return this.rounds;
|
|
223
223
|
};
|
|
224
|
-
protoOf(GameCardDecksRecord).
|
|
224
|
+
protoOf(GameCardDecksRecord).u16 = 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.
|
|
232
|
+
return $super === VOID ? this.u16(poolId, signature, userData, rounds) : $super.u16.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,10 +261,10 @@
|
|
|
261
261
|
this.cardDeckIndex = cardDeckIndex;
|
|
262
262
|
this.cards = cards;
|
|
263
263
|
}
|
|
264
|
-
protoOf(GameCardDeckData).
|
|
264
|
+
protoOf(GameCardDeckData).v16 = function () {
|
|
265
265
|
return this.cardDeckIndex;
|
|
266
266
|
};
|
|
267
|
-
protoOf(GameCardDeckData).
|
|
267
|
+
protoOf(GameCardDeckData).w16 = function () {
|
|
268
268
|
return this.cards;
|
|
269
269
|
};
|
|
270
270
|
protoOf(GameCardDeckData).sc = function () {
|
|
@@ -273,13 +273,13 @@
|
|
|
273
273
|
protoOf(GameCardDeckData).tc = function () {
|
|
274
274
|
return this.cards;
|
|
275
275
|
};
|
|
276
|
-
protoOf(GameCardDeckData).
|
|
276
|
+
protoOf(GameCardDeckData).x16 = 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.
|
|
282
|
+
return $super === VOID ? this.x16(cardDeckIndex, cards) : $super.x16.call(this, cardDeckIndex, cards);
|
|
283
283
|
};
|
|
284
284
|
protoOf(GameCardDeckData).toString = function () {
|
|
285
285
|
return 'GameCardDeckData(cardDeckIndex=' + this.cardDeckIndex + ', cards=' + toString(this.cards) + ')';
|
|
@@ -306,10 +306,10 @@
|
|
|
306
306
|
this.baseUrl = baseUrl;
|
|
307
307
|
this.timeoutMillis = timeoutMillis;
|
|
308
308
|
}
|
|
309
|
-
protoOf(HttpConfig).
|
|
309
|
+
protoOf(HttpConfig).y16 = function () {
|
|
310
310
|
return this.baseUrl;
|
|
311
311
|
};
|
|
312
|
-
protoOf(HttpConfig).
|
|
312
|
+
protoOf(HttpConfig).z16 = function () {
|
|
313
313
|
return this.timeoutMillis;
|
|
314
314
|
};
|
|
315
315
|
protoOf(HttpConfig).sc = function () {
|
|
@@ -318,13 +318,13 @@
|
|
|
318
318
|
protoOf(HttpConfig).tc = function () {
|
|
319
319
|
return this.timeoutMillis;
|
|
320
320
|
};
|
|
321
|
-
protoOf(HttpConfig).
|
|
321
|
+
protoOf(HttpConfig).k16 = 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.
|
|
327
|
+
return $super === VOID ? this.k16(baseUrl, timeoutMillis) : $super.k16.call(this, baseUrl, timeoutMillis);
|
|
328
328
|
};
|
|
329
329
|
protoOf(HttpConfig).toString = function () {
|
|
330
330
|
return 'HttpConfig(baseUrl=' + this.baseUrl + ', timeoutMillis=' + this.timeoutMillis + ')';
|
|
@@ -356,16 +356,16 @@
|
|
|
356
356
|
this.thresholdForUsedPool = thresholdForUsedPool;
|
|
357
357
|
this.httpConfig = httpConfig;
|
|
358
358
|
}
|
|
359
|
-
protoOf(RandomOrgConfig).
|
|
359
|
+
protoOf(RandomOrgConfig).a17 = function () {
|
|
360
360
|
return this.apiKey;
|
|
361
361
|
};
|
|
362
|
-
protoOf(RandomOrgConfig).
|
|
362
|
+
protoOf(RandomOrgConfig).b17 = function () {
|
|
363
363
|
return this.poolSize;
|
|
364
364
|
};
|
|
365
|
-
protoOf(RandomOrgConfig).
|
|
365
|
+
protoOf(RandomOrgConfig).c17 = function () {
|
|
366
366
|
return this.thresholdForUsedPool;
|
|
367
367
|
};
|
|
368
|
-
protoOf(RandomOrgConfig).
|
|
368
|
+
protoOf(RandomOrgConfig).d17 = function () {
|
|
369
369
|
return this.httpConfig;
|
|
370
370
|
};
|
|
371
371
|
protoOf(RandomOrgConfig).sc = function () {
|
|
@@ -374,13 +374,13 @@
|
|
|
374
374
|
protoOf(RandomOrgConfig).tc = function () {
|
|
375
375
|
return this.poolSize;
|
|
376
376
|
};
|
|
377
|
-
protoOf(RandomOrgConfig).
|
|
377
|
+
protoOf(RandomOrgConfig).di = function () {
|
|
378
378
|
return this.thresholdForUsedPool;
|
|
379
379
|
};
|
|
380
|
-
protoOf(RandomOrgConfig).
|
|
380
|
+
protoOf(RandomOrgConfig).t16 = function () {
|
|
381
381
|
return this.httpConfig;
|
|
382
382
|
};
|
|
383
|
-
protoOf(RandomOrgConfig).
|
|
383
|
+
protoOf(RandomOrgConfig).e17 = 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.
|
|
391
|
+
return $super === VOID ? this.e17(apiKey, poolSize, thresholdForUsedPool, httpConfig) : $super.e17.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,16 +435,16 @@
|
|
|
435
435
|
this.failedRequestAttempts = failedRequestAttempts;
|
|
436
436
|
this.failedAttemptCooldown = failedAttemptCooldown;
|
|
437
437
|
}
|
|
438
|
-
protoOf(PoolParams).
|
|
438
|
+
protoOf(PoolParams).b17 = function () {
|
|
439
439
|
return this.poolSize;
|
|
440
440
|
};
|
|
441
|
-
protoOf(PoolParams).
|
|
441
|
+
protoOf(PoolParams).c17 = function () {
|
|
442
442
|
return this.thresholdForUsedPool;
|
|
443
443
|
};
|
|
444
|
-
protoOf(PoolParams).
|
|
444
|
+
protoOf(PoolParams).f17 = function () {
|
|
445
445
|
return this.failedRequestAttempts;
|
|
446
446
|
};
|
|
447
|
-
protoOf(PoolParams).
|
|
447
|
+
protoOf(PoolParams).g17 = function () {
|
|
448
448
|
return this.failedAttemptCooldown;
|
|
449
449
|
};
|
|
450
450
|
protoOf(PoolParams).sc = function () {
|
|
@@ -453,13 +453,13 @@
|
|
|
453
453
|
protoOf(PoolParams).tc = function () {
|
|
454
454
|
return this.thresholdForUsedPool;
|
|
455
455
|
};
|
|
456
|
-
protoOf(PoolParams).
|
|
456
|
+
protoOf(PoolParams).di = function () {
|
|
457
457
|
return this.failedRequestAttempts;
|
|
458
458
|
};
|
|
459
|
-
protoOf(PoolParams).
|
|
459
|
+
protoOf(PoolParams).h17 = function () {
|
|
460
460
|
return this.failedAttemptCooldown;
|
|
461
461
|
};
|
|
462
|
-
protoOf(PoolParams).
|
|
462
|
+
protoOf(PoolParams).i17 = 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.
|
|
470
|
+
return $super === VOID ? this.i17(poolSize, thresholdForUsedPool, failedRequestAttempts, failedAttemptCooldown) : $super.i17.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) + ')';
|