MCPcopy Create free account
hub / github.com/TorqueGameEngines/Torque3D / load

Method load

Engine/source/i18n/lang.cpp:77–86  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

75}
76
77bool LangFile::load(const UTF8 *filename)
78{
79 FileStream * stream;
80 if((stream = FileStream::createAndOpen( filename, Torque::FS::File::Read )) == NULL)
81 return false;
82
83 bool ret = load(stream);
84 delete stream;
85 return ret;
86}
87
88bool LangFile::load(Stream *s)
89{

Callers

nothing calls this directly

Calls 3

loadFunction · 0.85
getStatusMethod · 0.45
readLongStringMethod · 0.45

Tested by

no test coverage detected