MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / onRename

Method onRename

Source/Engine/Content/BinaryAsset.cpp:634–643  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

632#if USE_EDITOR
633
634void BinaryAsset::onRename(const StringView& newPath)
635{
636 ScopeLock lock(Locker);
637
638 // We don't support packages now
639 ASSERT(!Storage->IsPackage() && !Storage->IsReadOnly() && Storage->GetEntriesCount() == 1);
640
641 // Rename storage
642 Storage->OnRename(newPath);
643}
644
645#endif

Callers

nothing calls this directly

Calls 4

IsPackageMethod · 0.80
GetEntriesCountMethod · 0.80
IsReadOnlyMethod · 0.45
OnRenameMethod · 0.45

Tested by

no test coverage detected