mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-07-01 00:57:56 -05:00
chore: add force loading of assets
This commit is contained in:
@ -54,6 +54,8 @@ public:
|
||||
XAssetInfoGeneric& operator=(const XAssetInfoGeneric& other) = default;
|
||||
XAssetInfoGeneric& operator=(XAssetInfoGeneric&& other) noexcept = default;
|
||||
|
||||
[[nodiscard]] bool IsReference() const;
|
||||
|
||||
static std::string NormalizeAssetName(std::string input);
|
||||
|
||||
asset_type_t m_type;
|
||||
@ -87,7 +89,7 @@ public:
|
||||
std::vector<scr_string_t> usedScriptStrings,
|
||||
std::vector<IndirectAssetReference> indirectAssetReferences)
|
||||
: XAssetInfoGeneric(
|
||||
type, std::move(name), static_cast<void*>(ptr), std::move(dependencies), std::move(usedScriptStrings), std::move(indirectAssetReferences))
|
||||
type, std::move(name), static_cast<void*>(ptr), std::move(dependencies), std::move(usedScriptStrings), std::move(indirectAssetReferences))
|
||||
{
|
||||
}
|
||||
|
||||
@ -99,7 +101,7 @@ public:
|
||||
std::vector<IndirectAssetReference> indirectAssetReferences,
|
||||
Zone* zone)
|
||||
: XAssetInfoGeneric(
|
||||
type, std::move(name), static_cast<void*>(ptr), std::move(dependencies), std::move(usedScriptStrings), std::move(indirectAssetReferences), zone)
|
||||
type, std::move(name), static_cast<void*>(ptr), std::move(dependencies), std::move(usedScriptStrings), std::move(indirectAssetReferences), zone)
|
||||
{
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user