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

◆ IsTextArray()

bool PluginFileHandler::IsTextArray ( string text)
inlineprivate

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

206 {
207 if ( text.Length() > 0 && text.Substring(0, 1) == "{" )
208 {
209 if ( text.Substring(text.Length() - 1, 1) == "}" )
210 {
211 return true;
212 }
213 }
214
215 return false;
216 }
proto native int Length()
Returns length of string.
proto string Substring(int start, int len)
Substring of 'str' from 'start' position 'len' number of characters.

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

Используется в ParseTextToArray().