mirror of
https://github.com/whitechi73/OpenShamrock.git
synced 2024-08-14 13:12:17 +08:00
Shamrock
: グループファイルのハッシュ値が増加する
This commit is contained in:
parent
5ba8bd11e2
commit
dabe2ea886
@ -166,7 +166,11 @@ internal object FileSvc: BaseSvc() {
|
|||||||
modifyTime = fileInfo.uint32_modify_time.get(),
|
modifyTime = fileInfo.uint32_modify_time.get(),
|
||||||
downloadTimes = fileInfo.uint32_download_times.get(),
|
downloadTimes = fileInfo.uint32_download_times.get(),
|
||||||
uploadUin = fileInfo.uint64_uploader_uin.get(),
|
uploadUin = fileInfo.uint64_uploader_uin.get(),
|
||||||
uploadNick = fileInfo.str_uploader_name.get()
|
uploadNick = fileInfo.str_uploader_name.get(),
|
||||||
|
md5 = fileInfo.bytes_md5.get().toByteArray().toHexString(),
|
||||||
|
sha = fileInfo.bytes_sha.get().toByteArray().toHexString(),
|
||||||
|
// 根本没有
|
||||||
|
sha3 = fileInfo.bytes_sha3.get().toByteArray().toHexString(),
|
||||||
))
|
))
|
||||||
}
|
}
|
||||||
else if (file.uint32_type.get() == oidb_0x6d8.GetFileListRspBody.TYPE_FOLDER) {
|
else if (file.uint32_type.get() == oidb_0x6d8.GetFileListRspBody.TYPE_FOLDER) {
|
||||||
|
@ -27,6 +27,10 @@ data class FileInfo(
|
|||||||
@SerialName("download_times") val downloadTimes: Int,
|
@SerialName("download_times") val downloadTimes: Int,
|
||||||
@SerialName("uploader") val uploadUin: Long,
|
@SerialName("uploader") val uploadUin: Long,
|
||||||
@SerialName("upload_name") val uploadNick: String,
|
@SerialName("upload_name") val uploadNick: String,
|
||||||
|
@SerialName("sha") val sha: String,
|
||||||
|
@SerialName("sha3") val sha3: String,
|
||||||
|
@SerialName("md5") val md5: String,
|
||||||
|
|
||||||
)
|
)
|
||||||
|
|
||||||
@Serializable
|
@Serializable
|
||||||
|
Loading…
x
Reference in New Issue
Block a user