См. определение в файле PluginConfigHandler.c строка 281
282 {
283 int lenght = text.
Length();
284
285
287 if ( pos1 == 0 && text.
Substring(lenght - 1, 1) ==
"}" )
288 {
290 }
291
292
294
295 if ( pos1 == 0 && text.
Substring(lenght - 1, 1) ==
"\"" )
296 {
297 string string_text = text.
Substring(1, lenght - 2);
298 if ( string_text.
IndexOf(
"\"") == -1 )
299 {
301 }
302 }
303
304
306 if ( pos1 > -1 )
307 {
309 }
310
311
313 if ( lenght == 4 && pos1 > -1 )
314 {
316 }
317
318
320 if ( lenght == 5 && pos1 > -1 )
321 {
323 }
324
325
327 if ( pos1 > -1 )
328 {
330 }
331
332
334 }
const int CFG_TYPE_STRING
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.
proto native int IndexOf(string sample)
Finds 'sample' in 'str'. Returns -1 when not found.
Перекрестные ссылки CFG_TYPE_ARRAY, CFG_TYPE_BOOL, CFG_TYPE_FLOAT, CFG_TYPE_INT, CFG_TYPE_PARAM, CFG_TYPE_STRING, string::IndexOf(), string::Length() и string::Substring().
Используется в IsArray(), IsBool(), IsFloat(), IsInt(), IsParam(), IsString() и ParseText().