1//************************************ bs::framework - Copyright 2018 Marko Pintera **************************************//
2//*********** Licensed under the MIT license. See LICENSE.md for full terms. This notice is not to be removed. ***********//
3#include "Resources/BsSavedResourceData.h"
4#include "Private/RTTI/BsSavedResourceDataRTTI.h"
5
6namespace bs
7{
8 SavedResourceData::SavedResourceData(const Vector<UUID>& dependencies, bool allowAsync, UINT32 compressionMethod)
9 :mDependencies(dependencies), mAllowAsync(allowAsync), mCompressionMethod(compressionMethod)
10 { }
11
12 RTTITypeBase* SavedResourceData::getRTTIStatic()
13 {
14 return SavedResourceDataRTTI::instance();
15 }
16
17 RTTITypeBase* SavedResourceData::getRTTI() const
18 {
19 return SavedResourceData::getRTTIStatic();
20 }
21}