This should be only called on server as the selections are synced to clients in C++.
См. определение в файле GardenBase.c строка 563
564 {
566 return;
567
568 Slot slot =
m_Slots.Get( slot_index );
569
570
571 if ( slot.IsDigged() || slot.IsPlanted() )
572 {
575
576 HideSelection( str_hide );
577 ShowSelection( str_show );
578 }
579
580 if ( slot.GetFertilityState() ==
eFertlityState.FERTILIZED && slot.GetFertilityType() !=
"" )
581 {
583 }
584 else
585 {
587 }
588 }
string ToStringLen(int len)
Integer to string with fixed length, padded with zeroes.
ref array< ref Slot > m_Slots
static const string SLOT_SELECTION_COVERED_PREFIX
void SetSlotTextureDigged(int slot_index)
static const string SLOT_SELECTION_DIGGED_PREFIX
void SetSlotTextureFertilized(int slot_index, string item_type)
Перекрестные ссылки m_Slots, SetSlotTextureDigged(), SetSlotTextureFertilized(), SLOT_SELECTION_COVERED_PREFIX, SLOT_SELECTION_DIGGED_PREFIX и ToStringLen().
Используется в Fertilize(), RemoveSlot(), SlotFertilityStateUpdate(), SlotWaterStateUpdate(), SyncSlots(), UpdateTexturesOnAllSlots() и WaterAllSlots().