MCPcopy Create free account
hub / github.com/GarageGames/Torque3D / saveObject

Function saveObject

Engine/source/console/simSerialize.cpp:152–162  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

150{
151
152bool saveObject(SimObject *obj, const char *filename)
153{
154 FileStream *stream;
155 if((stream = FileStream::createAndOpen( filename, Torque::FS::File::Write )) == NULL)
156 return false;
157
158 bool ret = saveObject(obj, stream);
159 delete stream;
160
161 return ret;
162}
163
164bool saveObject(SimObject *obj, Stream *stream)
165{

Callers 4

parseObjectMethod · 0.85
parseFileMethod · 0.85
writeObjectMethod · 0.85
simSerialize.cppFile · 0.85

Calls 3

writeStringMethod · 0.45
getClassNameMethod · 0.45
writeObjectMethod · 0.45

Tested by

no test coverage detected