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

◆ GetBitFromSelectionID()

int BleedingSourcesManagerBase::GetBitFromSelectionID ( int id)
inlineprotected

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

108 {
109 CachedObjectsArrays.ARRAY_STRING.Clear();
110 m_Player.GetActionComponentNameList(id, CachedObjectsArrays.ARRAY_STRING, "fire");
111
112 for (int i = 0; i < CachedObjectsArrays.ARRAY_STRING.Count(); i++)
113 {
114 /*
115 string name = CachedObjectsArrays.ARRAY_STRING.Get(i);
116 PrintString(name);
117 */
118 int bit = GetBitFromSelectionName(CachedObjectsArrays.ARRAY_STRING.Get(i));
119 if ( bit !=0 )
120 {
121 return bit;
122 }
123 }
124 return 0;
125 }
int GetBitFromSelectionName(string name)
Определения BleedingSourcesManagerBase.c:180

Перекрестные ссылки CachedObjectsArrays::ARRAY_STRING, GetBitFromSelectionName() и m_Player.

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