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

◆ OnStoreLoad()

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

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

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

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