mirror of
https://github.com/quasar/Quasar.git
synced 2026-10-18 13:42:45 +08:00
22 lines
435 B
C#
22 lines
435 B
C#
using ProtoBuf;
|
|
using Quasar.Common.Models;
|
|
|
|
namespace Quasar.Common.Messages
|
|
{
|
|
[ProtoContract]
|
|
public class FileTransferChunk : IMessage
|
|
{
|
|
[ProtoMember(1)]
|
|
public int Id { get; set; }
|
|
|
|
[ProtoMember(2)]
|
|
public string FilePath { get; set; }
|
|
|
|
[ProtoMember(3)]
|
|
public long FileSize { get; set; }
|
|
|
|
[ProtoMember(4)]
|
|
public FileChunk Chunk { get; set; }
|
|
}
|
|
}
|