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

◆ GetFirePointIndex()

static int FireplaceIndoor::GetFirePointIndex ( string action_selection)
inlinestaticprotected

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

94 {
95 int index_location = action_selection.Length() - 1;
96 return action_selection.Substring( index_location, 1 ).ToInt();
97 }
proto native int Length()
Returns length of string.
proto native int ToInt()
Converts string to integer.
proto string Substring(int start, int len)
Substring of 'str' from 'start' position 'len' number of characters.

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

Используется в ActionCreateIndoorFireplace::ActionCondition() и ActionPlaceFireplaceIndoor::ActionCondition().