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

Method saveDataFile

Engine/source/forest/forest.cpp:355–362  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

353}
354
355void Forest::saveDataFile( const char *path )
356{
357 if ( path && !String::isEmpty(path))
358 mDataFileName = StringTable->insert( path );
359
360 if ( mData )
361 mData->write( mDataFileName );
362}
363
364DefineConsoleMethod( Forest, saveDataFile, void, (const char * path), (""), "saveDataFile( [path] )" )
365{

Callers 3

main.csFile · 0.80
main.csFile · 0.80
DefineConsoleMethodFunction · 0.80

Calls 2

insertMethod · 0.45
writeMethod · 0.45

Tested by

no test coverage detected