2025-01-09 11:31:04 +08:00
|
|
|
|
|
|
|
|
|
namespace YooAsset
|
|
|
|
|
{
|
|
|
|
|
internal class TempFileElement
|
|
|
|
|
{
|
|
|
|
|
public string TempFilePath { private set; get; }
|
2025-09-10 16:04:39 +08:00
|
|
|
|
public uint TempFileCRC { private set; get; }
|
2025-01-09 11:31:04 +08:00
|
|
|
|
public long TempFileSize { private set; get; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 注意:原子操作对象
|
|
|
|
|
/// </summary>
|
|
|
|
|
public volatile int Result = 0;
|
|
|
|
|
|
2025-09-10 16:04:39 +08:00
|
|
|
|
public TempFileElement(string filePath, uint fileCRC, long fileSize)
|
2025-01-09 11:31:04 +08:00
|
|
|
|
{
|
|
|
|
|
TempFilePath = filePath;
|
|
|
|
|
TempFileCRC = fileCRC;
|
|
|
|
|
TempFileSize = fileSize;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|