DayZ 1.24
Loading...
Searching...
No Matches
GardenPlot.c File Reference

Go to the source code of this file.

Classes

class  GardenBase
 
class  GardenPlotGreenhouse
 

Functions

override int GetGardenSlotsCount ()
 
override void RefreshSlots ()
 
GardenPlotGreenhouse GardenPlot EOnInit (IEntity other, int extra)
 
override void SyncSlots ()
 

Variables

class GardenPlot extends GardenBase POLYTUNNEL_SLOT_COUNT = 13
 

Function Documentation

◆ EOnInit()

GardenPlotGreenhouse GardenPlot EOnInit ( IEntity other,
int extra )

Definition at line 130 of file GardenPlot.c.

151{};

◆ GetGardenSlotsCount()

override int GetGardenSlotsCount ( )

Definition at line 125 of file GardenPlot.c.

126 {
128 }
class GardenPlot extends GardenBase POLYTUNNEL_SLOT_COUNT

References POLYTUNNEL_SLOT_COUNT.

◆ RefreshSlots()

override void RefreshSlots ( )

Definition at line 130 of file GardenPlot.c.

131 {
132 HideSelection("SeedBase_1");
133 HideSelection("SeedBase_2");
134 HideSelection("SeedBase_3");
135 HideSelection("SeedBase_4");
136 HideSelection("SeedBase_5");
137 HideSelection("SeedBase_6");
138 HideSelection("SeedBase_7");
139 HideSelection("SeedBase_8");
140 HideSelection("SeedBase_9");
141 HideSelection("SeedBase_10");
142 HideSelection("SeedBase_11");
143 HideSelection("SeedBase_12");
144 HideSelection("SeedBase_13");
145 }

Referenced by GardenBase::OnHologramBeingPlaced(), and GardenBase::OnPlacementStarted().

◆ SyncSlots()

override void SyncSlots ( )

Definition at line 153 of file GardenPlot.c.

153{};

Referenced by ItemBase::EEOnAfterLoad(), and ItemBase::OnVariablesSynchronized().

Variable Documentation

◆ POLYTUNNEL_SLOT_COUNT

class GardenPlot extends GardenBase POLYTUNNEL_SLOT_COUNT = 13

Referenced by GetGardenSlotsCount().