DayZ 1.28
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 if (!ctx.Read(slot_index))
186 return false;
187
188 Slot slot = garden.GetSlotByIndex(slot_index);
189
190 SetSlot(slot);
191
192 if ( !OnStoreLoadCustom( ctx, version ) )
193 return false;
194
195 return true;
196 }
void SetSlot(Slot slot)
Определения PlantBase.c:648
bool OnStoreLoadCustom(ParamsReadContext ctx, int version)
Определения PlantBase.c:225
Определения GardenPlot.c:2
proto bool Read(void value_in)

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