raspberry_games_server_game_logic 1.8.387 → 1.8.388
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 +53 -53
- package/Kosi-Kodein-kodein-di.js +516 -516
- package/Kotlin-DateTime-library-kotlinx-datetime.js +1389 -1389
- package/Logic_Debertz-core.js +1147 -1147
- package/Logic_Debertz-engine.js +11461 -11299
- package/Logic_Debertz-engine.js.map +1 -1
- package/Logic_Debertz-game_server.js +1087 -1076
- package/Logic_Debertz-game_server.js.map +1 -1
- package/kotlinx-coroutines-core.js +1290 -1246
- package/kotlinx-coroutines-core.js.map +1 -1
- package/ktor-ktor-client-content-negotiation.js +123 -123
- package/ktor-ktor-client-core.js +1431 -1431
- package/ktor-ktor-client-logging.js +269 -269
- package/ktor-ktor-events.js +6 -6
- package/ktor-ktor-http.js +595 -595
- package/ktor-ktor-io.js +1208 -1208
- package/ktor-ktor-serialization-kotlinx-json.js +1 -1
- package/ktor-ktor-serialization-kotlinx.js +129 -129
- package/ktor-ktor-serialization.js +64 -64
- package/ktor-ktor-utils.js +477 -477
- package/ktor-ktor-websockets.js +40 -40
- package/package.json +1 -1
- package/raspberry-cardgame-lib-core.js +157 -157
- package/raspberry-cardgame-lib-random.js +586 -586
- package/uuid.js +11 -11
package/uuid.js
CHANGED
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
}
|
|
63
63
|
function Companion() {
|
|
64
64
|
Companion_instance = this;
|
|
65
|
-
this.
|
|
65
|
+
this.r2o_1 = listOf([until(0, 4), until(4, 6), until(6, 8), until(8, 10), until(10, 16)]);
|
|
66
66
|
}
|
|
67
67
|
var Companion_instance;
|
|
68
68
|
function Companion_getInstance() {
|
|
@@ -72,12 +72,12 @@
|
|
|
72
72
|
}
|
|
73
73
|
function Uuid(uuidBytes) {
|
|
74
74
|
Companion_getInstance();
|
|
75
|
-
this.
|
|
75
|
+
this.s2o_1 = uuidBytes;
|
|
76
76
|
// Inline function 'kotlin.collections.count' call
|
|
77
77
|
// Inline function 'kotlin.require' call
|
|
78
|
-
if (!(this.
|
|
78
|
+
if (!(this.s2o_1.length === 16)) {
|
|
79
79
|
// Inline function 'kotlin.collections.count' call
|
|
80
|
-
var message = 'Invalid UUID bytes. Expected 16 bytes; found ' + this.
|
|
80
|
+
var message = 'Invalid UUID bytes. Expected 16 bytes; found ' + this.s2o_1.length;
|
|
81
81
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
82
82
|
}
|
|
83
83
|
freeze(this);
|
|
@@ -85,7 +85,7 @@
|
|
|
85
85
|
protoOf(Uuid).toString = function () {
|
|
86
86
|
var characters = charArray(36);
|
|
87
87
|
var charIndex = 0;
|
|
88
|
-
var tmp0_iterator = Companion_getInstance().
|
|
88
|
+
var tmp0_iterator = Companion_getInstance().r2o_1.l();
|
|
89
89
|
while (tmp0_iterator.m()) {
|
|
90
90
|
var range = tmp0_iterator.n();
|
|
91
91
|
var inductionVariable = range.z_1;
|
|
@@ -94,7 +94,7 @@
|
|
|
94
94
|
do {
|
|
95
95
|
var i = inductionVariable;
|
|
96
96
|
inductionVariable = inductionVariable + 1 | 0;
|
|
97
|
-
var octetPair = this.
|
|
97
|
+
var octetPair = this.s2o_1[i];
|
|
98
98
|
var left = octetPair >> 4 & 15;
|
|
99
99
|
var right = octetPair & 15;
|
|
100
100
|
var tmp2 = charIndex;
|
|
@@ -116,22 +116,22 @@
|
|
|
116
116
|
protoOf(Uuid).equals = function (other) {
|
|
117
117
|
var tmp;
|
|
118
118
|
if (other instanceof Uuid) {
|
|
119
|
-
tmp = contentEquals(this.
|
|
119
|
+
tmp = contentEquals(this.s2o_1, other.s2o_1);
|
|
120
120
|
} else {
|
|
121
121
|
tmp = false;
|
|
122
122
|
}
|
|
123
123
|
return tmp;
|
|
124
124
|
};
|
|
125
125
|
protoOf(Uuid).hashCode = function () {
|
|
126
|
-
return contentHashCode(this.
|
|
126
|
+
return contentHashCode(this.s2o_1);
|
|
127
127
|
};
|
|
128
|
-
protoOf(Uuid).
|
|
128
|
+
protoOf(Uuid).t2o = function (other) {
|
|
129
129
|
var inductionVariable = 0;
|
|
130
130
|
if (inductionVariable < 16)
|
|
131
131
|
do {
|
|
132
132
|
var i = inductionVariable;
|
|
133
133
|
inductionVariable = inductionVariable + 1 | 0;
|
|
134
|
-
var compareResult = compareTo(this.
|
|
134
|
+
var compareResult = compareTo(this.s2o_1[i], other.s2o_1[i]);
|
|
135
135
|
if (!(compareResult === 0))
|
|
136
136
|
return compareResult;
|
|
137
137
|
}
|
|
@@ -139,7 +139,7 @@
|
|
|
139
139
|
return 0;
|
|
140
140
|
};
|
|
141
141
|
protoOf(Uuid).d = function (other) {
|
|
142
|
-
return this.
|
|
142
|
+
return this.t2o(other instanceof Uuid ? other : THROW_CCE());
|
|
143
143
|
};
|
|
144
144
|
function uuid4() {
|
|
145
145
|
// Inline function 'com.benasher44.uuid.setVersion' call
|