More work on new assets system. Works given a properly constructed assets folder, no downloading yet
This commit is contained in:
@@ -15,6 +15,17 @@
|
||||
|
||||
#include "AssetsIndex.h"
|
||||
|
||||
AssetsIndex::AssetsIndex()
|
||||
{
|
||||
// TODO: leak?
|
||||
this->objects = new QMap<QString, AssetObject>();
|
||||
this->isVirtual = false;
|
||||
}
|
||||
|
||||
AssetObject::AssetObject(QString hash, qint64 size) : hash(hash), size(size)
|
||||
{
|
||||
}
|
||||
|
||||
AssetObject::AssetObject()
|
||||
{
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user