diff options
author | Petr Mrázek <peterix@gmail.com> | 2013-12-10 07:12:52 +0100 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2013-12-10 07:12:52 +0100 |
commit | 3f5c46a1c4b27e82976e0067e4ec2d6abfffd9ba (patch) | |
tree | 9231f1304db15e966e1fe57c1b5b41ba26267b21 /logic/assets/AssetsUtils.h | |
parent | 8db2e5db81c91cca9291ca35ed74e632278563e6 (diff) | |
download | MultiMC-3f5c46a1c4b27e82976e0067e4ec2d6abfffd9ba.tar MultiMC-3f5c46a1c4b27e82976e0067e4ec2d6abfffd9ba.tar.gz MultiMC-3f5c46a1c4b27e82976e0067e4ec2d6abfffd9ba.tar.lz MultiMC-3f5c46a1c4b27e82976e0067e4ec2d6abfffd9ba.tar.xz MultiMC-3f5c46a1c4b27e82976e0067e4ec2d6abfffd9ba.zip |
Finish assets update for 1.7.3
Diffstat (limited to 'logic/assets/AssetsUtils.h')
-rw-r--r-- | logic/assets/AssetsUtils.h | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/logic/assets/AssetsUtils.h b/logic/assets/AssetsUtils.h index 88a3b0dc..5276d5a5 100644 --- a/logic/assets/AssetsUtils.h +++ b/logic/assets/AssetsUtils.h @@ -15,7 +15,22 @@ #pragma once -#include "AssetsIndex.h" +#include <QString> +#include <QMap> + +class AssetObject; + +struct AssetObject +{ + QString hash; + qint64 size; +}; + +struct AssetsIndex +{ + QMap<QString, AssetObject> objects; + bool isVirtual = false; +}; namespace AssetsUtils { |