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

Method Init

Source/Engine/Content/Storage/ContentStorageManager.cpp:228–239  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

226}
227
228bool ContentStorageService::Init()
229{
230#if USE_EDITOR
231 Files.EnsureCapacity(1024);
232#else
233 Packages.EnsureCapacity(64);
234#endif
235 StorageMap.EnsureCapacity(2048);
236 System = New<ContentStorageSystem>();
237 Engine::UpdateGraph->AddSystem(System);
238 return false;
239}
240
241void ContentStorageService::Dispose()
242{

Callers

nothing calls this directly

Calls 2

AddSystemMethod · 0.80
EnsureCapacityMethod · 0.45

Tested by

no test coverage detected