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

◆ OnStoreLoad()

override bool OnStoreLoad ( ParamsReadContext ctx,
int version )
protected

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

130 {
131 if ( !super.OnStoreLoad(ctx, version) )
132 return false;
133
134 bool b_is_active = false;
135 if ( !ctx.Read( b_is_active ) )
136 b_is_active = false;
137
138 bool b_is_in_progress = false;
139 if ( !ctx.Read( b_is_in_progress ) )
140 b_is_in_progress = false;
141
142 if ( b_is_active )
143 {
144 SetActive();
145 }
146
147 if (b_is_in_progress && !b_is_active)
148 {
149 StartActivate(null);
150 }
151
152 return true;
153 }
void SetActive()
Определения TrapBase.c:413
void StartActivate(PlayerBase player)
Определения TrapBase.c:437
proto bool Read(void value_in)

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