DayZ 1.27
DayZ Explorer by KGB
 
Загрузка...
Поиск...
Не найдено

◆ Run()

override void SVNShowLogPlugin::Run ( )
inlineprivate

См. определение в файле ShowLog.c строка 7

8 {
9 ScriptEditor mod = Workbench.GetModule("ScriptEditor");
10 if (mod)
11 {
12 string file;
13 string absPath;
14 if (mod.GetCurrentFile(file) && Workbench.GetAbsolutePath(file, absPath))
15 {
16 string command = CommandLine;
17 command.Replace("$path", absPath);
18 Workbench.RunCmd(command);
19 //Print( command );
20 //Print( absPath );
21 }
22 }
23 }
string CommandLine
Определения ShowLog.c:5
proto external bool GetCurrentFile(out string filename)
proto int Replace(string sample, string replace)
Replace all occurrances of 'sample' in 'str' by 'replace'.
int[] ScriptEditor
Определения workbenchApi.c:2

Перекрестные ссылки CommandLine, Workbench::GetAbsolutePath(), ScriptEditor::GetCurrentFile(), Workbench::GetModule(), string::Replace() и Workbench::RunCmd().