mirror of
https://github.com/esiur/esiur-dotnet.git
synced 2025-06-27 05:23:13 +00:00
Guid to UUID
This commit is contained in:
@ -119,7 +119,7 @@ class IIPPacket : Packet
|
||||
public string ResourceLink { get; set; }
|
||||
|
||||
public string ResourceName { get; set; }
|
||||
public Guid ClassId { get; set; }
|
||||
public UUID ClassId { get; set; }
|
||||
public byte MethodIndex { get; set; }
|
||||
public string MethodName { get; set; }
|
||||
public uint CallbackId { get; set; }
|
||||
@ -403,7 +403,7 @@ class IIPPacket : Packet
|
||||
if (NotEnough(offset, ends, 16))
|
||||
return -dataLengthNeeded;
|
||||
|
||||
ClassId = data.GetGuid(offset);
|
||||
ClassId = data.GetUUID(offset);
|
||||
offset += 16;
|
||||
|
||||
}
|
||||
@ -592,7 +592,7 @@ class IIPPacket : Packet
|
||||
if (NotEnough(offset, ends, 18))
|
||||
return -dataLengthNeeded;
|
||||
|
||||
ClassId = data.GetGuid(offset);//, Endian.Little);
|
||||
ClassId = data.GetUUID(offset);//, Endian.Little);
|
||||
offset += 16;
|
||||
|
||||
MethodIndex = data[offset++];
|
||||
@ -615,7 +615,7 @@ class IIPPacket : Packet
|
||||
if (NotEnough(offset, ends, 26))
|
||||
return -dataLengthNeeded;
|
||||
|
||||
ClassId = data.GetGuid(offset);
|
||||
ClassId = data.GetUUID(offset);
|
||||
offset += 16;
|
||||
|
||||
ResourceAge = data.GetUInt64(offset, Endian.Little);
|
||||
|
@ -1,4 +1,5 @@
|
||||
using System;
|
||||
using Esiur.Data;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
@ -9,9 +10,9 @@ struct IIPPacketAttachInfo
|
||||
public string Link;
|
||||
public ulong Age;
|
||||
public byte[] Content;
|
||||
public Guid ClassId;
|
||||
public UUID ClassId;
|
||||
|
||||
public IIPPacketAttachInfo(Guid classId, ulong age, string link, byte[] content)
|
||||
public IIPPacketAttachInfo(UUID classId, ulong age, string link, byte[] content)
|
||||
{
|
||||
ClassId = classId;
|
||||
Age = age;
|
||||
|
Reference in New Issue
Block a user