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

◆ OnStoreSave()

void OnStoreSave ( ParamsWriteContext ctx)

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

693 {
694 array<int> m_SaveQueue = new array<int>;
695
696 for ( int i = 0; i < m_SymptomQueuePrimary.Count(); i++ )
697 {
698 if ( m_SymptomQueuePrimary.Get(i).IsPersistent() )
699 {
700 m_SaveQueue.Insert( m_SymptomQueuePrimary.Get(i).GetType() );
701 }
702 }
703
704 for ( i = 0; i < m_SymptomQueueSecondary.Count(); i++ )
705 {
706 if ( m_SymptomQueueSecondary.Get(i).IsPersistent() )
707 {
708 m_SaveQueue.Insert( m_SymptomQueueSecondary.Get(i).GetType() );
709 }
710 }
711
712 ctx.Write( m_SaveQueue );
713 }
ref array< ref SymptomBase > m_SymptomQueueSecondary
Определения StateManager.c:111
ref array< ref SymptomBase > m_SymptomQueuePrimary
Определения StateManager.c:110
proto bool Write(void value_out)
Result for an object found in CGame.IsBoxCollidingGeometryProxy.

Перекрестные ссылки m_SymptomQueuePrimary, m_SymptomQueueSecondary и Serializer::Write().