raspberry_games_engine_helpers 1.8.277 → 1.8.303
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 +56 -56
- package/Kosi-Kodein-kodein-di.js +488 -488
- package/Kotlin-DateTime-library-kotlinx-datetime.js +1376 -1376
- package/Logic_Debertz-core.js +1454 -1562
- package/Logic_Debertz-core.js.map +1 -1
- package/Logic_Debertz-engine.d.ts +69 -24
- package/Logic_Debertz-engine.js +14085 -16719
- package/Logic_Debertz-engine.js.map +1 -1
- package/kotlin-kotlin-stdlib.js +6 -6
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlinx-io-kotlinx-io-core.js +4 -4
- package/kotlinx-serialization-kotlinx-serialization-core.js +1813 -1813
- package/kotlinx-serialization-kotlinx-serialization-core.js.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json.js +1328 -1328
- package/package.json +1 -1
- package/raspberry-cardgame-lib-core.js +44 -43
- package/raspberry-cardgame-lib-core.js.map +1 -1
- package/raspberry-cardgame-lib-logger.js +223 -26
- package/raspberry-cardgame-lib-logger.js.map +1 -1
- package/raspberry-cardgame-lib-random.js +42 -42
|
@@ -49,10 +49,10 @@
|
|
|
49
49
|
this.id = id;
|
|
50
50
|
this.count = count;
|
|
51
51
|
}
|
|
52
|
-
protoOf(CardDecksRequestUserData).
|
|
52
|
+
protoOf(CardDecksRequestUserData).g1w = function () {
|
|
53
53
|
return this.id;
|
|
54
54
|
};
|
|
55
|
-
protoOf(CardDecksRequestUserData).
|
|
55
|
+
protoOf(CardDecksRequestUserData).f1x = function () {
|
|
56
56
|
return this.count;
|
|
57
57
|
};
|
|
58
58
|
protoOf(CardDecksRequestUserData).zc = function () {
|
|
@@ -61,13 +61,13 @@
|
|
|
61
61
|
protoOf(CardDecksRequestUserData).ad = function () {
|
|
62
62
|
return this.count;
|
|
63
63
|
};
|
|
64
|
-
protoOf(CardDecksRequestUserData).
|
|
64
|
+
protoOf(CardDecksRequestUserData).g1x = function (id, count) {
|
|
65
65
|
return new CardDecksRequestUserData(id, count);
|
|
66
66
|
};
|
|
67
67
|
protoOf(CardDecksRequestUserData).copy = function (id, count, $super) {
|
|
68
68
|
id = id === VOID ? this.id : id;
|
|
69
69
|
count = count === VOID ? this.count : count;
|
|
70
|
-
return this.
|
|
70
|
+
return this.g1x(id, count);
|
|
71
71
|
};
|
|
72
72
|
protoOf(CardDecksRequestUserData).toString = function () {
|
|
73
73
|
return 'CardDecksRequestUserData(id=' + this.id + ', count=' + this.count + ')';
|
|
@@ -93,10 +93,10 @@
|
|
|
93
93
|
this.players = players;
|
|
94
94
|
this.gameId = gameId;
|
|
95
95
|
}
|
|
96
|
-
protoOf(CardDeckRequestUserData).
|
|
96
|
+
protoOf(CardDeckRequestUserData).h1x = function () {
|
|
97
97
|
return this.players;
|
|
98
98
|
};
|
|
99
|
-
protoOf(CardDeckRequestUserData).
|
|
99
|
+
protoOf(CardDeckRequestUserData).i1x = function () {
|
|
100
100
|
return this.gameId;
|
|
101
101
|
};
|
|
102
102
|
protoOf(CardDeckRequestUserData).zc = function () {
|
|
@@ -105,13 +105,13 @@
|
|
|
105
105
|
protoOf(CardDeckRequestUserData).ad = function () {
|
|
106
106
|
return this.gameId;
|
|
107
107
|
};
|
|
108
|
-
protoOf(CardDeckRequestUserData).
|
|
108
|
+
protoOf(CardDeckRequestUserData).j1x = function (players, gameId) {
|
|
109
109
|
return new CardDeckRequestUserData(players, gameId);
|
|
110
110
|
};
|
|
111
111
|
protoOf(CardDeckRequestUserData).copy = function (players, gameId, $super) {
|
|
112
112
|
players = players === VOID ? this.players : players;
|
|
113
113
|
gameId = gameId === VOID ? this.gameId : gameId;
|
|
114
|
-
return this.
|
|
114
|
+
return this.j1x(players, gameId);
|
|
115
115
|
};
|
|
116
116
|
protoOf(CardDeckRequestUserData).toString = function () {
|
|
117
117
|
return 'CardDeckRequestUserData(players=' + toString(this.players) + ', gameId=' + this.gameId + ')';
|
|
@@ -137,7 +137,7 @@
|
|
|
137
137
|
this.id = id;
|
|
138
138
|
this.name = name;
|
|
139
139
|
}
|
|
140
|
-
protoOf(UserInfoData).
|
|
140
|
+
protoOf(UserInfoData).g1w = function () {
|
|
141
141
|
return this.id;
|
|
142
142
|
};
|
|
143
143
|
protoOf(UserInfoData).k2 = function () {
|
|
@@ -149,13 +149,13 @@
|
|
|
149
149
|
protoOf(UserInfoData).ad = function () {
|
|
150
150
|
return this.name;
|
|
151
151
|
};
|
|
152
|
-
protoOf(UserInfoData).
|
|
152
|
+
protoOf(UserInfoData).k1x = function (id, name) {
|
|
153
153
|
return new UserInfoData(id, name);
|
|
154
154
|
};
|
|
155
155
|
protoOf(UserInfoData).copy = function (id, name, $super) {
|
|
156
156
|
id = id === VOID ? this.id : id;
|
|
157
157
|
name = name === VOID ? this.name : name;
|
|
158
|
-
return this.
|
|
158
|
+
return this.k1x(id, name);
|
|
159
159
|
};
|
|
160
160
|
protoOf(UserInfoData).toString = function () {
|
|
161
161
|
return 'UserInfoData(id=' + this.id + ', name=' + this.name + ')';
|
|
@@ -196,16 +196,16 @@
|
|
|
196
196
|
this.userData = userData;
|
|
197
197
|
this.rounds = rounds;
|
|
198
198
|
}
|
|
199
|
-
protoOf(GameCardDecksRecord).
|
|
199
|
+
protoOf(GameCardDecksRecord).l1x = function () {
|
|
200
200
|
return this.poolId;
|
|
201
201
|
};
|
|
202
|
-
protoOf(GameCardDecksRecord).
|
|
202
|
+
protoOf(GameCardDecksRecord).m1x = function () {
|
|
203
203
|
return this.signature;
|
|
204
204
|
};
|
|
205
|
-
protoOf(GameCardDecksRecord).
|
|
205
|
+
protoOf(GameCardDecksRecord).n1x = function () {
|
|
206
206
|
return this.userData;
|
|
207
207
|
};
|
|
208
|
-
protoOf(GameCardDecksRecord).
|
|
208
|
+
protoOf(GameCardDecksRecord).o1x = function () {
|
|
209
209
|
return this.rounds;
|
|
210
210
|
};
|
|
211
211
|
protoOf(GameCardDecksRecord).zc = function () {
|
|
@@ -217,10 +217,10 @@
|
|
|
217
217
|
protoOf(GameCardDecksRecord).dh = function () {
|
|
218
218
|
return this.userData;
|
|
219
219
|
};
|
|
220
|
-
protoOf(GameCardDecksRecord).
|
|
220
|
+
protoOf(GameCardDecksRecord).p1x = function () {
|
|
221
221
|
return this.rounds;
|
|
222
222
|
};
|
|
223
|
-
protoOf(GameCardDecksRecord).
|
|
223
|
+
protoOf(GameCardDecksRecord).q1x = function (poolId, signature, userData, rounds) {
|
|
224
224
|
return new GameCardDecksRecord(poolId, signature, userData, rounds);
|
|
225
225
|
};
|
|
226
226
|
protoOf(GameCardDecksRecord).copy = function (poolId, signature, userData, rounds, $super) {
|
|
@@ -228,7 +228,7 @@
|
|
|
228
228
|
signature = signature === VOID ? this.signature : signature;
|
|
229
229
|
userData = userData === VOID ? this.userData : userData;
|
|
230
230
|
rounds = rounds === VOID ? this.rounds : rounds;
|
|
231
|
-
return this.
|
|
231
|
+
return this.q1x(poolId, signature, userData, rounds);
|
|
232
232
|
};
|
|
233
233
|
protoOf(GameCardDecksRecord).toString = function () {
|
|
234
234
|
return 'GameCardDecksRecord(poolId=' + this.poolId + ', signature=' + this.signature + ', userData=' + this.userData.toString() + ', rounds=' + toString(this.rounds) + ')';
|
|
@@ -260,10 +260,10 @@
|
|
|
260
260
|
this.cardDeckIndex = cardDeckIndex;
|
|
261
261
|
this.cards = cards;
|
|
262
262
|
}
|
|
263
|
-
protoOf(GameCardDeckData).
|
|
263
|
+
protoOf(GameCardDeckData).r1x = function () {
|
|
264
264
|
return this.cardDeckIndex;
|
|
265
265
|
};
|
|
266
|
-
protoOf(GameCardDeckData).
|
|
266
|
+
protoOf(GameCardDeckData).s1x = function () {
|
|
267
267
|
return this.cards;
|
|
268
268
|
};
|
|
269
269
|
protoOf(GameCardDeckData).zc = function () {
|
|
@@ -272,13 +272,13 @@
|
|
|
272
272
|
protoOf(GameCardDeckData).ad = function () {
|
|
273
273
|
return this.cards;
|
|
274
274
|
};
|
|
275
|
-
protoOf(GameCardDeckData).
|
|
275
|
+
protoOf(GameCardDeckData).t1x = function (cardDeckIndex, cards) {
|
|
276
276
|
return new GameCardDeckData(cardDeckIndex, cards);
|
|
277
277
|
};
|
|
278
278
|
protoOf(GameCardDeckData).copy = function (cardDeckIndex, cards, $super) {
|
|
279
279
|
cardDeckIndex = cardDeckIndex === VOID ? this.cardDeckIndex : cardDeckIndex;
|
|
280
280
|
cards = cards === VOID ? this.cards : cards;
|
|
281
|
-
return this.
|
|
281
|
+
return this.t1x(cardDeckIndex, cards);
|
|
282
282
|
};
|
|
283
283
|
protoOf(GameCardDeckData).toString = function () {
|
|
284
284
|
return 'GameCardDeckData(cardDeckIndex=' + this.cardDeckIndex + ', cards=' + toString(this.cards) + ')';
|
|
@@ -305,10 +305,10 @@
|
|
|
305
305
|
this.baseUrl = baseUrl;
|
|
306
306
|
this.timeoutMillis = timeoutMillis;
|
|
307
307
|
}
|
|
308
|
-
protoOf(HttpConfig).
|
|
308
|
+
protoOf(HttpConfig).u1x = function () {
|
|
309
309
|
return this.baseUrl;
|
|
310
310
|
};
|
|
311
|
-
protoOf(HttpConfig).
|
|
311
|
+
protoOf(HttpConfig).v1x = function () {
|
|
312
312
|
return this.timeoutMillis;
|
|
313
313
|
};
|
|
314
314
|
protoOf(HttpConfig).zc = function () {
|
|
@@ -317,13 +317,13 @@
|
|
|
317
317
|
protoOf(HttpConfig).ad = function () {
|
|
318
318
|
return this.timeoutMillis;
|
|
319
319
|
};
|
|
320
|
-
protoOf(HttpConfig).
|
|
320
|
+
protoOf(HttpConfig).g1x = function (baseUrl, timeoutMillis) {
|
|
321
321
|
return new HttpConfig(baseUrl, timeoutMillis);
|
|
322
322
|
};
|
|
323
323
|
protoOf(HttpConfig).copy = function (baseUrl, timeoutMillis, $super) {
|
|
324
324
|
baseUrl = baseUrl === VOID ? this.baseUrl : baseUrl;
|
|
325
325
|
timeoutMillis = timeoutMillis === VOID ? this.timeoutMillis : timeoutMillis;
|
|
326
|
-
return this.
|
|
326
|
+
return this.g1x(baseUrl, timeoutMillis);
|
|
327
327
|
};
|
|
328
328
|
protoOf(HttpConfig).toString = function () {
|
|
329
329
|
return 'HttpConfig(baseUrl=' + this.baseUrl + ', timeoutMillis=' + this.timeoutMillis + ')';
|
|
@@ -355,16 +355,16 @@
|
|
|
355
355
|
this.thresholdForUsedPool = thresholdForUsedPool;
|
|
356
356
|
this.httpConfig = httpConfig;
|
|
357
357
|
}
|
|
358
|
-
protoOf(RandomOrgConfig).
|
|
358
|
+
protoOf(RandomOrgConfig).w1x = function () {
|
|
359
359
|
return this.apiKey;
|
|
360
360
|
};
|
|
361
|
-
protoOf(RandomOrgConfig).
|
|
361
|
+
protoOf(RandomOrgConfig).x1x = function () {
|
|
362
362
|
return this.poolSize;
|
|
363
363
|
};
|
|
364
|
-
protoOf(RandomOrgConfig).
|
|
364
|
+
protoOf(RandomOrgConfig).y1x = function () {
|
|
365
365
|
return this.thresholdForUsedPool;
|
|
366
366
|
};
|
|
367
|
-
protoOf(RandomOrgConfig).
|
|
367
|
+
protoOf(RandomOrgConfig).z1x = function () {
|
|
368
368
|
return this.httpConfig;
|
|
369
369
|
};
|
|
370
370
|
protoOf(RandomOrgConfig).zc = function () {
|
|
@@ -376,10 +376,10 @@
|
|
|
376
376
|
protoOf(RandomOrgConfig).dh = function () {
|
|
377
377
|
return this.thresholdForUsedPool;
|
|
378
378
|
};
|
|
379
|
-
protoOf(RandomOrgConfig).
|
|
379
|
+
protoOf(RandomOrgConfig).p1x = function () {
|
|
380
380
|
return this.httpConfig;
|
|
381
381
|
};
|
|
382
|
-
protoOf(RandomOrgConfig).
|
|
382
|
+
protoOf(RandomOrgConfig).a1y = function (apiKey, poolSize, thresholdForUsedPool, httpConfig) {
|
|
383
383
|
return new RandomOrgConfig(apiKey, poolSize, thresholdForUsedPool, httpConfig);
|
|
384
384
|
};
|
|
385
385
|
protoOf(RandomOrgConfig).copy = function (apiKey, poolSize, thresholdForUsedPool, httpConfig, $super) {
|
|
@@ -387,7 +387,7 @@
|
|
|
387
387
|
poolSize = poolSize === VOID ? this.poolSize : poolSize;
|
|
388
388
|
thresholdForUsedPool = thresholdForUsedPool === VOID ? this.thresholdForUsedPool : thresholdForUsedPool;
|
|
389
389
|
httpConfig = httpConfig === VOID ? this.httpConfig : httpConfig;
|
|
390
|
-
return this.
|
|
390
|
+
return this.a1y(apiKey, poolSize, thresholdForUsedPool, httpConfig);
|
|
391
391
|
};
|
|
392
392
|
protoOf(RandomOrgConfig).toString = function () {
|
|
393
393
|
return 'RandomOrgConfig(apiKey=' + this.apiKey + ', poolSize=' + this.poolSize + ', thresholdForUsedPool=' + this.thresholdForUsedPool + ', httpConfig=' + this.httpConfig.toString() + ')';
|
|
@@ -436,19 +436,19 @@
|
|
|
436
436
|
this.failedRequestAttempts = failedRequestAttempts;
|
|
437
437
|
this.failedAttemptCooldown = failedAttemptCooldown;
|
|
438
438
|
}
|
|
439
|
-
protoOf(PoolParams).
|
|
439
|
+
protoOf(PoolParams).x1x = function () {
|
|
440
440
|
return this.poolSize;
|
|
441
441
|
};
|
|
442
|
-
protoOf(PoolParams).
|
|
442
|
+
protoOf(PoolParams).y1x = function () {
|
|
443
443
|
return this.thresholdForUsedPool;
|
|
444
444
|
};
|
|
445
|
-
protoOf(PoolParams).
|
|
445
|
+
protoOf(PoolParams).b1y = function () {
|
|
446
446
|
return this.requestDurationWarn;
|
|
447
447
|
};
|
|
448
|
-
protoOf(PoolParams).
|
|
448
|
+
protoOf(PoolParams).c1y = function () {
|
|
449
449
|
return this.failedRequestAttempts;
|
|
450
450
|
};
|
|
451
|
-
protoOf(PoolParams).
|
|
451
|
+
protoOf(PoolParams).d1y = function () {
|
|
452
452
|
return this.failedAttemptCooldown;
|
|
453
453
|
};
|
|
454
454
|
protoOf(PoolParams).zc = function () {
|
|
@@ -460,13 +460,13 @@
|
|
|
460
460
|
protoOf(PoolParams).dh = function () {
|
|
461
461
|
return this.requestDurationWarn;
|
|
462
462
|
};
|
|
463
|
-
protoOf(PoolParams).
|
|
463
|
+
protoOf(PoolParams).p1x = function () {
|
|
464
464
|
return this.failedRequestAttempts;
|
|
465
465
|
};
|
|
466
|
-
protoOf(PoolParams).
|
|
466
|
+
protoOf(PoolParams).e1y = function () {
|
|
467
467
|
return this.failedAttemptCooldown;
|
|
468
468
|
};
|
|
469
|
-
protoOf(PoolParams).
|
|
469
|
+
protoOf(PoolParams).f1y = function (poolSize, thresholdForUsedPool, requestDurationWarn, failedRequestAttempts, failedAttemptCooldown) {
|
|
470
470
|
return new PoolParams(poolSize, thresholdForUsedPool, requestDurationWarn, failedRequestAttempts, failedAttemptCooldown);
|
|
471
471
|
};
|
|
472
472
|
protoOf(PoolParams).copy = function (poolSize, thresholdForUsedPool, requestDurationWarn, failedRequestAttempts, failedAttemptCooldown, $super) {
|
|
@@ -475,7 +475,7 @@
|
|
|
475
475
|
requestDurationWarn = requestDurationWarn === VOID ? this.requestDurationWarn : requestDurationWarn;
|
|
476
476
|
failedRequestAttempts = failedRequestAttempts === VOID ? this.failedRequestAttempts : failedRequestAttempts;
|
|
477
477
|
failedAttemptCooldown = failedAttemptCooldown === VOID ? this.failedAttemptCooldown : failedAttemptCooldown;
|
|
478
|
-
return this.
|
|
478
|
+
return this.f1y(poolSize, thresholdForUsedPool, requestDurationWarn, failedRequestAttempts, failedAttemptCooldown);
|
|
479
479
|
};
|
|
480
480
|
protoOf(PoolParams).toString = function () {
|
|
481
481
|
return 'PoolParams(poolSize=' + this.poolSize + ', thresholdForUsedPool=' + this.thresholdForUsedPool + ', requestDurationWarn=' + this.requestDurationWarn + ', failedRequestAttempts=' + this.failedRequestAttempts + ', failedAttemptCooldown=' + Duration__toString_impl_8d916b(this.failedAttemptCooldown) + ')';
|