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

◆ GetSlotPosition()

vector ItemBase::GetSlotPosition ( int index)
inlineprivate

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

752 {
753 string memory_point = SLOT_MEMORY_POINT_PREFIX + (index + 1).ToStringLen(2);
754 vector pos = this.GetSelectionPositionMS( memory_point );
755
756 return this.ModelToWorld( pos );
757 }
string ToStringLen(int len)
Integer to string with fixed length, padded with zeroes.
Определения EnConvert.c:59
static const string SLOT_MEMORY_POINT_PREFIX
Определения GardenBase.c:19

Перекрестные ссылки SLOT_MEMORY_POINT_PREFIX и ToStringLen().

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