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

◆ WaterAllSlots()

void ItemBase::WaterAllSlots ( )
inlineprivate

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

1082 {
1083 for (int i = 0; i < m_Slots.Count(); i++)
1084 {
1085 Slot slot = m_Slots[i];
1086 if (!slot)
1087 continue;
1088
1089 slot.SetWateredState(eWateredState.WET);
1090 UpdateSlotTexture(slot.GetSlotIndex());
1091 m_SlotWateredState |= eWateredState.WET << slot.GetSlotIndex();
1092 }
1093 }
ref array< ref Slot > m_Slots
Определения GardenBase.c:26
int m_SlotWateredState
Определения GardenBase.c:28
void UpdateSlotTexture(int slot_index)
This should be only called on server as the selections are synced to clients in C++.
Определения GardenBase.c:563

Перекрестные ссылки m_Slots, m_SlotWateredState и UpdateSlotTexture().