Sets the file path at the specified index. The maximum index is defined by the AppScaffoldPathIndex enumeration. Please see TYPE_SERVICE_ENUMERATION_UTIL.SSL in the application scripts folder for more information.
int32 SetFilePath( int32 p_nIndex, string p_sFilePath )
Parameter Type | Parameter Name | Documentation |
---|---|---|
int32 | p_nIndex | The index of the file path to set. The maximum index is defined by the AppScaffoldPathIndex enumeration. Please see TYPE_SERVICE_ENUMERATION_UTIL.SSL. |
string | p_sFilePath | The file path value such as "..\DIRECTORY1\DIRECTORY2\FILE.EXT". |
import library "app_service_console_util.ssl";
import library "type_service_select_util.ssl";
auto StrList a_slPaths;
a_slPaths.Add( ".\v0_shader.xml" );
a_slPaths.Add( ".\shader_icon.ico" );
a_slPaths.Add( ".\shader_splash_screen.bmp" );
a_slPaths.Add( ".\shader_default.box" );
a_slPaths.Add( ".\v0_scripts.xml" );
AppScaffoldNode a_oNode = LibSelect.FirstAppScaffoldNode();
for( int i = 0; i < a_oNode.GetCount(); ++i )
{
a_oNode.SetFilePath( i );
}