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

Method processArguments

Engine/source/console/consoleLogger.cpp:83–103  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

81//-----------------------------------------------------------------------------
82
83bool ConsoleLogger::processArguments( S32 argc, ConsoleValue *argv )
84{
85 if( argc == 0 )
86 return false;
87
88 bool append = false;
89
90 if (argc == 2)
91 append = argv[1].getBool();
92
93 mAppend = append;
94 mFilename = StringTable->insert( argv[0].getString() );
95
96 if( init() )
97 {
98 attach();
99 return true;
100 }
101
102 return false;
103}
104
105//-----------------------------------------------------------------------------
106

Callers

nothing calls this directly

Calls 4

initFunction · 0.70
getBoolMethod · 0.45
insertMethod · 0.45
getStringMethod · 0.45

Tested by

no test coverage detected