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

Method saveDataFile

Engine/source/forest/forest.cpp:365–372  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

363}
364
365void Forest::saveDataFile( const char *path )
366{
367 if ( path && !String::isEmpty(path))
368 mDataFileName = StringTable->insert( path );
369
370 if ( mData )
371 mData->write( mDataFileName );
372}
373
374DefineEngineMethod( Forest, saveDataFile, void, (const char * path), (""), "saveDataFile( [path] )" )
375{

Callers 1

DefineEngineMethodFunction · 0.80

Calls 2

insertMethod · 0.45
writeMethod · 0.45

Tested by

no test coverage detected