MCPcopy Create free account
hub / github.com/Illation/ETEngine / Initialize

Method Initialize

Engine/source/EtEditor/Util/EditorConfig.cpp:37–46  ·  view source on GitHub ↗

--------------------------------- EditorConfig::Initialize Load from JSON and generate derived data

Source from the content-addressed store, hash-verified

35// Load from JSON and generate derived data
36//
37void EditorConfig::Initialize()
38{
39 // try deserializing the user directory path
40 if (!(core::serialization::DeserializeFromFile(s_PointerPath, m_DirPointers)))
41 {
42 LOG("EditorConfig::Initialize > unable to deserialize directory pointers!", core::LogLevel::Error);
43 }
44
45 m_DirPointers.m_EditorUserDir = m_DirPointers.m_ProjectPath + std::string("/user_data/editor/");
46}
47
48//---------------------------------
49// EditorConfig::QueryStartScene

Callers 3

InitializeUtilitiesMethod · 0.45
OnSceneEventMethod · 0.45
InitInternalMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected