game_client_logic_deb 1.3.71 → 1.3.72
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-ir.js +31 -31
- package/Logic_Debertz-core.js +500 -495
- package/Logic_Debertz-core.js.map +1 -1
- package/Logic_Debertz-engine.js +6338 -6323
- package/Logic_Debertz-engine.js.map +1 -1
- package/Logic_Debertz-game_client.js +2452 -2508
- package/Logic_Debertz-game_client.js.map +1 -1
- package/package.json +1 -1
- package/uuid-js-ir.js +13 -13
package/uuid-js-ir.js
CHANGED
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
}
|
|
68
68
|
function Companion() {
|
|
69
69
|
Companion_instance = this;
|
|
70
|
-
this.
|
|
70
|
+
this.g2v_1 = listOf([until(0, 4), until(4, 6), until(6, 8), until(8, 10), until(10, 16)]);
|
|
71
71
|
}
|
|
72
72
|
Companion.$metadata$ = objectMeta('Companion');
|
|
73
73
|
var Companion_instance;
|
|
@@ -78,11 +78,11 @@
|
|
|
78
78
|
}
|
|
79
79
|
function Uuid(uuidBytes) {
|
|
80
80
|
Companion_getInstance();
|
|
81
|
-
this.
|
|
81
|
+
this.h2v_1 = uuidBytes;
|
|
82
82
|
// Inline function 'kotlin.require' call
|
|
83
83
|
var tmp$ret$0;
|
|
84
84
|
// Inline function 'kotlin.collections.count' call
|
|
85
|
-
var tmp0_count = this.
|
|
85
|
+
var tmp0_count = this.h2v_1;
|
|
86
86
|
tmp$ret$0 = tmp0_count.length;
|
|
87
87
|
var tmp1_require = tmp$ret$0 === get_UUID_BYTES();
|
|
88
88
|
// Inline function 'kotlin.contracts.contract' call
|
|
@@ -92,7 +92,7 @@
|
|
|
92
92
|
var tmp = get_UUID_BYTES();
|
|
93
93
|
var tmp$ret$1;
|
|
94
94
|
// Inline function 'kotlin.collections.count' call
|
|
95
|
-
var tmp0_count_0 = this.
|
|
95
|
+
var tmp0_count_0 = this.h2v_1;
|
|
96
96
|
tmp$ret$1 = tmp0_count_0.length;
|
|
97
97
|
tmp$ret$2 = 'Invalid UUID bytes. Expected ' + tmp + ' bytes; found ' + tmp$ret$1;
|
|
98
98
|
var message = tmp$ret$2;
|
|
@@ -100,13 +100,13 @@
|
|
|
100
100
|
}
|
|
101
101
|
freeze(this);
|
|
102
102
|
}
|
|
103
|
-
Uuid.prototype.
|
|
104
|
-
return this.
|
|
103
|
+
Uuid.prototype.i2v = function () {
|
|
104
|
+
return this.h2v_1;
|
|
105
105
|
};
|
|
106
106
|
Uuid.prototype.toString = function () {
|
|
107
107
|
var characters = charArray(get_UUID_STRING_LENGTH());
|
|
108
108
|
var charIndex = 0;
|
|
109
|
-
var tmp0_iterator = Companion_getInstance().
|
|
109
|
+
var tmp0_iterator = Companion_getInstance().g2v_1.f();
|
|
110
110
|
while (tmp0_iterator.g()) {
|
|
111
111
|
var range = tmp0_iterator.h();
|
|
112
112
|
var inductionVariable = range.j1_1;
|
|
@@ -115,7 +115,7 @@
|
|
|
115
115
|
do {
|
|
116
116
|
var i = inductionVariable;
|
|
117
117
|
inductionVariable = inductionVariable + 1 | 0;
|
|
118
|
-
var octetPair = this.
|
|
118
|
+
var octetPair = this.h2v_1[i];
|
|
119
119
|
var left = octetPair >> 4 & 15;
|
|
120
120
|
var right = octetPair & 15;
|
|
121
121
|
var tmp2 = charIndex;
|
|
@@ -137,23 +137,23 @@
|
|
|
137
137
|
Uuid.prototype.equals = function (other) {
|
|
138
138
|
var tmp;
|
|
139
139
|
if (other instanceof Uuid) {
|
|
140
|
-
tmp = contentEquals(this.
|
|
140
|
+
tmp = contentEquals(this.h2v_1, other.h2v_1);
|
|
141
141
|
} else {
|
|
142
142
|
tmp = false;
|
|
143
143
|
}
|
|
144
144
|
return tmp;
|
|
145
145
|
};
|
|
146
146
|
Uuid.prototype.hashCode = function () {
|
|
147
|
-
return contentHashCode(this.
|
|
147
|
+
return contentHashCode(this.h2v_1);
|
|
148
148
|
};
|
|
149
|
-
Uuid.prototype.
|
|
149
|
+
Uuid.prototype.j2v = function (other) {
|
|
150
150
|
var inductionVariable = 0;
|
|
151
151
|
var last = get_UUID_BYTES();
|
|
152
152
|
if (inductionVariable < last)
|
|
153
153
|
do {
|
|
154
154
|
var i = inductionVariable;
|
|
155
155
|
inductionVariable = inductionVariable + 1 | 0;
|
|
156
|
-
var compareResult = compareTo(this.
|
|
156
|
+
var compareResult = compareTo(this.h2v_1[i], other.h2v_1[i]);
|
|
157
157
|
if (!(compareResult === 0))
|
|
158
158
|
return compareResult;
|
|
159
159
|
}
|
|
@@ -161,7 +161,7 @@
|
|
|
161
161
|
return 0;
|
|
162
162
|
};
|
|
163
163
|
Uuid.prototype.g8 = function (other) {
|
|
164
|
-
return this.
|
|
164
|
+
return this.j2v(other instanceof Uuid ? other : THROW_CCE());
|
|
165
165
|
};
|
|
166
166
|
Uuid.$metadata$ = classMeta('Uuid', [Comparable]);
|
|
167
167
|
function uuid4() {
|