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

◆ IsDebugLog()

bool DebugPrint::IsDebugLog ( string msg)
inlinestaticprivate

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

162 {
163 for ( int i = 0; i < MSG_COUNT; ++i )
164 {
165 if ( msg.IndexOf(s_MsgPrefix[i]) != -1 )
166 {
167 return true;
168 }
169 }
170
171 return false;
172 }
string s_MsgPrefix[MSG_COUNT]
Определения DebugPrint.c:8
const int MSG_COUNT
Определения DebugPrint.c:6
proto native int IndexOf(string sample)
Finds 'sample' in 'str'. Returns -1 when not found.

Перекрестные ссылки string::IndexOf(), MSG_COUNT и s_MsgPrefix.

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