raspberry_games_engine_helpers 1.8.404 → 1.8.406
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/Kotlin-DateTime-library-kotlinx-datetime.js +9 -9
- package/Logic_Debertz-core.js +4 -4
- package/Logic_Debertz-engine.d.ts +37 -36
- package/Logic_Debertz-engine.js +10224 -9428
- package/Logic_Debertz-engine.js.map +1 -1
- package/kotlin-kotlin-stdlib.js +6 -6
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/package.json +1 -1
- package/raspberry-cardgame-lib-logger.js +84 -84
- package/raspberry-cardgame-lib-random.js +40 -40
package/package.json
CHANGED
|
@@ -34,10 +34,10 @@
|
|
|
34
34
|
payload = payload === VOID ? null : payload;
|
|
35
35
|
var tmp;
|
|
36
36
|
if ($super === VOID) {
|
|
37
|
-
this.
|
|
37
|
+
this.i15(tag, message, payload);
|
|
38
38
|
tmp = Unit_instance;
|
|
39
39
|
} else {
|
|
40
|
-
tmp = $super.
|
|
40
|
+
tmp = $super.i15.call(this, tag, message, payload);
|
|
41
41
|
}
|
|
42
42
|
return tmp;
|
|
43
43
|
}
|
|
@@ -48,10 +48,10 @@
|
|
|
48
48
|
payload = payload === VOID ? null : payload;
|
|
49
49
|
var tmp;
|
|
50
50
|
if ($super === VOID) {
|
|
51
|
-
this.
|
|
51
|
+
this.j15(tag, message, exception, payload);
|
|
52
52
|
tmp = Unit_instance;
|
|
53
53
|
} else {
|
|
54
|
-
tmp = $super.
|
|
54
|
+
tmp = $super.j15.call(this, tag, message, exception, payload);
|
|
55
55
|
}
|
|
56
56
|
return tmp;
|
|
57
57
|
}
|
|
@@ -62,10 +62,10 @@
|
|
|
62
62
|
payload = payload === VOID ? null : payload;
|
|
63
63
|
var tmp;
|
|
64
64
|
if ($super === VOID) {
|
|
65
|
-
this.
|
|
65
|
+
this.k15(tag, message, exception, payload);
|
|
66
66
|
tmp = Unit_instance;
|
|
67
67
|
} else {
|
|
68
|
-
tmp = $super.
|
|
68
|
+
tmp = $super.k15.call(this, tag, message, exception, payload);
|
|
69
69
|
}
|
|
70
70
|
return tmp;
|
|
71
71
|
}
|
|
@@ -76,10 +76,10 @@
|
|
|
76
76
|
payload = payload === VOID ? null : payload;
|
|
77
77
|
var tmp;
|
|
78
78
|
if ($super === VOID) {
|
|
79
|
-
this.
|
|
79
|
+
this.l15(tag, message, exception, payload);
|
|
80
80
|
tmp = Unit_instance;
|
|
81
81
|
} else {
|
|
82
|
-
tmp = $super.
|
|
82
|
+
tmp = $super.l15.call(this, tag, message, exception, payload);
|
|
83
83
|
}
|
|
84
84
|
return tmp;
|
|
85
85
|
}
|
|
@@ -88,10 +88,10 @@
|
|
|
88
88
|
payload = payload === VOID ? null : payload;
|
|
89
89
|
var tmp;
|
|
90
90
|
if ($super === VOID) {
|
|
91
|
-
this.
|
|
91
|
+
this.m15(tag, message, payload);
|
|
92
92
|
tmp = Unit_instance;
|
|
93
93
|
} else {
|
|
94
|
-
tmp = $super.
|
|
94
|
+
tmp = $super.m15.call(this, tag, message, payload);
|
|
95
95
|
}
|
|
96
96
|
return tmp;
|
|
97
97
|
}
|
|
@@ -113,43 +113,43 @@
|
|
|
113
113
|
return Companion_instance;
|
|
114
114
|
}
|
|
115
115
|
function CombinedRaspberryLogger(logOutputs) {
|
|
116
|
-
this.
|
|
116
|
+
this.h15_1 = logOutputs;
|
|
117
117
|
}
|
|
118
|
-
protoOf(CombinedRaspberryLogger).
|
|
118
|
+
protoOf(CombinedRaspberryLogger).i15 = function (tag, message, payload) {
|
|
119
119
|
// Inline function 'kotlin.collections.forEach' call
|
|
120
|
-
var _iterator__ex2g4s = this.
|
|
120
|
+
var _iterator__ex2g4s = this.h15_1.l();
|
|
121
121
|
while (_iterator__ex2g4s.m()) {
|
|
122
122
|
var element = _iterator__ex2g4s.n();
|
|
123
123
|
element.d(tag, message, payload);
|
|
124
124
|
}
|
|
125
125
|
};
|
|
126
|
-
protoOf(CombinedRaspberryLogger).
|
|
126
|
+
protoOf(CombinedRaspberryLogger).j15 = function (tag, message, exception, payload) {
|
|
127
127
|
// Inline function 'kotlin.collections.forEach' call
|
|
128
|
-
var _iterator__ex2g4s = this.
|
|
128
|
+
var _iterator__ex2g4s = this.h15_1.l();
|
|
129
129
|
while (_iterator__ex2g4s.m()) {
|
|
130
130
|
var element = _iterator__ex2g4s.n();
|
|
131
131
|
element.e(tag, message, exception, payload);
|
|
132
132
|
}
|
|
133
133
|
};
|
|
134
|
-
protoOf(CombinedRaspberryLogger).
|
|
134
|
+
protoOf(CombinedRaspberryLogger).k15 = function (tag, message, exception, payload) {
|
|
135
135
|
// Inline function 'kotlin.collections.forEach' call
|
|
136
|
-
var _iterator__ex2g4s = this.
|
|
136
|
+
var _iterator__ex2g4s = this.h15_1.l();
|
|
137
137
|
while (_iterator__ex2g4s.m()) {
|
|
138
138
|
var element = _iterator__ex2g4s.n();
|
|
139
139
|
element.w(tag, message, exception, payload);
|
|
140
140
|
}
|
|
141
141
|
};
|
|
142
|
-
protoOf(CombinedRaspberryLogger).
|
|
142
|
+
protoOf(CombinedRaspberryLogger).l15 = function (tag, message, exception, payload) {
|
|
143
143
|
// Inline function 'kotlin.collections.forEach' call
|
|
144
|
-
var _iterator__ex2g4s = this.
|
|
144
|
+
var _iterator__ex2g4s = this.h15_1.l();
|
|
145
145
|
while (_iterator__ex2g4s.m()) {
|
|
146
146
|
var element = _iterator__ex2g4s.n();
|
|
147
147
|
element.v(tag, message, exception, payload);
|
|
148
148
|
}
|
|
149
149
|
};
|
|
150
|
-
protoOf(CombinedRaspberryLogger).
|
|
150
|
+
protoOf(CombinedRaspberryLogger).m15 = function (tag, message, payload) {
|
|
151
151
|
// Inline function 'kotlin.collections.forEach' call
|
|
152
|
-
var _iterator__ex2g4s = this.
|
|
152
|
+
var _iterator__ex2g4s = this.h15_1.l();
|
|
153
153
|
while (_iterator__ex2g4s.m()) {
|
|
154
154
|
var element = _iterator__ex2g4s.n();
|
|
155
155
|
element.i(tag, message, payload);
|
|
@@ -161,38 +161,38 @@
|
|
|
161
161
|
}
|
|
162
162
|
function PlatformRaspberryLogger(enabled) {
|
|
163
163
|
enabled = enabled === VOID ? true : enabled;
|
|
164
|
-
this.
|
|
164
|
+
this.p15_1 = enabled;
|
|
165
165
|
}
|
|
166
|
-
protoOf(PlatformRaspberryLogger).
|
|
167
|
-
this.
|
|
166
|
+
protoOf(PlatformRaspberryLogger).n15 = function (_set____db54di) {
|
|
167
|
+
this.p15_1 = _set____db54di;
|
|
168
168
|
};
|
|
169
|
-
protoOf(PlatformRaspberryLogger).
|
|
170
|
-
return this.
|
|
169
|
+
protoOf(PlatformRaspberryLogger).o15 = function () {
|
|
170
|
+
return this.p15_1;
|
|
171
171
|
};
|
|
172
|
-
protoOf(PlatformRaspberryLogger).
|
|
173
|
-
if (!this.
|
|
172
|
+
protoOf(PlatformRaspberryLogger).i15 = function (tag, message, payload) {
|
|
173
|
+
if (!this.p15_1)
|
|
174
174
|
return Unit_instance;
|
|
175
|
-
Logger_getInstance().
|
|
175
|
+
Logger_getInstance().t15(tag, message);
|
|
176
176
|
};
|
|
177
|
-
protoOf(PlatformRaspberryLogger).
|
|
178
|
-
if (!this.
|
|
177
|
+
protoOf(PlatformRaspberryLogger).j15 = function (tag, message, exception, payload) {
|
|
178
|
+
if (!this.p15_1)
|
|
179
179
|
return Unit_instance;
|
|
180
|
-
Logger_getInstance().
|
|
180
|
+
Logger_getInstance().u15(tag, message, exception);
|
|
181
181
|
};
|
|
182
|
-
protoOf(PlatformRaspberryLogger).
|
|
183
|
-
if (!this.
|
|
182
|
+
protoOf(PlatformRaspberryLogger).k15 = function (tag, message, exception, payload) {
|
|
183
|
+
if (!this.p15_1)
|
|
184
184
|
return Unit_instance;
|
|
185
|
-
Logger_getInstance().
|
|
185
|
+
Logger_getInstance().v15(tag, message, exception);
|
|
186
186
|
};
|
|
187
|
-
protoOf(PlatformRaspberryLogger).
|
|
188
|
-
if (!this.
|
|
187
|
+
protoOf(PlatformRaspberryLogger).l15 = function (tag, message, exception, payload) {
|
|
188
|
+
if (!this.p15_1)
|
|
189
189
|
return Unit_instance;
|
|
190
|
-
Logger_getInstance().
|
|
190
|
+
Logger_getInstance().w15(tag, message, exception);
|
|
191
191
|
};
|
|
192
|
-
protoOf(PlatformRaspberryLogger).
|
|
193
|
-
if (!this.
|
|
192
|
+
protoOf(PlatformRaspberryLogger).m15 = function (tag, message, payload) {
|
|
193
|
+
if (!this.p15_1)
|
|
194
194
|
return Unit_instance;
|
|
195
|
-
Logger_getInstance().
|
|
195
|
+
Logger_getInstance().w15(tag, message);
|
|
196
196
|
};
|
|
197
197
|
function RaspberryLogger() {
|
|
198
198
|
}
|
|
@@ -209,26 +209,26 @@
|
|
|
209
209
|
Category_NONE_instance = new Category('NONE', 1, true);
|
|
210
210
|
}
|
|
211
211
|
function generateTag($this, tag) {
|
|
212
|
-
return !($this.
|
|
212
|
+
return !($this.s15_1 == null) && !(tag == null) ? '' + $this.s15_1 + ':' + tag : tag;
|
|
213
213
|
}
|
|
214
214
|
function Category(name, ordinal, isEnabled) {
|
|
215
215
|
Enum.call(this, name, ordinal);
|
|
216
|
-
this.
|
|
216
|
+
this.z15_1 = isEnabled;
|
|
217
217
|
}
|
|
218
218
|
function Logger$loggerSource$1() {
|
|
219
|
-
this.
|
|
219
|
+
this.a16_1 = new PlatformLogger();
|
|
220
220
|
}
|
|
221
|
-
protoOf(Logger$loggerSource$1).
|
|
222
|
-
this.
|
|
221
|
+
protoOf(Logger$loggerSource$1).b16 = function (tag, msg) {
|
|
222
|
+
this.a16_1.b16(tag, msg);
|
|
223
223
|
};
|
|
224
|
-
protoOf(Logger$loggerSource$1).
|
|
225
|
-
this.
|
|
224
|
+
protoOf(Logger$loggerSource$1).c16 = function (tag, msg, exception) {
|
|
225
|
+
this.a16_1.c16(tag, msg, exception);
|
|
226
226
|
};
|
|
227
|
-
protoOf(Logger$loggerSource$1).
|
|
228
|
-
this.
|
|
227
|
+
protoOf(Logger$loggerSource$1).d16 = function (tag, msg, exception) {
|
|
228
|
+
this.a16_1.d16(tag, msg, exception);
|
|
229
229
|
};
|
|
230
|
-
protoOf(Logger$loggerSource$1).
|
|
231
|
-
this.
|
|
230
|
+
protoOf(Logger$loggerSource$1).e16 = function (tag, msg, exception) {
|
|
231
|
+
this.a16_1.e16(tag, msg, exception);
|
|
232
232
|
};
|
|
233
233
|
function Category_NONE_getInstance() {
|
|
234
234
|
Category_initEntries();
|
|
@@ -237,82 +237,82 @@
|
|
|
237
237
|
function Logger() {
|
|
238
238
|
Logger_instance = this;
|
|
239
239
|
var tmp = this;
|
|
240
|
-
tmp.
|
|
241
|
-
this.
|
|
242
|
-
this.
|
|
240
|
+
tmp.q15_1 = new Logger$loggerSource$1();
|
|
241
|
+
this.r15_1 = true;
|
|
242
|
+
this.s15_1 = null;
|
|
243
243
|
}
|
|
244
|
-
protoOf(Logger).
|
|
245
|
-
this.
|
|
244
|
+
protoOf(Logger).t15 = function (tag, message) {
|
|
245
|
+
this.f16(tag, message, Category_NONE_getInstance());
|
|
246
246
|
};
|
|
247
|
-
protoOf(Logger).
|
|
248
|
-
if (this.
|
|
247
|
+
protoOf(Logger).g16 = function (tag, message, exception, category) {
|
|
248
|
+
if (this.r15_1 && category.z15_1) {
|
|
249
249
|
if (exception == null)
|
|
250
250
|
null;
|
|
251
251
|
else {
|
|
252
252
|
printStackTrace(exception);
|
|
253
253
|
}
|
|
254
|
-
this.
|
|
254
|
+
this.q15_1.d16(generateTag(this, tag), generateMsg(message, exception), exception);
|
|
255
255
|
}
|
|
256
256
|
};
|
|
257
|
-
protoOf(Logger).
|
|
257
|
+
protoOf(Logger).v15 = function (tag, message, exception, category, $super) {
|
|
258
258
|
tag = tag === VOID ? null : tag;
|
|
259
259
|
message = message === VOID ? null : message;
|
|
260
260
|
exception = exception === VOID ? null : exception;
|
|
261
261
|
category = category === VOID ? Category_NONE_getInstance() : category;
|
|
262
262
|
var tmp;
|
|
263
263
|
if ($super === VOID) {
|
|
264
|
-
this.
|
|
264
|
+
this.g16(tag, message, exception, category);
|
|
265
265
|
tmp = Unit_instance;
|
|
266
266
|
} else {
|
|
267
|
-
tmp = $super.
|
|
267
|
+
tmp = $super.g16.call(this, tag, message, exception, category);
|
|
268
268
|
}
|
|
269
269
|
return tmp;
|
|
270
270
|
};
|
|
271
|
-
protoOf(Logger).
|
|
272
|
-
if (this.
|
|
273
|
-
this.
|
|
271
|
+
protoOf(Logger).f16 = function (tag, message, category) {
|
|
272
|
+
if (this.r15_1 && category.z15_1) {
|
|
273
|
+
this.q15_1.b16(generateTag(this, tag), message);
|
|
274
274
|
}
|
|
275
275
|
};
|
|
276
|
-
protoOf(Logger).
|
|
277
|
-
if (this.
|
|
278
|
-
this.
|
|
276
|
+
protoOf(Logger).h16 = function (tag, message, exception, category) {
|
|
277
|
+
if (this.r15_1 && category.z15_1) {
|
|
278
|
+
this.q15_1.e16(generateTag(this, tag), generateMsg(message, exception), exception);
|
|
279
279
|
}
|
|
280
280
|
};
|
|
281
|
-
protoOf(Logger).
|
|
281
|
+
protoOf(Logger).w15 = function (tag, message, exception, category, $super) {
|
|
282
282
|
tag = tag === VOID ? null : tag;
|
|
283
283
|
message = message === VOID ? null : message;
|
|
284
284
|
exception = exception === VOID ? null : exception;
|
|
285
285
|
category = category === VOID ? Category_NONE_getInstance() : category;
|
|
286
286
|
var tmp;
|
|
287
287
|
if ($super === VOID) {
|
|
288
|
-
this.
|
|
288
|
+
this.h16(tag, message, exception, category);
|
|
289
289
|
tmp = Unit_instance;
|
|
290
290
|
} else {
|
|
291
|
-
tmp = $super.
|
|
291
|
+
tmp = $super.h16.call(this, tag, message, exception, category);
|
|
292
292
|
}
|
|
293
293
|
return tmp;
|
|
294
294
|
};
|
|
295
|
-
protoOf(Logger).
|
|
296
|
-
if (this.
|
|
295
|
+
protoOf(Logger).i16 = function (tag, message, exception, category) {
|
|
296
|
+
if (this.r15_1 && category.z15_1) {
|
|
297
297
|
if (exception == null)
|
|
298
298
|
null;
|
|
299
299
|
else {
|
|
300
300
|
printStackTrace(exception);
|
|
301
301
|
}
|
|
302
|
-
this.
|
|
302
|
+
this.q15_1.c16(generateTag(this, tag), generateMsg(message, exception), exception);
|
|
303
303
|
}
|
|
304
304
|
};
|
|
305
|
-
protoOf(Logger).
|
|
305
|
+
protoOf(Logger).u15 = function (tag, message, exception, category, $super) {
|
|
306
306
|
tag = tag === VOID ? null : tag;
|
|
307
307
|
message = message === VOID ? null : message;
|
|
308
308
|
exception = exception === VOID ? null : exception;
|
|
309
309
|
category = category === VOID ? Category_NONE_getInstance() : category;
|
|
310
310
|
var tmp;
|
|
311
311
|
if ($super === VOID) {
|
|
312
|
-
this.
|
|
312
|
+
this.i16(tag, message, exception, category);
|
|
313
313
|
tmp = Unit_instance;
|
|
314
314
|
} else {
|
|
315
|
-
tmp = $super.
|
|
315
|
+
tmp = $super.i16.call(this, tag, message, exception, category);
|
|
316
316
|
}
|
|
317
317
|
return tmp;
|
|
318
318
|
};
|
|
@@ -344,22 +344,22 @@
|
|
|
344
344
|
}
|
|
345
345
|
function PlatformLogger() {
|
|
346
346
|
}
|
|
347
|
-
protoOf(PlatformLogger).
|
|
347
|
+
protoOf(PlatformLogger).b16 = function (tag, msg) {
|
|
348
348
|
console.log('D:' + getLogTag(tag) + ': ' + msg);
|
|
349
349
|
};
|
|
350
|
-
protoOf(PlatformLogger).
|
|
350
|
+
protoOf(PlatformLogger).c16 = function (tag, msg, exception) {
|
|
351
351
|
if (!(exception == null)) {
|
|
352
352
|
console.error(getLogTag(tag) + ': ' + msg + ', exception: ' + toString(exception));
|
|
353
353
|
} else {
|
|
354
354
|
console.error(getLogTag(tag) + ': ' + msg);
|
|
355
355
|
}
|
|
356
356
|
};
|
|
357
|
-
protoOf(PlatformLogger).
|
|
357
|
+
protoOf(PlatformLogger).d16 = function (tag, msg, exception) {
|
|
358
358
|
var tmp = console;
|
|
359
359
|
var tmp_0 = getLogTag(tag);
|
|
360
360
|
tmp.warn(tmp_0 + ': ' + msg + ' ' + toString_0(exception == null ? '' : exception));
|
|
361
361
|
};
|
|
362
|
-
protoOf(PlatformLogger).
|
|
362
|
+
protoOf(PlatformLogger).e16 = function (tag, msg, exception) {
|
|
363
363
|
var tmp = console;
|
|
364
364
|
var tmp_0 = getLogTag(tag);
|
|
365
365
|
tmp.log('V:' + tmp_0 + ': ' + msg + ' ' + toString_0(exception == null ? '' : exception));
|
|
@@ -376,9 +376,9 @@
|
|
|
376
376
|
protoOf(PlatformRaspberryLogger).v = v;
|
|
377
377
|
protoOf(PlatformRaspberryLogger).i = i;
|
|
378
378
|
defineProp(protoOf(PlatformRaspberryLogger), 'enabled', function () {
|
|
379
|
-
return this.
|
|
379
|
+
return this.o15();
|
|
380
380
|
}, function (value) {
|
|
381
|
-
this.
|
|
381
|
+
this.n15(value);
|
|
382
382
|
});
|
|
383
383
|
//endregion
|
|
384
384
|
//region block: init
|
|
@@ -50,10 +50,10 @@
|
|
|
50
50
|
this.id = id;
|
|
51
51
|
this.count = count;
|
|
52
52
|
}
|
|
53
|
-
protoOf(CardDecksRequestUserData).
|
|
53
|
+
protoOf(CardDecksRequestUserData).j16 = function () {
|
|
54
54
|
return this.id;
|
|
55
55
|
};
|
|
56
|
-
protoOf(CardDecksRequestUserData).
|
|
56
|
+
protoOf(CardDecksRequestUserData).k16 = 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).l16 = 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.l16(id, count) : $super.l16.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).m16 = function () {
|
|
98
98
|
return this.players;
|
|
99
99
|
};
|
|
100
|
-
protoOf(CardDeckRequestUserData).
|
|
100
|
+
protoOf(CardDeckRequestUserData).n16 = 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).o16 = 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.o16(players, gameId) : $super.o16.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).j16 = 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).p16 = 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.p16(id, name) : $super.p16.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).q16 = function () {
|
|
201
201
|
return this.poolId;
|
|
202
202
|
};
|
|
203
|
-
protoOf(GameCardDecksRecord).
|
|
203
|
+
protoOf(GameCardDecksRecord).r16 = function () {
|
|
204
204
|
return this.signature;
|
|
205
205
|
};
|
|
206
|
-
protoOf(GameCardDecksRecord).
|
|
206
|
+
protoOf(GameCardDecksRecord).s16 = function () {
|
|
207
207
|
return this.userData;
|
|
208
208
|
};
|
|
209
|
-
protoOf(GameCardDecksRecord).
|
|
209
|
+
protoOf(GameCardDecksRecord).t16 = function () {
|
|
210
210
|
return this.rounds;
|
|
211
211
|
};
|
|
212
212
|
protoOf(GameCardDecksRecord).sc = function () {
|
|
@@ -218,10 +218,10 @@
|
|
|
218
218
|
protoOf(GameCardDecksRecord).ei = function () {
|
|
219
219
|
return this.userData;
|
|
220
220
|
};
|
|
221
|
-
protoOf(GameCardDecksRecord).
|
|
221
|
+
protoOf(GameCardDecksRecord).u16 = function () {
|
|
222
222
|
return this.rounds;
|
|
223
223
|
};
|
|
224
|
-
protoOf(GameCardDecksRecord).
|
|
224
|
+
protoOf(GameCardDecksRecord).v16 = 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.v16(poolId, signature, userData, rounds) : $super.v16.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).w16 = function () {
|
|
265
265
|
return this.cardDeckIndex;
|
|
266
266
|
};
|
|
267
|
-
protoOf(GameCardDeckData).
|
|
267
|
+
protoOf(GameCardDeckData).x16 = 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).y16 = 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.y16(cardDeckIndex, cards) : $super.y16.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).z16 = function () {
|
|
310
310
|
return this.baseUrl;
|
|
311
311
|
};
|
|
312
|
-
protoOf(HttpConfig).
|
|
312
|
+
protoOf(HttpConfig).a17 = 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).l16 = 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.l16(baseUrl, timeoutMillis) : $super.l16.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).b17 = function () {
|
|
360
360
|
return this.apiKey;
|
|
361
361
|
};
|
|
362
|
-
protoOf(RandomOrgConfig).
|
|
362
|
+
protoOf(RandomOrgConfig).c17 = function () {
|
|
363
363
|
return this.poolSize;
|
|
364
364
|
};
|
|
365
|
-
protoOf(RandomOrgConfig).
|
|
365
|
+
protoOf(RandomOrgConfig).d17 = function () {
|
|
366
366
|
return this.thresholdForUsedPool;
|
|
367
367
|
};
|
|
368
|
-
protoOf(RandomOrgConfig).
|
|
368
|
+
protoOf(RandomOrgConfig).e17 = function () {
|
|
369
369
|
return this.httpConfig;
|
|
370
370
|
};
|
|
371
371
|
protoOf(RandomOrgConfig).sc = function () {
|
|
@@ -377,10 +377,10 @@
|
|
|
377
377
|
protoOf(RandomOrgConfig).ei = function () {
|
|
378
378
|
return this.thresholdForUsedPool;
|
|
379
379
|
};
|
|
380
|
-
protoOf(RandomOrgConfig).
|
|
380
|
+
protoOf(RandomOrgConfig).u16 = function () {
|
|
381
381
|
return this.httpConfig;
|
|
382
382
|
};
|
|
383
|
-
protoOf(RandomOrgConfig).
|
|
383
|
+
protoOf(RandomOrgConfig).f17 = 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.f17(apiKey, poolSize, thresholdForUsedPool, httpConfig) : $super.f17.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).c17 = function () {
|
|
439
439
|
return this.poolSize;
|
|
440
440
|
};
|
|
441
|
-
protoOf(PoolParams).
|
|
441
|
+
protoOf(PoolParams).d17 = function () {
|
|
442
442
|
return this.thresholdForUsedPool;
|
|
443
443
|
};
|
|
444
|
-
protoOf(PoolParams).
|
|
444
|
+
protoOf(PoolParams).g17 = function () {
|
|
445
445
|
return this.failedRequestAttempts;
|
|
446
446
|
};
|
|
447
|
-
protoOf(PoolParams).
|
|
447
|
+
protoOf(PoolParams).h17 = function () {
|
|
448
448
|
return this.failedAttemptCooldown;
|
|
449
449
|
};
|
|
450
450
|
protoOf(PoolParams).sc = function () {
|
|
@@ -456,10 +456,10 @@
|
|
|
456
456
|
protoOf(PoolParams).ei = function () {
|
|
457
457
|
return this.failedRequestAttempts;
|
|
458
458
|
};
|
|
459
|
-
protoOf(PoolParams).
|
|
459
|
+
protoOf(PoolParams).i17 = function () {
|
|
460
460
|
return this.failedAttemptCooldown;
|
|
461
461
|
};
|
|
462
|
-
protoOf(PoolParams).
|
|
462
|
+
protoOf(PoolParams).j17 = 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.j17(poolSize, thresholdForUsedPool, failedRequestAttempts, failedAttemptCooldown) : $super.j17.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) + ')';
|