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

◆ EncodeInitScript()

string PluginConfigHandler::EncodeInitScript ( string script)
inlineprotected

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

134 {
135 script.Replace( "\"", "^" );
136 script.Replace( "\n", "$" );
137 return script;
138 }
proto int Replace(string sample, string replace)
Replace all occurrances of 'sample' in 'str' by 'replace'.

Перекрестные ссылки string::Replace().

Используется в SaveSceneObjects() и SaveScenePlayer().