TempFileElement.cs 576 B

12345678910111213141516171819202122
  1. 
  2. namespace YooAsset
  3. {
  4. internal class TempFileElement
  5. {
  6. public string TempFilePath { private set; get; }
  7. public string TempFileCRC { private set; get; }
  8. public long TempFileSize { private set; get; }
  9. /// <summary>
  10. /// 注意:原子操作对象
  11. /// </summary>
  12. public volatile int Result = 0;
  13. public TempFileElement(string filePath, string fileCRC, long fileSize)
  14. {
  15. TempFilePath = filePath;
  16. TempFileCRC = fileCRC;
  17. TempFileSize = fileSize;
  18. }
  19. }
  20. }