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

◆ OnStoreLoad()

override bool ItemTransmitter::OnStoreLoad ( ParamsReadContext ctx,
int version )
inlineprotected

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

19 {
20 if ( !super.OnStoreLoad( ctx, version ) )
21 return false;
22
23 //--- Transmitter data ---
24 //load and set tuned frequency
25 int tuned_frequency_idx;
26 if ( !ctx.Read( tuned_frequency_idx ) )
27 {
28 SetFrequencyByIndex( 0 ); //set default
29 return false;
30 }
31 SetFrequencyByIndex( tuned_frequency_idx );
32 //---
33
34 return true;
35 }
proto bool Read(void value_in)

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