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

◆ PrintSlots()

void ItemBase::PrintSlots ( )
inlineprivate

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

225 {
226 Debug.Log("PRINT ALL SLOTS FROM...");
227 Debug.Log("" + this);
228 int slots = GetInventory().GetAttachmentSlotsCount();
229 Debug.Log("Nb Slots : " + slots);
230
231 for ( int i = 0; i < slots ; i++ )
232 {
233 Slot slot = m_Slots.Get(i);
234 Debug.Log("i : " + i);
235 Debug.Log("Slot : " + slot);
236
237 float slot_fertility = slot.GetFertility();
238 float slot_fertility_usage = slot.GetFertilityMax();
239 string slot_fertility_type = slot.GetFertilityType();
240 float slot_water = slot.GetWater();
241 float slot_water_usage = slot.GetWaterUsage();
242 ItemBase slot_seed = slot.GetSeed();
243 ItemBase slot_plant = slot.GetPlant();
244 float slot_state= slot.GetState();
245 float slot_slot_Index = slot.GetSlotIndex();
246 float slot_slot_ID = slot.GetSlotId();
247 int slot_wateredState = slot.GetWateredState();
248 int slot_FertilityState = slot.GetFertilityState();
249
250 Debug.Log("Fertility : " + slot_fertility);
251 Debug.Log("Fertility Usage : " + slot_fertility_usage);
252 Debug.Log("Fertility Type : " + slot_fertility_type);
253 Debug.Log("Fertility State : " + slot_FertilityState);
254 Debug.Log("Water : " + slot_water);
255 Debug.Log("Water Usage : " + slot_water_usage);
256 Debug.Log("Watered State : " + slot_wateredState);
257 Debug.Log("Seed : " + slot_seed);
258 Debug.Log("Plant : " + slot_plant);
259 Debug.Log("State : " + slot_state);
260 Debug.Log("Slot Index : " + slot_slot_Index);
261 Debug.Log("Slot ID : " + slot_slot_ID);
262 Debug.Log("///////////////////////////");
263 }
264
265 Debug.Log("END OF ALL SLOTS FOR...");
266 Debug.Log("" + this);
267 }
class GP5GasMask extends MaskBase ItemBase
void Debug()
Определения UniversalTemperatureSource.c:349
ref array< ref Slot > m_Slots
Определения GardenBase.c:25

Перекрестные ссылки GetState(), Debug::Log() и m_Slots.