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

◆ PrintSlots()

void ItemBase::PrintSlots ( )
inlineprivate

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

285 {
286 Debug.Log("PRINT ALL SLOTS FROM...");
287 Debug.Log("" + this + " | Position: " + GetPosition());
288 int slots = GetInventory().GetAttachmentSlotsCount();
289 Debug.Log("Nb Slots : " + slots);
290
291 for ( int i = 0; i < slots ; i++ )
292 {
293 Slot slot = m_Slots.Get(i);
294 Debug.Log("i : " + i);
295 Debug.Log("Slot : " + slot);
296
297 float slot_fertility = slot.GetFertility();
298 float slot_fertility_usage = slot.GetFertilityMax();
299 string slot_fertility_type = slot.GetFertilityType();
300 float slot_water = slot.GetWater();
301 float slot_water_usage = slot.GetWaterUsage();
302 ItemBase slot_seed = slot.GetSeed();
303 ItemBase slot_plant = slot.GetPlant();
304 float slot_state= slot.GetState();
305 float slot_slot_Index = slot.GetSlotIndex();
306 int slot_slot_ID = slot.GetSlotId();
307 int slot_wateredState = slot.GetWateredState();
308 int slot_FertilityState = slot.GetFertilityState();
309
310 Debug.Log("Fertility : " + slot_fertility);
311 Debug.Log("Fertility Usage : " + slot_fertility_usage);
312 Debug.Log("Fertility Type : " + slot_fertility_type);
313 Debug.Log("Fertility State : " + slot_FertilityState);
314 Debug.Log("Water : " + slot_water);
315 Debug.Log("Water Usage : " + slot_water_usage);
316 Debug.Log("Watered State : " + typename.EnumToString(eWateredState, slot_wateredState));
317 Debug.Log("Seed : " + slot_seed);
318 Debug.Log("Plant : " + slot_plant);
319 if (slot_plant && PlantBase.Cast(slot_plant))
320 PlantBase.Cast(slot_plant).PrintValues();
321 Debug.Log("State : " + slot_state);
322 Debug.Log("Slot Index : " + slot_slot_Index);
323 Debug.Log("Slot ID : " + slot_slot_ID);
324 Debug.Log("///////////////////////////");
325 }
326
327 Debug.Log("END OF ALL SLOTS FOR...");
328 Debug.Log("" + this);
329 }
class GP5GasMask extends MaskBase ItemBase
void PlantBase()
Определения PlantBase.c:54
void Debug()
Определения UniversalTemperatureSource.c:349
ref array< ref Slot > m_Slots
Определения GardenBase.c:26
class JsonUndergroundAreaTriggerData GetPosition
Определения UndergroundAreaLoader.c:9

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