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

◆ OnStoreLoad()

override bool OnStoreLoad ( ParamsReadContext ctx,
int version )
private

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

178 {
179 if ( !super.OnStoreLoad( ctx, version ) )
180 return false;
181
182 GardenBase garden = GardenBase.Cast( GetHierarchyParent() );
183
184 int slot_index = -1;
185 ctx.Read( slot_index );
186
187 Slot slot = garden.GetSlotByIndex(slot_index);
188
189 SetSlot(slot);
190
191 if ( !OnStoreLoadCustom( ctx, version ) )
192 return false;
193
194 return true;
195 }
void SetSlot(Slot slot)
Определения PlantBase.c:713
bool OnStoreLoadCustom(ParamsReadContext ctx, int version)
Определения PlantBase.c:225
Определения GardenPlot.c:2
proto bool Read(void value_in)

Перекрестные ссылки OnStoreLoadCustom(), Serializer::Read() и SetSlot().