Format more engine code

This commit is contained in:
Wojtek Figat
2022-06-14 20:17:00 +02:00
parent 7c923198e0
commit b49e5e9984
219 changed files with 348 additions and 1236 deletions

View File

@@ -578,7 +578,7 @@ bool AssetsCache::IsEntryValid(Entry& e)
return isValid;
}
}
// Check for json resource
// Check for json resource
else if (JsonStorageProxy::IsValidExtension(extension))
{
// Check Json storage layer

View File

@@ -40,7 +40,6 @@ DECLARE_ENUM_OPERATORS(AssetsCacheFlags);
class FLAXENGINE_API AssetsCache
{
public:
/// <summary>
/// The registry entry structure.
/// </summary>
@@ -75,7 +74,6 @@ public:
typedef Dictionary<String, Guid> PathsMapping;
private:
bool _isDirty;
CriticalSection _locker;
Registry _registry;
@@ -83,14 +81,12 @@ private:
String _path;
public:
/// <summary>
/// Initializes a new instance of the <see cref="AssetsCache"/> class.
/// </summary>
AssetsCache();
public:
/// <summary>
/// Gets amount of registered assets
/// </summary>
@@ -104,7 +100,6 @@ public:
}
public:
/// <summary>
/// Init registry
/// </summary>
@@ -127,7 +122,6 @@ public:
static bool Save(const StringView& path, const Registry& entries, const PathsMapping& pathsMapping, const AssetsCacheFlags flags = AssetsCacheFlags::None);
public:
/// <summary>
/// Finds the asset path by id. In editor it returns the actual asset path, at runtime it returns the mapped asset path.
/// </summary>