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

Method SetName

Engine/source/EtCore/Content/Asset.cpp:100–105  ·  view source on GitHub ↗

--------------------------------- I_Asset::SetName Sets the name of an asset and generates its ID and package entry ID

Source from the content-addressed store, hash-verified

98// Sets the name of an asset and generates its ID and package entry ID
99//
100void I_Asset::SetName(std::string const& val)
101{
102 m_Name = val;
103 m_Id = m_Name.c_str();
104 m_PackageEntryId = (m_Path + m_Name).c_str();
105}
106
107//---------------------------------
108// I_Asset::SetPath

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected