2
0
mirror of https://github.com/esiur/esiur-js.git synced 2026-03-18 15:30:38 +00:00

Guid to UUID

This commit is contained in:
2025-03-03 04:47:53 +03:00
parent 1fcde7fda6
commit 9c13c3e7ae
13 changed files with 575 additions and 379 deletions

View File

@@ -3544,7 +3544,7 @@ export default class DistributedConnection extends IStore {
this.#sendParams()
.addUint8(0x40 | IIPPacketAction.StaticCall)
.addUint32(c)
.addGuid(classId)
.addUUID(classId)
.addUint8(index)
.addUint8Array(pb)
.done();

View File

@@ -297,7 +297,7 @@ export default class IIPPacket
if (this.notEnough(offset, ends, 16))
return -this.dataLengthNeeded;
this.classId = data.getGuid(offset);
this.classId = data.getUUID(offset);
offset += 16;
}
else if (this.action == IIPPacketAction.TemplateFromResourceId)
@@ -471,7 +471,7 @@ export default class IIPPacket
if (this.notEnough(offset, ends, 18))
return -this.dataLengthNeeded;
this.classId = data.getGuid(offset);
this.classId = data.getUUID(offset);
offset += 16;
this.methodIndex = data[offset++];
@@ -495,7 +495,7 @@ export default class IIPPacket
if (this.notEnough(offset, ends, 26))
return -this.dataLengthNeeded;
this.classId = data.getGuid(offset);
this.classId = data.getUUID(offset);
offset += 16;
this.resourceAge = data.getUint64(offset);