mirror of https://github.com/ogoun/Zero.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
576 B
22 lines
576 B
using ZeroLevel.Services.Serialization;
|
|
|
|
namespace ZeroLevel.Network.FileTransfer
|
|
{
|
|
public sealed class FileEndFrame
|
|
: IBinarySerializable, IFileTransferInfo
|
|
{
|
|
public FileTransferInfoType TransferInfoType => FileTransferInfoType.End;
|
|
public long UploadFileTaskId { get; set; }
|
|
|
|
public void Serialize(IBinaryWriter writer)
|
|
{
|
|
writer.WriteLong(this.UploadFileTaskId);
|
|
}
|
|
|
|
public void Deserialize(IBinaryReader reader)
|
|
{
|
|
this.UploadFileTaskId = reader.ReadLong();
|
|
}
|
|
}
|
|
}
|